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