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