| Package | Description |
|---|---|
| com.io7m.jtensors.core.parameterized.matrices |
Parameterized matrix types.
|
| com.io7m.jtensors.core.quaternions |
Quaternion types.
|
| com.io7m.jtensors.core.unparameterized.matrices |
Unparameterized matrix types.
|
| com.io7m.jtensors.generators |
QuickCheck generators.
|
| com.io7m.jtensors.storage.api.unparameterized.matrices |
Unparameterized matrix storage types.
|
| com.io7m.jtensors.storage.bytebuffered |
Tensor ByteBuffered storage implementations.
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Matrix4x4F |
PMatrices4x4F.toUnparameterized(PMatrix4x4F<A,B> m) |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> PMatrix4x4F<A,B> |
PMatrices4x4F.toParameterized(Matrix4x4F m) |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4x4F |
Quaternions4F.toMatrix4x4(Quaternion4F q)
Create a 4x4 matrix from the quaternion
q. |
| Modifier and Type | Method and Description |
|---|---|
static Quaternion4F |
Quaternions4F.ofMatrix4x4(Matrix4x4F m)
Calculate a quaternion that represents the rotation given by the matrix
m. |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4x4F |
Matrices4x4F.add(Matrix4x4F m0,
Matrix4x4F m1)
Add the matrices
m0 and m1. |
Matrix4x4F |
Matrix4x4F.Builder.build()
Builds a new
Matrix4x4F. |
static Matrix4x4F |
Matrices4x4F.identity()
The identity matrix.
|
static Matrix4x4F |
Matrices4x4F.multiply(Matrix4x4F m0,
Matrix4x4F m1)
Multiply the matrices
m0 and m1. |
static Matrix4x4F |
Matrix4x4F.of(float r0c0,
float r0c1,
float r0c2,
float r0c3,
float r1c0,
float r1c1,
float r1c2,
float r1c3,
float r2c0,
float r2c1,
float r2c2,
float r2c3,
float r3c0,
float r3c1,
float r3c2,
float r3c3)
Construct a new immutable
Matrix4x4F instance. |
static Matrix4x4F |
Matrices4x4F.ofAxisAngle(double axis_x,
double axis_y,
double axis_z,
double angle)
Construct a matrix that will rotate by
angle radians around the axis (x, y, z). |
static Matrix4x4F |
Matrices4x4F.ofColumns(Vector4F c0,
Vector4F c1,
Vector4F c2,
Vector4F c3)
Construct a matrix from the column vectors
(c0, c1, c2, c3). |
static Matrix4x4F |
Matrices4x4F.ofRows(Vector4F r0,
Vector4F r1,
Vector4F r2,
Vector4F r3)
Construct a matrix from the row vectors
(r0, r1, r2, r3). |
static Matrix4x4F |
Matrices4x4F.ofScale(double x,
double y,
double z)
Construct a matrix that will scale by
(x, y, z). |
static Matrix4x4F |
Matrices4x4F.ofTranslation(double x,
double y,
double z)
Construct a matrix that will translate by
(x, y, z). |
static Matrix4x4F |
Matrices4x4F.scale(Matrix4x4F m,
double r)
Scale the matrix
m by r. |
static Matrix4x4F |
Matrices4x4F.subtract(Matrix4x4F m0,
Matrix4x4F m1)
Subtract the matrices
m0 and m1. |
static Matrix4x4F |
Matrices4x4F.transpose(Matrix4x4F m)
Calculate the transpose of the matrix
m. |
static Matrix4x4F |
Matrices4x4F.withColumn(Matrix4x4F m,
int column,
float r0,
float r1,
float r2,
float r3)
Set the column
column of m to (r0, r1, r2, r3). |
static Matrix4x4F |
Matrices4x4F.withRow(Matrix4x4F m,
int row,
float c0,
float c1,
float c2,
float c3)
Set the row
row of m to (c0, c1, c2, c3). |
static Matrix4x4F |
Matrices4x4F.zero()
The zero matrix.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Matrix4x4F> |
Matrices4x4F.invert(Matrix4x4F m)
Calculate the inverse of the matrix
m. |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4x4F |
Matrices4x4F.add(Matrix4x4F m0,
Matrix4x4F m1)
Add the matrices
m0 and m1. |
static Vector4F |
Matrices4x4F.column0(Matrix4x4F m) |
static Vector4F |
Matrices4x4F.column1(Matrix4x4F m) |
static Vector4F |
Matrices4x4F.column2(Matrix4x4F m) |
static Vector4F |
Matrices4x4F.column3(Matrix4x4F m) |
static double |
Matrices4x4F.determinant(Matrix4x4F m)
Calculate the determinant of the matrix
m. |
static Optional<Matrix4x4F> |
Matrices4x4F.invert(Matrix4x4F m)
Calculate the inverse of the matrix
m. |
static Matrix4x4F |
Matrices4x4F.multiply(Matrix4x4F m0,
Matrix4x4F m1)
Multiply the matrices
m0 and m1. |
static Vector4F |
Matrices4x4F.multiplyVectorPost(Matrix4x4F m,
Vector4F v)
Multiply the vector
v by the matrix m. |
static Vector4F |
Matrices4x4F.row0(Matrix4x4F m) |
static Vector4F |
Matrices4x4F.row1(Matrix4x4F m) |
static Vector4F |
Matrices4x4F.row2(Matrix4x4F m) |
static Vector4F |
Matrices4x4F.row3(Matrix4x4F m) |
static Matrix4x4F |
Matrices4x4F.scale(Matrix4x4F m,
double r)
Scale the matrix
m by r. |
static Matrix4x4F |
Matrices4x4F.subtract(Matrix4x4F m0,
Matrix4x4F m1)
Subtract the matrices
m0 and m1. |
static double |
Matrices4x4F.trace(Matrix4x4F m)
Return the trace of the matrix
m. |
static Matrix4x4F |
Matrices4x4F.transpose(Matrix4x4F m)
Calculate the transpose of the matrix
m. |
static Matrix4x4F |
Matrices4x4F.withColumn(Matrix4x4F m,
int column,
float r0,
float r1,
float r2,
float r3)
Set the column
column of m to (r0, r1, r2, r3). |
static Matrix4x4F |
Matrices4x4F.withRow(Matrix4x4F m,
int row,
float c0,
float c1,
float c2,
float c3)
Set the row
row of m to (c0, c1, c2, c3). |
| Modifier and Type | Method and Description |
|---|---|
Matrix4x4F |
Matrix4x4FGenerator.next() |
| Modifier and Type | Method and Description |
|---|---|
static net.java.quickcheck.Generator<Matrix4x4F> |
Matrix4x4FGenerator.create()
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Matrix4x4F> |
Matrix4x4FGenerator.createNormal()
Create a generator initialized with a default component generator that only
produces values in the range
[-1.0, 1.0]. |
static net.java.quickcheck.Generator<Matrix4x4F> |
Matrix4x4FGenerator.createOrthogonal()
Create a generator initialized with a default component generator that only
produces orthogonal matrices.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MatrixStorage4x4Type.setMatrix4x4F(Matrix4x4F m)
Set the components from the given matrix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PMatrixByteBuffered4x4s64.setMatrix4x4F(Matrix4x4F m) |
void |
PMatrixByteBuffered4x4s32.setMatrix4x4F(Matrix4x4F m) |
void |
PMatrixByteBuffered4x4s16.setMatrix4x4F(Matrix4x4F m) |
void |
MatrixByteBuffered4x4s64.setMatrix4x4F(Matrix4x4F m) |
void |
MatrixByteBuffered4x4s32.setMatrix4x4F(Matrix4x4F m) |
void |
MatrixByteBuffered4x4s16.setMatrix4x4F(Matrix4x4F m) |
Copyright © 2017 <code@io7m.com> http://io7m.com