Package | Description |
---|---|
librec.data |
Modifier and Type | Method and Description |
---|---|
SparseVector |
SparseMatrix.column(int col)
get a col sparse vector of a matrix
|
SparseVector |
SymmMatrix.row(int row)
Retrieve a complete row of similar items
|
SparseVector |
SparseMatrix.row(int row)
get a row sparse vector of a matrix
|
SparseVector |
SparseMatrix.row(int row,
int except)
get a row sparse vector of a matrix
|
Modifier and Type | Method and Description |
---|---|
double |
SparseVector.inner(SparseVector vec) |
double |
DenseVector.inner(SparseVector vec)
Do vector operation:
a^t * b |
Constructor and Description |
---|
SparseVector(SparseVector sv)
Construct a sparse vecto by deeply copying another vector
|