float (Q74786)

From MaRDI portal
32-Bit Floats
Language Label Description Also known as
English
float
32-Bit Floats

    Statements

    0 references
    0.3-1
    16 February 2023
    0 references
    0.1-1
    30 November 2017
    0 references
    0.2-0
    6 August 2018
    0 references
    0.2-1
    7 December 2018
    0 references
    0.2-2
    26 February 2019
    0 references
    0.2-3
    31 May 2019
    0 references
    0.2-4
    22 April 2020
    0 references
    0.2-6.1
    14 March 2022
    0 references
    0.2-6
    20 September 2021
    0 references
    0.3-0
    8 April 2022
    0 references
    0.3-2
    10 December 2023
    0 references
    0 references
    0 references
    10 December 2023
    0 references
    R comes with a suite of utilities for linear algebra with "numeric" (double precision) vectors/matrices. However, sometimes single precision (or less!) is more than enough for a particular task. This package extends R's linear algebra facilities to include 32-bit float (single precision) data. Float vectors/matrices have half the precision of their "numeric"-type counterparts but are generally faster to numerically operate on, for a performance vs accuracy trade-off. The internal representation is an S4 class, which allows us to keep the syntax identical to that of base R's. Interaction between floats and base types for binary operators is generally possible; in these cases, type promotion always defaults to the higher precision. The package ships with copies of the single precision 'BLAS' and 'LAPACK', which are automatically built in the event they are not available on the system.
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references