crossprod {proxyC} | R Documentation |
Cross-product of large sparse matrices
Description
Compute the (transposed) cross-product of large sparse matrices using the same
infrastructure as simil()
and dist()
.
Usage
crossprod(x, y = NULL, min_prod = NULL, digits = 14)
tcrossprod(x, y = NULL, min_prod = NULL, digits = 14)
Arguments
x |
a base::matrix or Matrix::Matrix object. Dense matrices are covered to the Matrix::CsparseMatrix internally. |
y |
if a base::matrix or Matrix::Matrix object is provided, proximity
between documents or features in |
min_prod |
the minimum product to be recorded. |
digits |
determines rounding of small values towards zero. Use primarily to correct floating point errors. Rounding is performed in C++ in a similar way as base::zapsmall. |
[Package proxyC version 0.5.2 Index]