| 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 Matrix2x2F |
Matrices2x2F.add(Matrix2x2F m0,
Matrix2x2F m1)
Add the matrices
m0 and m1. |
Matrix2x2F |
Matrix2x2F.Builder.build()
Builds a new
Matrix2x2F. |
static Matrix2x2F |
Matrices2x2F.identity()
The identity matrix.
|
static Matrix2x2F |
Matrices2x2F.multiply(Matrix2x2F m0,
Matrix2x2F m1)
Multiply the matrices
m0 and m1. |
static Matrix2x2F |
Matrix2x2F.of(float r0c0,
float r0c1,
float r1c0,
float r1c1)
Construct a new immutable
Matrix2x2F instance. |
static Matrix2x2F |
Matrices2x2F.ofColumns(Vector2F c0,
Vector2F c1)
Construct a matrix from the column vectors
(c0, c1). |
static Matrix2x2F |
Matrices2x2F.ofRows(Vector2F r0,
Vector2F r1)
Construct a matrix from the row vectors
(r0, r1). |
static Matrix2x2F |
Matrices2x2F.ofScale(double x,
double y)
Construct a matrix that will scale by
(x, y). |
static Matrix2x2F |
Matrices2x2F.scale(Matrix2x2F m,
double r)
Scale the matrix
m by r. |
static Matrix2x2F |
Matrices2x2F.subtract(Matrix2x2F m0,
Matrix2x2F m1)
Subtract the matrices
m0 and m1. |
static Matrix2x2F |
Matrices2x2F.transpose(Matrix2x2F m)
Calculate the transpose of the matrix
m. |
static Matrix2x2F |
Matrices2x2F.withColumn(Matrix2x2F m,
int column,
float r0,
float r1)
Set the column
column of m to (r0, r1). |
static Matrix2x2F |
Matrices2x2F.withRow(Matrix2x2F m,
int row,
float c0,
float c1)
Set the row
row of m to (c0, c1). |
static Matrix2x2F |
Matrices2x2F.zero()
The zero matrix.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Matrix2x2F> |
Matrices2x2F.invert(Matrix2x2F m)
Calculate the inverse of the matrix
m. |
| Modifier and Type | Method and Description |
|---|---|
static Matrix2x2F |
Matrices2x2F.add(Matrix2x2F m0,
Matrix2x2F m1)
Add the matrices
m0 and m1. |
static Vector2F |
Matrices2x2F.column0(Matrix2x2F m) |
static Vector2F |
Matrices2x2F.column1(Matrix2x2F m) |
static double |
Matrices2x2F.determinant(Matrix2x2F m)
Calculate the determinant of the matrix
m. |
static Optional<Matrix2x2F> |
Matrices2x2F.invert(Matrix2x2F m)
Calculate the inverse of the matrix
m. |
static Matrix2x2F |
Matrices2x2F.multiply(Matrix2x2F m0,
Matrix2x2F m1)
Multiply the matrices
m0 and m1. |
static Vector2F |
Matrices2x2F.multiplyVectorPost(Matrix2x2F m,
Vector2F v)
Multiply the vector
v by the matrix m. |
static Vector2F |
Matrices2x2F.row0(Matrix2x2F m) |
static Vector2F |
Matrices2x2F.row1(Matrix2x2F m) |
static Matrix2x2F |
Matrices2x2F.scale(Matrix2x2F m,
double r)
Scale the matrix
m by r. |
static Matrix2x2F |
Matrices2x2F.subtract(Matrix2x2F m0,
Matrix2x2F m1)
Subtract the matrices
m0 and m1. |
static double |
Matrices2x2F.trace(Matrix2x2F m)
Return the trace of the matrix
m. |
static Matrix2x2F |
Matrices2x2F.transpose(Matrix2x2F m)
Calculate the transpose of the matrix
m. |
static Matrix2x2F |
Matrices2x2F.withColumn(Matrix2x2F m,
int column,
float r0,
float r1)
Set the column
column of m to (r0, r1). |
static Matrix2x2F |
Matrices2x2F.withRow(Matrix2x2F m,
int row,
float c0,
float c1)
Set the row
row of m to (c0, c1). |
| Modifier and Type | Method and Description |
|---|---|
Matrix2x2F |
Matrix2x2FGenerator.next() |
| Modifier and Type | Method and Description |
|---|---|
static net.java.quickcheck.Generator<Matrix2x2F> |
Matrix2x2FGenerator.create()
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Matrix2x2F> |
Matrix2x2FGenerator.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 |
MatrixStorage2x2Type.setMatrix2x2F(Matrix2x2F m)
Set the components from the given matrix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PMatrixByteBuffered2x2s64.setMatrix2x2F(Matrix2x2F m) |
void |
PMatrixByteBuffered2x2s32.setMatrix2x2F(Matrix2x2F m) |
void |
PMatrixByteBuffered2x2s16.setMatrix2x2F(Matrix2x2F m) |
void |
MatrixByteBuffered2x2s64.setMatrix2x2F(Matrix2x2F m) |
void |
MatrixByteBuffered2x2s32.setMatrix2x2F(Matrix2x2F m) |
void |
MatrixByteBuffered2x2s16.setMatrix2x2F(Matrix2x2F m) |
Copyright © 2017 <code@io7m.com> http://io7m.com