Croddproducts.
# S4 method for Mat crossprod(x, y = NULL)# S4 method for Mat tcrossprod(x, y = NULL)
# S4 method for Mat tcrossprod(x, y = NULL)
A float vector/matrix.
Either NULL, or a numeric/float matrix.
NULL
A float matrix (unless y is numeric; see details section).
y
If y is a numeric matrix, then x will be promoted to a numeric matrix, and the return will therefore be numeric (not float).
x
# NOT RUN { library(float) s = flrunif(10, 3) crossprod(s) tcrossprod(s) # }
Run the code above in your browser using DataCamp Workspace