| 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> Matrix4x4D |
PMatrices4x4D.toUnparameterized(PMatrix4x4D<A,B> m) |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> PMatrix4x4D<A,B> |
PMatrices4x4D.toParameterized(Matrix4x4D m) |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4x4D |
Quaternions4D.toMatrix4x4(Quaternion4D q)
Create a 4x4 matrix from the quaternion
q. |
| Modifier and Type | Method and Description |
|---|---|
static Quaternion4D |
Quaternions4D.ofMatrix4x4(Matrix4x4D m)
Calculate a quaternion that represents the rotation given by the matrix
m. |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4x4D |
Matrices4x4D.add(Matrix4x4D m0,
Matrix4x4D m1)
Add the matrices
m0 and m1. |
Matrix4x4D |
Matrix4x4D.Builder.build()
Builds a new
Matrix4x4D. |
static Matrix4x4D |
Matrices4x4D.identity()
The identity matrix.
|
static Matrix4x4D |
Matrices4x4D.multiply(Matrix4x4D m0,
Matrix4x4D m1)
Multiply the matrices
m0 and m1. |
static Matrix4x4D |
Matrix4x4D.of(double r0c0,
double r0c1,
double r0c2,
double r0c3,
double r1c0,
double r1c1,
double r1c2,
double r1c3,
double r2c0,
double r2c1,
double r2c2,
double r2c3,
double r3c0,
double r3c1,
double r3c2,
double r3c3)
Construct a new immutable
Matrix4x4D instance. |
static Matrix4x4D |
Matrices4x4D.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 Matrix4x4D |
Matrices4x4D.ofColumns(Vector4D c0,
Vector4D c1,
Vector4D c2,
Vector4D c3)
Construct a matrix from the column vectors
(c0, c1, c2, c3). |
static Matrix4x4D |
Matrices4x4D.ofRows(Vector4D r0,
Vector4D r1,
Vector4D r2,
Vector4D r3)
Construct a matrix from the row vectors
(r0, r1, r2, r3). |
static Matrix4x4D |
Matrices4x4D.ofScale(double x,
double y,
double z)
Construct a matrix that will scale by
(x, y, z). |
static Matrix4x4D |
Matrices4x4D.ofTranslation(double x,
double y,
double z)
Construct a matrix that will translate by
(x, y, z). |
static Matrix4x4D |
Matrices4x4D.scale(Matrix4x4D m,
double r)
Scale the matrix
m by r. |
static Matrix4x4D |
Matrices4x4D.subtract(Matrix4x4D m0,
Matrix4x4D m1)
Subtract the matrices
m0 and m1. |
static Matrix4x4D |
Matrices4x4D.transpose(Matrix4x4D m)
Calculate the transpose of the matrix
m. |
static Matrix4x4D |
Matrices4x4D.withColumn(Matrix4x4D m,
int column,
double r0,
double r1,
double r2,
double r3)
Set the column
column of m to (r0, r1, r2, r3). |
static Matrix4x4D |
Matrices4x4D.withRow(Matrix4x4D m,
int row,
double c0,
double c1,
double c2,
double c3)
Set the row
row of m to (c0, c1, c2, c3). |
static Matrix4x4D |
Matrices4x4D.zero()
The zero matrix.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Matrix4x4D> |
Matrices4x4D.invert(Matrix4x4D m)
Calculate the inverse of the matrix
m. |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4x4D |
Matrices4x4D.add(Matrix4x4D m0,
Matrix4x4D m1)
Add the matrices
m0 and m1. |
static Vector4D |
Matrices4x4D.column0(Matrix4x4D m) |
static Vector4D |
Matrices4x4D.column1(Matrix4x4D m) |
static Vector4D |
Matrices4x4D.column2(Matrix4x4D m) |
static Vector4D |
Matrices4x4D.column3(Matrix4x4D m) |
static double |
Matrices4x4D.determinant(Matrix4x4D m)
Calculate the determinant of the matrix
m. |
static Optional<Matrix4x4D> |
Matrices4x4D.invert(Matrix4x4D m)
Calculate the inverse of the matrix
m. |
static Matrix4x4D |
Matrices4x4D.multiply(Matrix4x4D m0,
Matrix4x4D m1)
Multiply the matrices
m0 and m1. |
static Vector4D |
Matrices4x4D.multiplyVectorPost(Matrix4x4D m,
Vector4D v)
Multiply the vector
v by the matrix m. |
static Vector4D |
Matrices4x4D.row0(Matrix4x4D m) |
static Vector4D |
Matrices4x4D.row1(Matrix4x4D m) |
static Vector4D |
Matrices4x4D.row2(Matrix4x4D m) |
static Vector4D |
Matrices4x4D.row3(Matrix4x4D m) |
static Matrix4x4D |
Matrices4x4D.scale(Matrix4x4D m,
double r)
Scale the matrix
m by r. |
static Matrix4x4D |
Matrices4x4D.subtract(Matrix4x4D m0,
Matrix4x4D m1)
Subtract the matrices
m0 and m1. |
static double |
Matrices4x4D.trace(Matrix4x4D m)
Return the trace of the matrix
m. |
static Matrix4x4D |
Matrices4x4D.transpose(Matrix4x4D m)
Calculate the transpose of the matrix
m. |
static Matrix4x4D |
Matrices4x4D.withColumn(Matrix4x4D m,
int column,
double r0,
double r1,
double r2,
double r3)
Set the column
column of m to (r0, r1, r2, r3). |
static Matrix4x4D |
Matrices4x4D.withRow(Matrix4x4D m,
int row,
double c0,
double c1,
double c2,
double c3)
Set the row
row of m to (c0, c1, c2, c3). |
| Modifier and Type | Method and Description |
|---|---|
Matrix4x4D |
Matrix4x4DGenerator.next() |
| Modifier and Type | Method and Description |
|---|---|
static net.java.quickcheck.Generator<Matrix4x4D> |
Matrix4x4DGenerator.create()
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Matrix4x4D> |
Matrix4x4DGenerator.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<Matrix4x4D> |
Matrix4x4DGenerator.createOrthogonal()
Create a generator initialized with a default component generator that only
produces orthogonal matrices.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MatrixStorage4x4Type.setMatrix4x4D(Matrix4x4D m)
Set the components from the given matrix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PMatrixByteBuffered4x4s64.setMatrix4x4D(Matrix4x4D m) |
void |
PMatrixByteBuffered4x4s32.setMatrix4x4D(Matrix4x4D m) |
void |
PMatrixByteBuffered4x4s16.setMatrix4x4D(Matrix4x4D m) |
void |
MatrixByteBuffered4x4s64.setMatrix4x4D(Matrix4x4D m) |
void |
MatrixByteBuffered4x4s32.setMatrix4x4D(Matrix4x4D m) |
void |
MatrixByteBuffered4x4s16.setMatrix4x4D(Matrix4x4D m) |
Copyright © 2017 <code@io7m.com> http://io7m.com