| 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()
Converts the array into a flattened vector
|
Vector |
Array.toVector() |
| Modifier and Type | Method and Description |
|---|---|
static NDArray |
NDArray.wrap(Vector v) |
static Array |
Array.wrap(Vector v) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
AbstractArray.toVector() |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Matrix.asVector() |
Vector |
Matrix.cloneRow(int row) |
Vector |
Matrix.innerProduct(AVector a) |
Vector |
AMatrix.innerProduct(Vector v) |
Vector |
Matrix22.toVector() |
Vector |
Matrix.toVector() |
Vector |
AMatrix.toVector()
Converts the matrix to a single flattened vector
in row major order.
|
Vector |
Matrix.transform(AVector a) |
Vector |
Matrix.transform(Vector a) |
Vector |
AMatrix.transform(Vector source) |
| Modifier and Type | Method and Description |
|---|---|
double |
AMatrix.calculateElement(int i,
Vector v) |
Vector |
AMatrix.innerProduct(Vector v) |
Vector |
Matrix.transform(Vector a) |
Vector |
AMatrix.transform(Vector source) |
void |
Matrix.transform(Vector source,
Vector dest) |
void |
AMatrix.transform(Vector source,
Vector dest) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
DiagonalMatrix.getLeadingDiagonal() |
Vector |
IdentityMatrix.innerProduct(AVector v) |
Vector |
RowMatrix.toVector() |
Vector |
ColumnMatrix.toVector() |
Vector |
IdentityMatrix.transform(AVector source) |
Vector |
IdentityMatrix.transform(Vector source) |
| Modifier and Type | Method and Description |
|---|---|
double |
SubsetMatrix.calculateElement(int i,
Vector inputVector) |
double |
PermutationMatrix.calculateElement(int i,
Vector inputVector) |
double |
DiagonalMatrix.calculateElement(int i,
Vector v) |
Vector |
IdentityMatrix.transform(Vector source) |
void |
PermutationMatrix.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) |
| 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 | Method and Description |
|---|---|
Vector |
Vector.clone() |
static Vector |
Vector.create(AIndex a) |
static Vector |
Vectorz.create(AVector vector) |
static Vector |
Vector.create(AVector a) |
static Vector |
Vector.create(double[] data) |
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.ensureMutable() |
Vector |
Vector.exactClone() |
Vector |
AVector.getTransposeCopy() |
static Vector |
Vector.of(double... values)
Create a vector with specific component values.
|
Vector |
Vector.toNormal() |
Vector |
AVector.toVector() |
static Vector |
Vectorz.wrap(double[] data) |
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.add(Vector v) |
void |
Vector.addMultiple(Index destToSource,
Vector source,
double factor) |
void |
AVector.addMultiple(Index destToSource,
Vector source,
double factor)
Adds to this vector at taking values from source at the specified indexes which should map from this->source
|
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.distance(Vector v) |
double |
Vector.distanceSquared(Vector v) |
double |
Vector3.dotProduct(Vector v) |
double |
Vector2.dotProduct(Vector v) |
double |
Vector1.dotProduct(Vector v) |
double |
Vector.dotProduct(Vector v) |
double |
AVector.dotProduct(Vector v) |
double |
Vector.dotProduct(Vector v,
Index ix) |
Scalar |
Vector.innerProduct(Vector v) |
Scalar |
AVector.innerProduct(Vector v) |
static void |
Vectorz.invSqrt(Vector v) |
void |
Vector.multiply(Vector v) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
SparseIndexedVector.clone() |
Vector |
ImmutableVector.clone() |
Vector |
SparseIndexedVector.nonSparseValues() |
Vector |
AxisVector.toNormal() |
Vector |
AxisVector.toVector() |
| Modifier and Type | Method and Description |
|---|---|
void |
AStridedVector.add(Vector v) |
double |
AxisVector.dotProduct(Vector v) |
Copyright © 2013. All Rights Reserved.