| 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.storage.api.unparameterized.vectors |
Unparameterized vector storage types.
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Vector3F |
PMatrices3x3F.column0(PMatrix3x3F<A,B> m) |
static <A,B> Vector3F |
PMatrices3x3F.column1(PMatrix3x3F<A,B> m) |
static <A,B> Vector3F |
PMatrices3x3F.column2(PMatrix3x3F<A,B> m) |
static Vector3F |
PMatrices3x3F.multiplyVectorPost(PMatrix3x3F m,
Vector3F v)
Multiply the vector
v by the matrix m. |
static <A,B> Vector3F |
PMatrices3x3F.row0(PMatrix3x3F<A,B> m) |
static <A,B> Vector3F |
PMatrices3x3F.row1(PMatrix3x3F<A,B> m) |
static <A,B> Vector3F |
PMatrices3x3F.row2(PMatrix3x3F<A,B> m) |
| Modifier and Type | Method and Description |
|---|---|
static Vector3F |
PMatrices3x3F.multiplyVectorPost(PMatrix3x3F m,
Vector3F v)
Multiply the vector
v by the matrix m. |
static <A,B> PMatrix3x3F<A,B> |
PMatrices3x3F.ofColumns(Vector3F c0,
Vector3F c1,
Vector3F c2)
Construct a matrix from the column vectors
(c0, c1, c2). |
static <A,B> PMatrix3x3F<A,B> |
PMatrices3x3F.ofRows(Vector3F r0,
Vector3F r1,
Vector3F r2)
Construct a matrix from the row vectors
(r0, r1, r2). |
| Modifier and Type | Method and Description |
|---|---|
static <A> Vector3F |
PVectors3F.toUnparameterized(PVector3F<A> v) |
| Modifier and Type | Method and Description |
|---|---|
static <A> PVector3F<A> |
PVectors3F.toParameterized(Vector3F v) |
| Modifier and Type | Method and Description |
|---|---|
static Vector3F |
Matrices3x3F.column0(Matrix3x3F m) |
static Vector3F |
Matrices3x3F.column1(Matrix3x3F m) |
static Vector3F |
Matrices3x3F.column2(Matrix3x3F m) |
static Vector3F |
Matrices3x3F.multiplyVectorPost(Matrix3x3F m,
Vector3F v)
Multiply the vector
v by the matrix m. |
static Vector3F |
Matrices3x3F.row0(Matrix3x3F m) |
static Vector3F |
Matrices3x3F.row1(Matrix3x3F m) |
static Vector3F |
Matrices3x3F.row2(Matrix3x3F m) |
| Modifier and Type | Method and Description |
|---|---|
static Vector3F |
Matrices3x3F.multiplyVectorPost(Matrix3x3F m,
Vector3F v)
Multiply the vector
v by the matrix m. |
static Matrix3x3F |
Matrices3x3F.ofColumns(Vector3F c0,
Vector3F c1,
Vector3F c2)
Construct a matrix from the column vectors
(c0, c1, c2). |
static Matrix3x3F |
Matrices3x3F.ofRows(Vector3F r0,
Vector3F r1,
Vector3F r2)
Construct a matrix from the row vectors
(r0, r1, r2). |
| Modifier and Type | Method and Description |
|---|---|
static Vector3F |
Vectors3F.absolute(Vector3F v0)
Calculate the absolute of
v0. |
static Vector3F |
Vectors3F.add(Vector3F v0,
Vector3F v1)
Add
v0 to v1. |
static Vector3F |
Vectors3F.addScaled(Vector3F v0,
Vector3F v1,
double r)
Add
v0 to v1 * r. |
Vector3F |
Vector3F.Builder.build()
Builds a new
Vector3F. |
static Vector3F |
Vectors3F.clamp(Vector3F v,
Vector3F v_min,
Vector3F v_max)
Clamp the values in
v by v_min and v_max. |
static Vector3F |
Vectors3F.crossProduct(Vector3F v0,
Vector3F v1)
Calculate the cross product of the vectors
v0 and v1. |
static Vector3F |
Vectors3F.interpolateLinear(Vector3F v0,
Vector3F v1,
double alpha)
Linearly interpolate between
v0 and v1 by the amount alpha. |
static Vector3F |
Vectors3F.negate(Vector3F v)
Calculate the negation of
v. |
static Vector3F |
Vectors3F.normalize(Vector3F v0)
Normalize the vector
v0. |
static Vector3F |
Vector3F.of(float x,
float y,
float z)
Construct a new immutable
Vector3F instance. |
static Vector3F |
Vectors3F.scale(Vector3F v0,
double r)
Scale
v0 by r. |
static Vector3F |
Vectors3F.subtract(Vector3F v0,
Vector3F v1)
Subtract
v1 from v0. |
static Vector3F |
Vectors3F.zero()
The zero vector.
|
| Modifier and Type | Method and Description |
|---|---|
static Vector3F |
Vectors3F.absolute(Vector3F v0)
Calculate the absolute of
v0. |
static Vector3F |
Vectors3F.add(Vector3F v0,
Vector3F v1)
Add
v0 to v1. |
static Vector3F |
Vectors3F.addScaled(Vector3F v0,
Vector3F v1,
double r)
Add
v0 to v1 * r. |
static Vector3F |
Vectors3F.clamp(Vector3F v,
Vector3F v_min,
Vector3F v_max)
Clamp the values in
v by v_min and v_max. |
static Vector3F |
Vectors3F.crossProduct(Vector3F v0,
Vector3F v1)
Calculate the cross product of the vectors
v0 and v1. |
static double |
Vectors3F.dotProduct(Vector3F v0,
Vector3F v1)
Calculate the scalar product of the vectors
v0 and v1. |
static Vector3F |
Vectors3F.interpolateLinear(Vector3F v0,
Vector3F v1,
double alpha)
Linearly interpolate between
v0 and v1 by the amount alpha. |
static double |
Vectors3F.magnitude(Vector3F v0)
Calculate the magnitude of the vector
v0. |
static double |
Vectors3F.magnitudeSquared(Vector3F v0)
Calculate the squared magnitude of the vector
v0. |
static Vector3F |
Vectors3F.negate(Vector3F v)
Calculate the negation of
v. |
static Vector3F |
Vectors3F.normalize(Vector3F v0)
Normalize the vector
v0. |
static Vector3F |
Vectors3F.scale(Vector3F v0,
double r)
Scale
v0 by r. |
static Vector3F |
Vectors3F.subtract(Vector3F v0,
Vector3F v1)
Subtract
v1 from v0. |
| Modifier and Type | Method and Description |
|---|---|
Vector3F |
Vector3FGenerator.next() |
| Modifier and Type | Method and Description |
|---|---|
static net.java.quickcheck.Generator<Vector3F> |
Vector3FGenerator.create()
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Vector3F> |
Vector3FGenerator.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<Vector3F> |
Vector3FGenerator.createSmall()
Create a generator initialized with a default component generator that
produces values in the range
[-65536.0, 65536.0]. |
| Modifier and Type | Method and Description |
|---|---|
default void |
VectorStorageFloating3Type.setVector3F(Vector3F v)
Set the components from the given vector.
|
Copyright © 2017 <code@io7m.com> http://io7m.com