Package | Description |
---|---|
com.io7m.jtensors.core.parameterized.matrices |
Parameterized matrix types.
|
com.io7m.jtensors.core.parameterized.vectors |
Parameterized vector types.
|
com.io7m.jtensors.core.unparameterized.matrices |
Unparameterized matrix types.
|
com.io7m.jtensors.core.unparameterized.vectors |
Unparameterized vector types.
|
com.io7m.jtensors.generators |
QuickCheck generators.
|
com.io7m.jtensors.orthonormalization |
Functions for orthonormalizing sets of vectors.
|
com.io7m.jtensors.storage.api.unparameterized.vectors |
Unparameterized vector storage types.
|
Modifier and Type | Method | Description |
---|---|---|
static <A,B> Vector3D |
PMatrices3x3D.column0(PMatrix3x3D<A,B> m) |
|
static <A,B> Vector3D |
PMatrices3x3D.column1(PMatrix3x3D<A,B> m) |
|
static <A,B> Vector3D |
PMatrices3x3D.column2(PMatrix3x3D<A,B> m) |
|
static Vector3D |
PMatrices3x3D.multiplyVectorPost(PMatrix3x3D m,
Vector3D v) |
Multiply the vector
v by the matrix m . |
static <A,B> Vector3D |
PMatrices3x3D.row0(PMatrix3x3D<A,B> m) |
|
static <A,B> Vector3D |
PMatrices3x3D.row1(PMatrix3x3D<A,B> m) |
|
static <A,B> Vector3D |
PMatrices3x3D.row2(PMatrix3x3D<A,B> m) |
Modifier and Type | Method | Description |
---|---|---|
static Vector3D |
PMatrices3x3D.multiplyVectorPost(PMatrix3x3D m,
Vector3D v) |
Multiply the vector
v by the matrix m . |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.ofColumns(Vector3D c0,
Vector3D c1,
Vector3D c2) |
Construct a matrix from the column vectors
(c0, c1, c2) . |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.ofRows(Vector3D r0,
Vector3D r1,
Vector3D r2) |
Construct a matrix from the row vectors
(r0, r1, r2) . |
Modifier and Type | Method | Description |
---|---|---|
static <A> Vector3D |
PVectors3D.toUnparameterized(PVector3D<A> v) |
Modifier and Type | Method | Description |
---|---|---|
static <A> PVector3D<A> |
PVectors3D.toParameterized(Vector3D v) |
Modifier and Type | Method | Description |
---|---|---|
static Vector3D |
Matrices3x3D.column0(Matrix3x3D m) |
|
static Vector3D |
Matrices3x3D.column1(Matrix3x3D m) |
|
static Vector3D |
Matrices3x3D.column2(Matrix3x3D m) |
|
static Vector3D |
Matrices3x3D.multiplyVectorPost(Matrix3x3D m,
Vector3D v) |
Multiply the vector
v by the matrix m . |
static Vector3D |
Matrices3x3D.row0(Matrix3x3D m) |
|
static Vector3D |
Matrices3x3D.row1(Matrix3x3D m) |
|
static Vector3D |
Matrices3x3D.row2(Matrix3x3D m) |
Modifier and Type | Method | Description |
---|---|---|
static Vector3D |
Matrices3x3D.multiplyVectorPost(Matrix3x3D m,
Vector3D v) |
Multiply the vector
v by the matrix m . |
static Matrix3x3D |
Matrices3x3D.ofColumns(Vector3D c0,
Vector3D c1,
Vector3D c2) |
Construct a matrix from the column vectors
(c0, c1, c2) . |
static Matrix3x3D |
Matrices3x3D.ofRows(Vector3D r0,
Vector3D r1,
Vector3D r2) |
Construct a matrix from the row vectors
(r0, r1, r2) . |
Modifier and Type | Method | Description |
---|---|---|
static Vector3D |
Vectors3D.absolute(Vector3D v0) |
Calculate the absolute of
v0 . |
static Vector3D |
Vectors3D.add(Vector3D v0,
Vector3D v1) |
Add
v0 to v1 . |
static Vector3D |
Vectors3D.addScaled(Vector3D v0,
Vector3D v1,
double r) |
Add
v0 to v1 * r . |
Vector3D |
Vector3D.Builder.build() |
Builds a new
Vector3D . |
static Vector3D |
Vectors3D.clamp(Vector3D v,
Vector3D v_min,
Vector3D v_max) |
Clamp the values in
v by v_min and v_max . |
static Vector3D |
Vectors3D.crossProduct(Vector3D v0,
Vector3D v1) |
Calculate the cross product of the vectors
v0 and v1 . |
static Vector3D |
Vectors3D.interpolateBilinear(Vector3D x0y0,
Vector3D x1y0,
Vector3D x0y1,
Vector3D x1y1,
double px,
double py) |
Bilinearly interpolate between
x0y0 , x1y0 , x0y1 , x1y1 . |
static Vector3D |
Vectors3D.interpolateLinear(Vector3D v0,
Vector3D v1,
double alpha) |
Linearly interpolate between
v0 and v1 by the amount alpha . |
static Vector3D |
Vectors3D.negate(Vector3D v) |
Calculate the negation of
v . |
static Vector3D |
Vectors3D.normalize(Vector3D v0) |
Normalize the vector
v0 . |
static Vector3D |
Vector3D.of(double x,
double y,
double z) |
Construct a new immutable
Vector3D instance. |
static Vector3D |
Vectors3D.scale(Vector3D v0,
double r) |
Scale
v0 by r . |
static Vector3D |
Vectors3D.subtract(Vector3D v0,
Vector3D v1) |
Subtract
v1 from v0 . |
static Vector3D |
Vectors3D.zero() |
The zero vector.
|
Modifier and Type | Method | Description |
---|---|---|
static Vector3D |
Vectors3D.absolute(Vector3D v0) |
Calculate the absolute of
v0 . |
static Vector3D |
Vectors3D.add(Vector3D v0,
Vector3D v1) |
Add
v0 to v1 . |
static Vector3D |
Vectors3D.addScaled(Vector3D v0,
Vector3D v1,
double r) |
Add
v0 to v1 * r . |
static Vector3D |
Vectors3D.clamp(Vector3D v,
Vector3D v_min,
Vector3D v_max) |
Clamp the values in
v by v_min and v_max . |
static Vector3D |
Vectors3D.crossProduct(Vector3D v0,
Vector3D v1) |
Calculate the cross product of the vectors
v0 and v1 . |
static double |
Vectors3D.distance(Vector3D v0,
Vector3D v1) |
Calculate the distance between
v0 and v1 . |
static double |
Vectors3D.dotProduct(Vector3D v0,
Vector3D v1) |
Calculate the scalar product of the vectors
v0 and v1 . |
static Vector3D |
Vectors3D.interpolateBilinear(Vector3D x0y0,
Vector3D x1y0,
Vector3D x0y1,
Vector3D x1y1,
double px,
double py) |
Bilinearly interpolate between
x0y0 , x1y0 , x0y1 , x1y1 . |
static Vector3D |
Vectors3D.interpolateLinear(Vector3D v0,
Vector3D v1,
double alpha) |
Linearly interpolate between
v0 and v1 by the amount alpha . |
static double |
Vectors3D.magnitude(Vector3D v0) |
Calculate the magnitude of the vector
v0 . |
static double |
Vectors3D.magnitudeSquared(Vector3D v0) |
Calculate the squared magnitude of the vector
v0 . |
static Vector3D |
Vectors3D.negate(Vector3D v) |
Calculate the negation of
v . |
static Vector3D |
Vectors3D.normalize(Vector3D v0) |
Normalize the vector
v0 . |
static Vector3D |
Vectors3D.scale(Vector3D v0,
double r) |
Scale
v0 by r . |
static Vector3D |
Vectors3D.subtract(Vector3D v0,
Vector3D v1) |
Subtract
v1 from v0 . |
Modifier and Type | Method | Description |
---|---|---|
Vector3D |
Vector3DGenerator.next() |
Modifier and Type | Method | Description |
---|---|---|
static net.java.quickcheck.Generator<Vector3D> |
Vector3DGenerator.create() |
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Vector3D> |
Vector3DGenerator.createNormal() |
Create a generator initialized with a default component generator that
produces values in the range
[-1.0, 1.0] . |
static net.java.quickcheck.Generator<Vector3D> |
Vector3DGenerator.createSmall() |
Create a generator initialized with a default component generator that
produces values in the range
[-65536.0, 65536.0] . |
Modifier and Type | Method | Description |
---|---|---|
Vector3D |
Orthonormalized3D.v0() |
|
Vector3D |
Orthonormalized3DType.v0() |
|
Vector3D |
Orthonormalized3D.v1() |
|
Vector3D |
Orthonormalized3DType.v1() |
|
Vector3D |
Orthonormalized3D.v2() |
|
Vector3D |
Orthonormalized3DType.v2() |
Modifier and Type | Method | Description |
---|---|---|
static Orthonormalized3D |
Orthonormalized3D.of(Vector3D v0,
Vector3D v1,
Vector3D v2) |
Construct a new immutable
Orthonormalized3D instance. |
static Orthonormalized3D |
Orthonormalization.orthonormalize3D(Vector3D v0,
Vector3D v1,
Vector3D v2) |
Orthonormalize the given vectors.
|
Orthonormalized3D.Builder |
Orthonormalized3D.Builder.setV0(Vector3D v0) |
Initializes the value for the
v0 attribute. |
Orthonormalized3D.Builder |
Orthonormalized3D.Builder.setV1(Vector3D v1) |
Initializes the value for the
v1 attribute. |
Orthonormalized3D.Builder |
Orthonormalized3D.Builder.setV2(Vector3D v2) |
Initializes the value for the
v2 attribute. |
Modifier and Type | Method | Description |
---|---|---|
default void |
VectorStorageFloating3Type.setVector3D(Vector3D v) |
Set the components from the given vector.
|
Copyright © 2017 <code@io7m.com> http://io7m.com