| Package | Description |
|---|---|
| org.jscience.mathematics.vector |
| Modifier and Type | Method and Description |
|---|---|
SparseVector<F> |
SparseVector.copy() |
SparseVector<F> |
SparseMatrix.getColumn(int j) |
SparseVector<F> |
SparseMatrix.getDiagonal() |
SparseVector<F> |
SparseMatrix.getRow(int i) |
SparseVector<F> |
SparseVector.opposite() |
SparseVector<F> |
SparseVector.plus(Vector<F> that) |
SparseVector<F> |
SparseVector.times(F k) |
SparseVector<F> |
SparseMatrix.times(Vector<F> v) |
static <F extends Field<F>> |
SparseVector.valueOf(int dimension,
F zero,
int i,
F element)
Returns a sparse vector having a single element at the specified index.
|
static <F extends Field<F>> |
SparseVector.valueOf(int dimension,
F zero,
Map<javolution.util.Index,F> elements)
Returns a sparse vector from the specified index to element mapping.
|
static <F extends Field<F>> |
SparseVector.valueOf(Vector<F> that,
F zero)
Returns a sparse vector equivalent to the specified vector but with
the zero elements removed removed using a default object equality
comparator.
|
static <F extends Field<F>> |
SparseVector.valueOf(Vector<F> that,
F zero,
javolution.util.FastComparator<? super F> comparator)
Returns a sparse vector equivalent to the specified vector but with
the zero elements removed using the specified object equality comparator.
|
SparseVector<F> |
SparseMatrix.vectorization() |
| Modifier and Type | Method and Description |
|---|---|
static <F extends Field<F>> |
SparseMatrix.valueOf(SparseVector<F>... rows)
Returns a sparse matrix holding the specified row vectors
(column vectors if
transposed). |
| Modifier and Type | Method and Description |
|---|---|
static <F extends Field<F>> |
SparseMatrix.valueOf(List<SparseVector<F>> rows)
Returns a sparse matrix holding the row vectors from the specified
collection (column vectors if
transposed). |