{"repo":"wrathematics/float","free":true,"listed":false,"github":"https://github.com/wrathematics/float","clone":"git clone https://github.com/wrathematics/float.git","description":"Single precision (float) matrices for R.","language":"Fortran","stars":44,"topics":["r","matrix","linear-algebra","hpc","float-matrix"],"license":null,"category":"chat-messaging","readme_excerpt":"float Version: 0.3-1 License: BSD 2-Clause Project home : https://github.com/wrathematics/float Bug reports : https://github.com/wrathematics/float/issues float is a single precision (aka float) matrix framework for R. Base R has no single precision type. Its \"numeric\" vectors/matrices are double precision (or possibly integer, but you know what I mean). Floats have half the precision of double precision data, for a pretty obvious performance vs accuracy tradeoff. A matrix of floats should use about half as much memory as a matrix of doubles, and your favorite matrix routines will generally compute about twice as fast on them as well. However, the results will not be as accurate, and are much more prone to roundoff error/mass cancellation issues. Statisticians have a habit of over-hyping the dangers of roundoff error in this author's opinion. If your data is well-conditioned, then using floats is \"probably\" fine for many applications. ⚠️ WARNING ⚠️ type promotion always defaults to the higher precision. So if a float matrix operates with an integer matrix, the integer matrix will be cast to a float first. Likewise if a float matrix operates with a double matrix, the float will be cast to a double first. Similarly, any float matrix that is explicitly converted to a \"regular\" matrix will be stored in double precision. Installation The package requires the single precision BLAS/LAPACK routines which are not included in the default libRblas and libRlapack shipped from CRAN. If yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/wrathematics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wrathematics/float/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}