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