| Package | Description |
|---|---|
| com.io7m.jtensors.core.parameterized.matrices |
Parameterized matrix types.
|
| com.io7m.jtensors.generators |
QuickCheck generators.
|
| com.io7m.jtensors.storage.api.parameterized.matrices |
Parameterized matrix storage types.
|
| com.io7m.jtensors.storage.bytebuffered |
Tensor ByteBuffered storage implementations.
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C,D,E,F> |
PMatrices3x3D.add(PMatrix3x3D<A,B> m0,
PMatrix3x3D<C,D> m1)
Add the matrices
m0 and m1. |
PMatrix3x3D<A,B> |
PMatrix3x3D.Builder.build()
Builds a new
PMatrix3x3D. |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.identity()
The identity matrix.
|
static <A,B,C> PMatrix3x3D<A,C> |
PMatrices3x3D.multiply(PMatrix3x3D<B,C> m0,
PMatrix3x3D<A,B> m1)
Multiply the matrices
m0 and m1. |
static <A,B> PMatrix3x3D<A,B> |
PMatrix3x3D.of(double r0c0,
double r0c1,
double r0c2,
double r1c0,
double r1c1,
double r1c2,
double r2c0,
double r2c1,
double r2c2)
Construct a new immutable
PMatrix3x3D instance. |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.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 <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.ofColumns(Vector3D c0,
Vector3D c1,
Vector3D c2)
Construct a matrix from the column vectors
(c0, c1, c2). |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.ofRows(Vector3D r0,
Vector3D r1,
Vector3D r2)
Construct a matrix from the row vectors
(r0, r1, r2). |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.ofScale(double x,
double y,
double z)
Construct a matrix that will scale by
(x, y, z). |
static <A,B,C,D> PMatrix3x3D<C,D> |
PMatrices3x3D.scale(PMatrix3x3D<A,B> m,
double r)
Scale the matrix
m by r. |
static <A,B,C,D,E,F> |
PMatrices3x3D.subtract(PMatrix3x3D<A,B> m0,
PMatrix3x3D<C,D> m1)
Subtract the matrices
m0 and m1. |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.toParameterized(Matrix3x3D m) |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.transpose(PMatrix3x3D<A,B> m)
Calculate the transpose of the matrix
m. |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.withColumn(PMatrix3x3D<A,B> m,
int column,
double r0,
double r1,
double r2)
Set the column
column of m to (r0, r1, r2). |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.withRow(PMatrix3x3D<A,B> m,
int row,
double c0,
double c1,
double c2)
Set the row
row of m to (c0, c1, c2). |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.zero()
The zero matrix.
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Optional<PMatrix3x3D<B,A>> |
PMatrices3x3D.invert(PMatrix3x3D<A,B> m)
Calculate the inverse of the matrix
m. |
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C,D,E,F> |
PMatrices3x3D.add(PMatrix3x3D<A,B> m0,
PMatrix3x3D<C,D> m1)
Add the matrices
m0 and m1. |
static <A,B,C,D,E,F> |
PMatrices3x3D.add(PMatrix3x3D<A,B> m0,
PMatrix3x3D<C,D> m1)
Add the matrices
m0 and m1. |
static <A,B> Vector3D |
PMatrices3x3D.column0(PMatrix3x3D<A,B> m) |
static <A,B> Vector3D |
PMatrices3x3D.column1(PMatrix3x3D<A,B> m) |
static <A,B> Vector3D |
PMatrices3x3D.column2(PMatrix3x3D<A,B> m) |
static <A,B> double |
PMatrices3x3D.determinant(PMatrix3x3D<A,B> m)
Calculate the determinant of the matrix
m. |
static <A,B> Optional<PMatrix3x3D<B,A>> |
PMatrices3x3D.invert(PMatrix3x3D<A,B> m)
Calculate the inverse of the matrix
m. |
static <A,B,C> PMatrix3x3D<A,C> |
PMatrices3x3D.multiply(PMatrix3x3D<B,C> m0,
PMatrix3x3D<A,B> m1)
Multiply the matrices
m0 and m1. |
static <A,B,C> PMatrix3x3D<A,C> |
PMatrices3x3D.multiply(PMatrix3x3D<B,C> m0,
PMatrix3x3D<A,B> m1)
Multiply the matrices
m0 and m1. |
static <A,B> PVector3D<B> |
PMatrices3x3D.multiplyVectorPost(PMatrix3x3D<A,B> m,
PVector3D<A> v)
Multiply the vector
v by the matrix m. |
static Vector3D |
PMatrices3x3D.multiplyVectorPost(PMatrix3x3D m,
Vector3D v)
Multiply the vector
v by the matrix m. |
static <A,B> Vector3D |
PMatrices3x3D.row0(PMatrix3x3D<A,B> m) |
static <A,B> Vector3D |
PMatrices3x3D.row1(PMatrix3x3D<A,B> m) |
static <A,B> Vector3D |
PMatrices3x3D.row2(PMatrix3x3D<A,B> m) |
static <A,B,C,D> PMatrix3x3D<C,D> |
PMatrices3x3D.scale(PMatrix3x3D<A,B> m,
double r)
Scale the matrix
m by r. |
static <A,B,C,D,E,F> |
PMatrices3x3D.subtract(PMatrix3x3D<A,B> m0,
PMatrix3x3D<C,D> m1)
Subtract the matrices
m0 and m1. |
static <A,B,C,D,E,F> |
PMatrices3x3D.subtract(PMatrix3x3D<A,B> m0,
PMatrix3x3D<C,D> m1)
Subtract the matrices
m0 and m1. |
static <A,B> Matrix3x3D |
PMatrices3x3D.toUnparameterized(PMatrix3x3D<A,B> m) |
static <A,B> double |
PMatrices3x3D.trace(PMatrix3x3D<A,B> m)
Return the trace of the matrix
m. |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.transpose(PMatrix3x3D<A,B> m)
Calculate the transpose of the matrix
m. |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.withColumn(PMatrix3x3D<A,B> m,
int column,
double r0,
double r1,
double r2)
Set the column
column of m to (r0, r1, r2). |
static <A,B> PMatrix3x3D<A,B> |
PMatrices3x3D.withRow(PMatrix3x3D<A,B> 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 |
|---|---|
PMatrix3x3D<A,B> |
PMatrix3x3DGenerator.next() |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> net.java.quickcheck.Generator<PMatrix3x3D<A,B>> |
PMatrix3x3DGenerator.create()
Create a generator initialized with a default component generator.
|
static <A,B> net.java.quickcheck.Generator<PMatrix3x3D<A,B>> |
PMatrix3x3DGenerator.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 |
PMatrixStorage3x3Type.setPMatrix3x3D(PMatrix3x3D<A,B> m)
Set the components from the given matrix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PMatrixByteBuffered3x3s64.setPMatrix3x3D(PMatrix3x3D<A,B> m) |
void |
PMatrixByteBuffered3x3s32.setPMatrix3x3D(PMatrix3x3D<A,B> m) |
void |
PMatrixByteBuffered3x3s16.setPMatrix3x3D(PMatrix3x3D<A,B> m) |
Copyright © 2017 <code@io7m.com> http://io7m.com