| Package | Description |
|---|---|
| mikera.arrayz | |
| mikera.arrayz.impl | |
| mikera.matrixx | |
| mikera.matrixx.impl | |
| mikera.transformz | |
| mikera.transformz.impl | |
| mikera.vectorz | |
| mikera.vectorz.impl |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Array.asVector() |
Vector |
INDArray.toVector()
Coerces the array into a flattened dense Vector, in row-major order
May return the same array if it is already a Vector instance
|
Vector |
Array.toVector() |
| Modifier and Type | Method and Description |
|---|---|
static NDArray |
NDArray.wrap(Vector v) |
static Array |
Array.wrap(Vector v)
Wraps the underlying data from a dense Vector as an array with the same shape
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
AbstractArray.toVector() |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Matrix.asVector() |
Vector |
Matrix.innerProduct(AVector a) |
Vector |
IMatrix.innerProduct(Vector source)
Transforms a dense source Vector using matrix multiplication (inner product).
|
Vector |
AMatrix.innerProduct(Vector v) |
Vector |
Matrix22.toVector() |
Vector |
Matrix.toVector() |
Vector |
AMatrix.toVector() |
| Modifier and Type | Method and Description |
|---|---|
Vector |
IMatrix.innerProduct(Vector source)
Transforms a dense source Vector using matrix multiplication (inner product).
|
Vector |
AMatrix.innerProduct(Vector v) |
void |
Matrix.transform(Vector source,
Vector dest) |
void |
AMatrix.transform(Vector source,
Vector dest) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
DiagonalMatrix.getLeadingDiagonal() |
Vector |
ImmutableMatrix.innerProduct(AVector a) |
Vector |
SparseColumnMatrix.innerProduct(Vector a) |
Vector |
RowMatrix.toVector() |
Vector |
ImmutableMatrix.toVector() |
Vector |
ColumnMatrix.toVector() |
| Modifier and Type | Method and Description |
|---|---|
Vector |
SparseColumnMatrix.innerProduct(Vector a) |
void |
ZeroMatrix.transform(Vector input,
Vector output) |
void |
PermutationMatrix.transform(Vector source,
Vector dest) |
void |
ImmutableMatrix.transform(Vector source,
Vector dest) |
void |
DiagonalMatrix.transform(Vector source,
Vector dest) |
void |
BandedMatrix.transform(Vector source,
Vector dest) |
void |
AVectorMatrix.transform(Vector source,
Vector dest) |
void |
ADiagonalMatrix.transform(Vector source,
Vector dest) |
static DiagonalMatrix |
DiagonalMatrix.wrap(Vector data) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
ATransform.transform(Vector v)
Transforms a vector, returning a new transformed vector
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
ATransform.transform(Vector v)
Transforms a vector, returning a new transformed vector
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
IdentityTranslation.transform(AVector source) |
Vector |
ConstantTransform3.transform(AVector source) |
| Modifier and Type | Field and Description |
|---|---|
static Vector |
Vector.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Vector.clone() |
static Vector |
Vector.create(AIndex a) |
static Vector |
Vector.create(ArrayList<Number> al) |
static Vector |
Vector.create(AVector a) |
static Vector |
Vector.create(double[] data)
Creates a new Vector from the given double[] data.
|
static Vector |
Vector.create(double[] data,
int start,
int length)
Creates a new Vector from the given double[] data.
|
static Vector |
Vector.create(INDArray a) |
static Vector |
Vector.create(Iterable<Number> iterable)
Creates a Vector from the specified Iterable object
|
static Vector |
Vector.create(Iterator<Number> iterator)
Creates a Vector from the specified Iterator object
|
static Vector |
Vector.create(List<Number> al) |
static Vector |
Vector.create(Object o) |
static Vector |
Vector.createFromVector(AVector source,
int length)
Creates a new vector using the elements in the specified vector.
|
static Vector |
Vector.createLength(int length)
Create an empty (zero-filled) vector of a specified length
|
Vector |
Vector.dense() |
Vector |
AVector.denseClone() |
Vector |
Vector.ensureMutable() |
Vector |
Vector.exactClone() |
Vector |
BitVector.multiplyCopy(AVector v) |
Vector |
Vector.multiplyCopy(double factor) |
static Vector |
Vector.of(double... values)
Create a vector with specific component values.
|
Vector |
Vector.toNormal() |
Vector |
Vector.toVector() |
Vector |
GrowableVector.toVector() |
Vector |
AVector.toVector()
Coerces this vector to the standard dense Vector format.
|
static Vector |
Vectorz.wrap(double... data)
Wraps a double array as a Vector instance.
|
static Vector |
Vector.wrap(double[] source)
Wraps a double array into a Vector, does *no defensive copy* so use with caution
|
| Modifier and Type | Method and Description |
|---|---|
void |
Vector.addMultiple(Vector source,
Index index,
double factor) |
void |
AVector.addMultiple(Vector source,
Index sourceToDest,
double factor)
Adds source vector to this vector at the specified indexes which should map from source->this
|
void |
Vector.addProduct(Vector a,
Vector b) |
void |
Vector.addProduct(Vector a,
Vector b,
double factor) |
double |
Vector.distanceSquared(Vector v) |
void |
Vector.divide(Vector v)
Performance Override for divide
|
double |
Vector.dotProduct(Vector v,
Index ix) |
static void |
Vectorz.invSqrt(Vector v) |
void |
Vector.multiply(Vector v) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
JoinedArrayVector.addCopy(AVector a) |
Vector |
AStridedVector.applyOpCopy(Op op) |
Vector |
ImmutableVector.clone() |
Vector |
AStridedVector.clone() |
Vector |
Vector0.dense() |
Vector |
SparseImmutableVector.dense() |
Vector |
SparseIndexedVector.nonSparseValues() |
Vector |
SparseImmutableVector.nonSparseValues() |
Vector |
SparseHashedVector.nonSparseValues() |
Vector |
ADenseArrayVector.squareCopy() |
Vector |
JoinedArrayVector.subCopy(AVector a) |
Vector |
AxisVector.toNormal() |
Vector |
SparseIndexedVector.toVector() |
Vector |
AxisVector.toVector() |
| Modifier and Type | Method and Description |
|---|---|
static SparseHashedVector |
SparseHashedVector.create(int length,
Index index,
Vector values)
Create a SparseHashedVector with specified non-zero indexes and values.
|
static ImmutableVector |
ImmutableVector.wrap(Vector source) |
Copyright © 2016. All rights reserved.