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