Description Usage Arguments Details Value Author(s) See Also Examples
User friendly construction sparse vectors,
i.e., objects inheriting from class
sparseVector
, from indices and values of its
non-zero entries.
1 | sparseVector(x, i, length)
|
x |
vector of the non zero entries. |
i |
integer vector (of the same length as |
length |
length of the sparse vector. |
zero entries in x
are dropped automatically, analogously as
drop0()
acts on sparse matrices.
a sparse vector, i.e., inheriting from class
sparseVector
.
Martin Maechler
sparseMatrix()
constructor for sparse matrices;
the class sparseVector
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.