| Modifier and Type | Class and Description |
|---|---|
class |
ArraySubVector
Class representing a fixed-size vector of mutable double values
|
class |
ArrayVector
Base class for vectors backed by a double[] array.
|
class |
JoinedVector |
class |
PrimitiveVector |
class |
Vector |
class |
Vector2
Specialised 2D vector
|
class |
Vector3
Specialised 3D vector
|
class |
WrappedSubVector |
| Modifier and Type | Method and Description |
|---|---|
AVector |
AVector.clone()
Clones the vector, creating a new copy of all data
|
static AVector |
Vectorz.concat(AVector first,
AVector second) |
static AVector |
Vectorz.create(double... data) |
AVector |
AVector.subVector(int offset,
int length) |
| 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
|
int |
AVector.compareTo(AVector a) |
static AVector |
Vectorz.concat(AVector first,
AVector second) |
double |
AVector.dotProduct(AVector v) |
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 |
|---|
JoinedVector(AVector left,
AVector right) |
Vector(AVector source)
Copy constructor from an arbitrary vector
|
WrappedSubVector(AVector source,
int offset,
int length) |
Copyright © 2012. All Rights Reserved.