| Package | Description |
|---|---|
| mikera.vectorz | |
| mikera.vectorz.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
AVector.addMultiple(SparseIndexedVector src,
double factor)
Adds a scaled multiple of a sparse indexed vector to this vector
|
| Modifier and Type | Method and Description |
|---|---|
SparseIndexedVector |
SparseIndexedVector.clone() |
SparseIndexedVector |
SparseImmutableVector.clone() |
SparseIndexedVector |
SparseHashedVector.clone() |
SparseIndexedVector |
ASparseIndexedVector.cloneIncludingIndices(int[] ixs)
Create a clone of this sparse indexed vector including the new indexes specified
Intended to allow fast subsequent modification
|
static SparseIndexedVector |
SparseIndexedVector.create(ASparseVector source) |
static SparseIndexedVector |
SparseIndexedVector.create(AVector source)
Creates a SparseIndexedVector from the given vector, ignoring the zeros
in the source.
|
static SparseIndexedVector |
SparseIndexedVector.create(double[] values)
Creates a SparseIndexedVector from an array of double values
|
static SparseIndexedVector |
SparseIndexedVector.create(int length,
Index index,
AVector data)
Creates a SparseIndexedVector using the given sorted Index to identify
the indexes of non-zero values, and a dense vector to specify all the
non-zero element values
|
static SparseIndexedVector |
SparseIndexedVector.create(int length,
Index index,
double[] data)
Creates a SparseIndexedVector using the given sorted Index to identify
the indexes of non-zero values, and a double[] array to specify all the
non-zero element values
|
static SparseIndexedVector |
SparseIndexedVector.create(Iterable<?> iterable)
Creates a SparseIndexedVector from the specified Iterable object
|
static SparseIndexedVector |
SparseIndexedVector.create(Iterator<?> iterator)
Creates a SparseIndexedVector from the specified Iterator object
|
static SparseIndexedVector |
SparseIndexedVector.create(Object o)
Creates a SparseIndexedVector from the source object
|
static SparseIndexedVector |
SparseIndexedVector.create(Object[] values)
Creates a SparseIndexedVector from the source object array
|
static SparseIndexedVector |
SparseIndexedVector.create(SparseHashedVector source) |
static SparseIndexedVector |
SparseIndexedVector.createLength(int length) |
SparseIndexedVector |
SparseIndexedVector.exactClone() |
SparseIndexedVector |
SparseIndexedVector.multiplyCopy(double factor) |
SparseIndexedVector |
SparseImmutableVector.mutable() |
SparseIndexedVector |
SparseIndexedVector.sparseClone() |
SparseIndexedVector |
SparseImmutableVector.sparseClone() |
SparseIndexedVector |
SparseHashedVector.sparseClone() |
SparseIndexedVector |
SingleElementVector.sparseClone() |
SparseIndexedVector |
GrowableIndexedVector.sparseClone() |
SparseIndexedVector |
AxisVector.sparseClone() |
SparseIndexedVector |
SparseIndexedVector.toSparseIndexedVector() |
SparseIndexedVector |
ISparseVector.toSparseIndexedVector()
Coerces this vector to a SparseIndexedVector.
|
SparseIndexedVector |
GrowableIndexedVector.toSparseIndexedVector() |
SparseIndexedVector |
ASparseVector.toSparseIndexedVector() |
static SparseIndexedVector |
SparseIndexedVector.wrap(int length,
Index index,
double[] data)
Creates a SparseIndexedVector with the specified index and data values.
|
static SparseIndexedVector |
SparseIndexedVector.wrap(int length,
int[] indices,
double[] data)
Creates a SparseIndexedVector with the specified index and data values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SparseIndexedVector.addMultiple(SparseIndexedVector v,
double factor) |
Copyright © 2016. All rights reserved.