| Package | Description |
|---|---|
| mikera.matrixx | |
| mikera.matrixx.impl | |
| mikera.vectorz | |
| mikera.vectorz.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
AMatrix.transformInPlace(ArrayVector v) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScalarMatrix.transformInPlace(ArrayVector v) |
void |
IdentityMatrix.transformInPlace(ArrayVector v) |
void |
DiagonalMatrix.transformInPlace(ArrayVector v) |
void |
ADiagonalMatrix.transformInPlace(ArrayVector v) |
| Modifier and Type | Class and Description |
|---|---|
class |
GrowableVector
Implements a growable vector, intended for incrementally building vectors
Note that getting the underlying array or a subVector is unsafe, since the
underlying array may be discarded as the vector is grown.
|
class |
Vector
General purpose vector of arbitrary length, backed by an internal double[] array
|
| Modifier and Type | Method and Description |
|---|---|
void |
ArrayVector.add(ArrayVector v) |
void |
Vector.add(ArrayVector src,
int srcOffset) |
void |
ArrayVector.add(ArrayVector src,
int srcOffset) |
void |
ArrayVector.add(int offset,
ArrayVector src) |
void |
ArrayVector.add(int offset,
ArrayVector src,
int srcOffset,
int length) |
void |
Vector.addMultiple(ArrayVector v,
double factor) |
void |
ArrayVector.addMultiple(ArrayVector v,
double factor) |
void |
AVector.addProductToArray(double factor,
int offset,
ArrayVector other,
int otherOffset,
double[] array,
int arrayOffset,
int length) |
void |
ArrayVector.addProductToArray(double factor,
int offset,
ArrayVector other,
int otherOffset,
double[] array,
int arrayOffset,
int length) |
void |
Vector.addWeighted(ArrayVector v,
double factor) |
void |
Op.applyTo(ArrayVector v) |
void |
AVector.copyTo(ArrayVector dest,
int destOffset)
Copies a the contents of a vector to a vector at the specified offset
|
void |
ArrayVector.copyTo(int offset,
ArrayVector dest,
int destOffset,
int length) |
AVector |
ArrayVector.join(ArrayVector v) |
void |
Vector.sub(ArrayVector v) |
void |
Vector.sub(ArrayVector src,
int srcOffset) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArraySubVector
Vector referring to an offset into a double[] array
|
| Modifier and Type | Method and Description |
|---|---|
List<ArrayVector> |
JoinedArrayVector.toSubArrays() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArraySubVector.add(ArrayVector v) |
void |
ArraySubVector.addMultiple(ArrayVector v,
double factor) |
void |
SparseIndexedVector.addProductToArray(double factor,
int offset,
ArrayVector other,
int otherOffset,
double[] array,
int arrayOffset,
int length) |
double |
SparseIndexedVector.dotProduct(ArrayVector v) |
double |
JoinedArrayVector.dotProduct(ArrayVector v) |
JoinedArrayVector |
JoinedArrayVector.join(ArrayVector v) |
static AVector |
JoinedArrayVector.joinVectors(ArrayVector a,
ArrayVector b) |
void |
SparseIndexedVector.multiply(ArrayVector v) |
static JoinedArrayVector |
JoinedArrayVector.wrap(ArrayVector v) |
| Constructor and Description |
|---|
ArraySubVector(ArrayVector source,
int offset,
int length)
Constructs a vector directly referencing a sub-vector of an existing
array-based Vector
|
Copyright © 2013. All Rights Reserved.