| Package | Description |
|---|---|
| com.io7m.jtensors.core.parameterized.matrices |
Parameterized matrix 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 | Description |
|---|---|---|
static <A,B> Matrix3x3F |
PMatrices3x3F.toUnparameterized(PMatrix3x3F<A,B> m) |
| Modifier and Type | Method | Description |
|---|---|---|
static <A,B> PMatrix3x3F<A,B> |
PMatrices3x3F.toParameterized(Matrix3x3F m) |
| Modifier and Type | Method | Description |
|---|---|---|
static Matrix3x3F |
Matrices3x3F.add(Matrix3x3F m0,
Matrix3x3F m1) |
Add the matrices
m0 and m1. |
Matrix3x3F |
Matrix3x3F.Builder.build() |
Builds a new
Matrix3x3F. |
static Matrix3x3F |
Matrices3x3F.identity() |
The identity matrix.
|
static Matrix3x3F |
Matrices3x3F.multiply(Matrix3x3F m0,
Matrix3x3F m1) |
Multiply the matrices
m0 and m1. |
static Matrix3x3F |
Matrix3x3F.of(float r0c0,
float r0c1,
float r0c2,
float r1c0,
float r1c1,
float r1c2,
float r2c0,
float r2c1,
float r2c2) |
Construct a new immutable
Matrix3x3F instance. |
static Matrix3x3F |
Matrices3x3F.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 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). |
static Matrix3x3F |
Matrices3x3F.ofScale(double x,
double y,
double z) |
Construct a matrix that will scale by
(x, y, z). |
static Matrix3x3F |
Matrices3x3F.scale(Matrix3x3F m,
double r) |
Scale the matrix
m by r. |
static Matrix3x3F |
Matrices3x3F.subtract(Matrix3x3F m0,
Matrix3x3F m1) |
Subtract the matrices
m0 and m1. |
static Matrix3x3F |
Matrices3x3F.transpose(Matrix3x3F m) |
Calculate the transpose of the matrix
m. |
static Matrix3x3F |
Matrices3x3F.withColumn(Matrix3x3F m,
int column,
float r0,
float r1,
float r2) |
Set the column
column of m to (r0, r1, r2). |
static Matrix3x3F |
Matrices3x3F.withRow(Matrix3x3F m,
int row,
float c0,
float c1,
float c2) |
Set the row
row of m to (c0, c1, c2). |
static Matrix3x3F |
Matrices3x3F.zero() |
The zero matrix.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Optional<Matrix3x3F> |
Matrices3x3F.invert(Matrix3x3F m) |
Calculate the inverse of the matrix
m. |
| Modifier and Type | Method | Description |
|---|---|---|
static Matrix3x3F |
Matrices3x3F.add(Matrix3x3F m0,
Matrix3x3F m1) |
Add the matrices
m0 and m1. |
static Vector3F |
Matrices3x3F.column0(Matrix3x3F m) |
|
static Vector3F |
Matrices3x3F.column1(Matrix3x3F m) |
|
static Vector3F |
Matrices3x3F.column2(Matrix3x3F m) |
|
static double |
Matrices3x3F.determinant(Matrix3x3F m) |
Calculate the determinant of the matrix
m. |
static Optional<Matrix3x3F> |
Matrices3x3F.invert(Matrix3x3F m) |
Calculate the inverse of the matrix
m. |
static Matrix3x3F |
Matrices3x3F.multiply(Matrix3x3F m0,
Matrix3x3F m1) |
Multiply the matrices
m0 and m1. |
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) |
|
static Matrix3x3F |
Matrices3x3F.scale(Matrix3x3F m,
double r) |
Scale the matrix
m by r. |
static Matrix3x3F |
Matrices3x3F.subtract(Matrix3x3F m0,
Matrix3x3F m1) |
Subtract the matrices
m0 and m1. |
static double |
Matrices3x3F.trace(Matrix3x3F m) |
Return the trace of the matrix
m. |
static Matrix3x3F |
Matrices3x3F.transpose(Matrix3x3F m) |
Calculate the transpose of the matrix
m. |
static Matrix3x3F |
Matrices3x3F.withColumn(Matrix3x3F m,
int column,
float r0,
float r1,
float r2) |
Set the column
column of m to (r0, r1, r2). |
static Matrix3x3F |
Matrices3x3F.withRow(Matrix3x3F m,
int row,
float c0,
float c1,
float c2) |
Set the row
row of m to (c0, c1, c2). |
| Modifier and Type | Method | Description |
|---|---|---|
Matrix3x3F |
Matrix3x3FGenerator.next() |
| Modifier and Type | Method | Description |
|---|---|---|
static net.java.quickcheck.Generator<Matrix3x3F> |
Matrix3x3FGenerator.create() |
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Matrix3x3F> |
Matrix3x3FGenerator.createNormal() |
Create a generator initialized with a default component generator that only
produces values in the range
[-1.0, 1.0]. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
MatrixStorage3x3Type.setMatrix3x3F(Matrix3x3F m) |
Set the components from the given matrix.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
MatrixByteBuffered3x3s16.setMatrix3x3F(Matrix3x3F m) |
|
void |
MatrixByteBuffered3x3s32.setMatrix3x3F(Matrix3x3F m) |
|
void |
MatrixByteBuffered3x3s64.setMatrix3x3F(Matrix3x3F m) |
|
void |
PMatrixByteBuffered3x3s16.setMatrix3x3F(Matrix3x3F m) |
|
void |
PMatrixByteBuffered3x3s32.setMatrix3x3F(Matrix3x3F m) |
|
void |
PMatrixByteBuffered3x3s64.setMatrix3x3F(Matrix3x3F m) |
Copyright © 2017 <code@io7m.com> http://io7m.com