reduce_to_sparse_matrix: reduce_to_sparse_matrix

Description Usage Arguments Value

Description

Convert a sparse tensor X into the sparse matrix format.

Usage

1

Arguments

X

X has attributes $i, $j, $v, $nrow, $ncol, $dimnames

Value

Output X has the same attributes as the input X, But $i and $j are forced to be in vector instead of matrix, and $nrow and $ncol are forced to be scalars instead of vectors.


namgillee/BTTSoftImpute documentation built on July 2, 2019, 8:35 p.m.