A collection of Rfast functions for data analysis. Note 1: The vast majority of the functions accept matrices only, not data.frames. Note 2: Do not have matrices or vectors with have missing data (i.e NAs). We do no check about them and C++ internally transforms them into zeros (0), so you may get wrong results. Note 3: In general, make sure you give the correct input, in order to get the correct output. We do no checks and this is one of the many reasons we are fast.
139
stars
19
forks
source link
Feature request: faster crossprod and tcrossprod #10
It would be nice to allow transposition to be handled in mat.mult variants so one doesn't have to inefficiently do mat.mult(x, t(y)) or mat.mult(t(x), y)as for large matrices t() can be quite inefficient and a bottleneck for mat.mult.
It would be nice to allow transposition to be handled in
mat.mult
variants so one doesn't have to inefficiently domat.mult(x, t(y))
ormat.mult(t(x), y)
as for large matricest()
can be quite inefficient and a bottleneck format.mult
.