| Package | Description |
|---|---|
| mikera.matrixx | |
| mikera.matrixx.impl | |
| mikera.transformz | |
| mikera.transformz.impl | |
| mikera.vectorz | |
| mikera.vectorz.impl |
| Modifier and Type | Method and Description |
|---|---|
AVector |
AMatrix.cloneRow(int row) |
AVector |
AMatrix.getColumn(int column) |
AVector |
MatrixMN.getRow(int row) |
abstract AVector |
AVectorMatrix.getRow(int row)
Gets a row of the matrix.
|
AVector |
AMatrix.getRow(int row) |
| Modifier and Type | Method and Description |
|---|---|
void |
MatrixMN.transform(AVector source,
AVector dest) |
void |
MatrixM3.transform(AVector source,
AVector dest) |
void |
Matrix33.transform(AVector source,
AVector dest) |
void |
AVectorMatrix.transform(AVector source,
AVector dest) |
void |
AMatrix.transform(AVector source,
AVector dest) |
void |
MatrixM3.transform(Vector3 source,
AVector dest) |
void |
Matrix33.transform(Vector3 source,
AVector dest) |
void |
AMatrix.transformInPlace(AVector v) |
| Modifier and Type | Method and Description |
|---|---|
AVector |
TransposedMatrix.getColumn(int column) |
AVector |
TransposedMatrix.getRow(int row) |
| Modifier and Type | Method and Description |
|---|---|
void |
IdentityMatrix.transform(AVector source,
AVector dest) |
void |
DiagonalMatrix.transformInPlace(AVector v) |
| Modifier and Type | Method and Description |
|---|---|
AVector |
Translation.getTranslationVector() |
abstract AVector |
ATranslation.getTranslationVector() |
AVector |
ATransform.transform(AVector v)
Transforms a vector, returning a new transformed vector
|
| Modifier and Type | Method and Description |
|---|---|
static Affine34 |
Transformz.createAffineTransform(Matrix33 m,
AVector v) |
static Translation |
Transformz.createTranslation(AVector v) |
AVector |
ATransform.transform(AVector v)
Transforms a vector, returning a new transformed vector
|
void |
Translation3.transform(AVector source,
AVector dest) |
void |
Translation.transform(AVector source,
AVector dest) |
void |
ATranslation.transform(AVector source,
AVector dest) |
abstract void |
ATransform.transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
void |
AffineMN.transform(AVector source,
AVector dest) |
void |
Affine34.transform(AVector source,
AVector dest) |
void |
AAffineTransform.transform(AVector source,
AVector dest) |
void |
Translation3.transformInPlace(AVector v) |
void |
Translation.transformInPlace(AVector v) |
void |
ATranslation.transformInPlace(AVector v) |
void |
ATransform.transformInPlace(AVector v)
Transforms a vector destructively.
|
void |
Affine34.transformInPlace(AVector dest) |
void |
AAffineTransform.transformInPlace(AVector v) |
| Constructor and Description |
|---|
Affine34(AMatrix m,
AVector v) |
Affine34(Matrix33 m,
AVector v) |
Translation(AVector source) |
Translation3(AVector v) |
| Modifier and Type | Method and Description |
|---|---|
AVector |
IdentityTranslation.getTranslationVector() |
| Modifier and Type | Method and Description |
|---|---|
void |
IdentityTranslation.transform(AVector source,
AVector dest) |
void |
CompoundTransform.transform(AVector source,
AVector dest) |
void |
IdentityTranslation.transformInPlace(AVector v) |
| Modifier and Type | Class and Description |
|---|---|
class |
APrimitiveVector |
class |
ArrayVector
Base class for vectors backed by a double[] array.
|
class |
Vector |
class |
Vector1
Specialised 1D vector
|
class |
Vector2
Specialised 2D vector
|
class |
Vector3
Specialised 3D vector
|
class |
Vector4
Specialised 4D vector
|
| Modifier and Type | Method and Description |
|---|---|
AVector |
Vector.clone() |
AVector |
AVector.clone()
Clones the vector, creating a new copy of all data
|
static AVector |
Vectorz.create(double... data) |
static AVector |
Vectorz.createLength(int length)
Returns a vector filled with zeros of the specified length.
|
static AVector |
Vectorz.createMutableVector(AVector t) |
static AVector |
Vectorz.createSameSize(AVector v) |
static AVector |
Vectorz.createUniformRandomVector(int dimensions) |
static AVector |
Vectorz.createZeroVector(int length) |
static AVector |
Vectorz.deepCopy(AVector vector) |
static AVector |
Vectorz.immutableZeroVector(int dimensions)
Returns an immutable vector of zeros
|
AVector |
AVector.join(AVector second)
Returns a new vector that refers to this vector joined to a second vector
|
static AVector |
Vectorz.join(AVector first,
AVector second)
Creates a joined vector that refers to the two underlying vectors
|
AVector |
AVector.subVector(int offset,
int length)
Obtains a sub-vector that refers to this vector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Vector.add(AVector v) |
void |
AVector.add(AVector v)
Adds another vector to this one
|
void |
Vector.addMultiple(AVector v,
double factor) |
void |
AVector.addMultiple(AVector v,
double factor)
Adds a scaled multiple of another vector to this one
|
double |
Vector3.angle(AVector v) |
double |
AVector.angle(AVector v)
Returns the euclidean angle between this vector and another vector
|
boolean |
AVector.approxEquals(AVector v) |
boolean |
AVector.approxEquals(AVector v,
double tolerance) |
int |
AVector.compareTo(AVector a) |
static void |
Vectorz.copy(AVector source,
int srcOffset,
AVector dest,
int destOffset,
int length) |
void |
AVector.copy(int start,
int length,
AVector dest,
int destOffset)
Copies a suset of this vector to a vector at the specified offset
|
void |
ArrayVector.copy(int start,
int length,
AVector dest,
int destOffset) |
void |
AVector.copyTo(AVector dest,
int offset)
Copies a the contents of a vector to a vector at the specified offset
|
static AVector |
Vectorz.createMutableVector(AVector t) |
static AVector |
Vectorz.createSameSize(AVector v) |
static AVector |
Vectorz.deepCopy(AVector vector) |
double |
AVector.distance(AVector v) |
double |
AVector.distanceSquared(AVector v) |
double |
AVector.dotProduct(AVector v) |
AVector |
AVector.join(AVector second)
Returns a new vector that refers to this vector joined to a second vector
|
static AVector |
Vectorz.join(AVector first,
AVector second)
Creates a joined vector that refers to the two underlying vectors
|
double |
AVector.manhattanDistance(AVector v) |
void |
AVector.set(AVector a)
Sets the vector to equal the value of another vector
|
void |
AVector.subtract(AVector v)
Subtracts a vector from this vector
|
void |
AVector.subtractMultiple(AVector v,
double factor)
Subtracts a scaled multiple of another vector from this vector
|
| Constructor and Description |
|---|
Vector(AVector source)
Copy constructor from an arbitrary vector
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArraySubVector
Class representing a fixed-size vector of mutable double values
|
class |
IndexedArrayVector
Vector that addresses elements indexed into double[] array
|
class |
IndexedSubVector
Vector that addresses elements indexed into another source vector
|
class |
JoinedVector |
class |
WrappedSubVector |
class |
ZeroLengthVector
Special singleton zero length vector class.
|
class |
ZeroVector |
| Modifier and Type | Method and Description |
|---|---|
static IndexedSubVector |
IndexedSubVector.wrap(AVector source,
int[] indexes) |
| Constructor and Description |
|---|
JoinedVector(AVector left,
AVector right) |
WrappedSubVector(AVector source,
int offset,
int length) |
Copyright © 2012. All Rights Reserved.