public class Primitive32Matrix4 extends Object
MatrixStore.Factory<N extends Number>, MatrixStore.LogicalBuilder<N extends Number>
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,?>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.RowColumnCallback, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Access2D.Aggregatable<N extends Number>, Access2D.Collectable<N extends Number,R extends Mutate2D.Receiver<N>>, Access2D.Elements, Access2D.ElementView<N extends Number>, Access2D.IndexOf, Access2D.Sliceable<N extends Number>, Access2D.Visitable<N extends Number>
Group.Additive<S>, Group.Multiplicative<S>
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>
ScalarOperation.Addition<T,N extends Number>, ScalarOperation.Division<T,N extends Number>, ScalarOperation.Multiplication<T,N extends Number>, ScalarOperation.Subtraction<T,N extends Number>
Modifier and Type | Field and Description |
---|---|
float |
m00
The matrix elements
|
float |
m01
The matrix elements
|
float |
m02
The matrix elements
|
float |
m03
The matrix elements
|
float |
m10
The matrix elements
|
float |
m11
The matrix elements
|
float |
m12
The matrix elements
|
float |
m13
The matrix elements
|
float |
m20
The matrix elements
|
float |
m21
The matrix elements
|
float |
m22
The matrix elements
|
float |
m23
The matrix elements
|
float |
m30
The matrix elements
|
float |
m31
The matrix elements
|
float |
m32
The matrix elements
|
float |
m33
The matrix elements
|
COMPLEX, PRIMITIVE, QUATERNION, RATIONAL
Constructor and Description |
---|
Primitive32Matrix4() |
Primitive32Matrix4(float m00,
float m10,
float m20,
float m30,
float m01,
float m11,
float m21,
float m31,
float m02,
float m12,
float m22,
float m32,
float m03,
float m13,
float m23,
float m33) |
Modifier and Type | Method and Description |
---|---|
long |
countColumns() |
long |
countRows() |
double |
doubleValue(int row,
int col) |
default double |
doubleValue(long row,
long col)
Extracts one element of this matrix as a double.
|
boolean |
equals(Object obj) |
default Double |
get(long row,
long col) |
int |
hashCode() |
void |
multiply(Primitive32Vector3 right,
float right3,
Primitive32Vector3 product) |
void |
multiply(Primitive32Vector4 right,
Primitive32Vector4 product) |
default MT |
negate()
The additive inverse of this.
|
void |
negate(Primitive32Matrix4 matrix)
Will set this to be the negated input matrix
|
default MT |
newInstance()
Deprecated.
|
default PhysicalStore.Factory<Double,PrimitiveDenseStore> |
physical() |
String |
toString() |
void |
transform(Primitive32Vector3 transformable,
float v3) |
void |
transform(Primitive32Vector4 transformable) |
default MT |
transpose() |
void |
transpose(Primitive32Matrix4 matrix)
Will set this to be the transposed input matrix
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, aggregateAll, aggregateColumn, aggregateDiagonal, aggregateRange, aggregateRow, conjugate, copy, equals, firstInColumn, firstInColumn, firstInColumn, firstInRow, firstInRow, firstInRow, get, isAbsolute, isHermitian, isNormal, isSmall, isSmall, limitOfColumn, limitOfColumn, limitOfColumn, limitOfRow, limitOfRow, limitOfRow, logical, multiply, multiply, multiply, multiply, multiplyBoth, norm, operateOnAll, premultiply, reduceColumns, reduceRows, signum, sliceColumn, sliceDiagonal, sliceRange, sliceRow, subtract, supplyTo, toScalar, visitOne
operateOnAny, operateOnColumns, operateOnMatching, operateOnMatching, operateOnRows
operateOnAll, operateOnAll, operateOnAll, operateOnAll, operateOnAll
collect
column, column, column, column, column, count, count, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, row
index, loopAll, loopMatching, loopRange, mapper, size
asCollectable2D, asPrimitive2D, byteValue, byteValue, columns, doubleValue, elements, equals, floatValue, floatValue, get, intValue, intValue, longValue, longValue, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, shortValue, shortValue, toRawCopy2D, toString, wrap, wrap
asCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, nonzeros, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
visitColumn, visitColumn, visitDiagonal, visitDiagonal, visitOne, visitRow, visitRow
visitAll, visitRange
aggregateColumn, aggregateDiagonal, aggregateRow, reduceColumns, reduceRows
sliceColumn, sliceDiagonal, sliceRow
isAbsolute, isColumnSmall, isColumnSmall, isRowSmall, isRowSmall, isSmall
isAllSmall
public float m00
public float m10
public float m20
public float m30
public float m01
public float m11
public float m21
public float m31
public float m02
public float m12
public float m22
public float m32
public float m03
public float m13
public float m23
public float m33
public Primitive32Matrix4()
public Primitive32Matrix4(float m00, float m10, float m20, float m30, float m01, float m11, float m21, float m31, float m02, float m12, float m22, float m32, float m03, float m13, float m23, float m33)
public final long countColumns()
public final long countRows()
public final double doubleValue(int row, int col)
public final void multiply(Primitive32Vector3 right, float right3, Primitive32Vector3 product)
public final void multiply(Primitive32Vector4 right, Primitive32Vector4 product)
public final void negate(Primitive32Matrix4 matrix)
matrix
- The matrix to negatepublic final void transform(Primitive32Vector3 transformable, float v3)
public final void transform(Primitive32Vector4 transformable)
public final void transpose(Primitive32Matrix4 matrix)
matrix
- The matrix to transposepublic double doubleValue(long row, long col)
Access2D
doubleValue
in interface Access2D<Double>
doubleValue
in interface MatrixStore<Double>
row
- A row index.col
- A column index.public MT negate()
Group.Additive
negate
in interface Group.Additive<MatrixStore<Double>>
negate
in interface MatrixStore<Double>
-this
.@Deprecated public MT newInstance()
public PhysicalStore.Factory<Double,PrimitiveDenseStore> physical()
physical
in interface ElementsSupplier<Double>
public MT transpose()
transpose
in interface ElementsSupplier<Double>
transpose
in interface MatrixStore<Double>
transpose
in interface Stream2D<Double,MatrixStore<Double>,TransformableRegion<Double>,ElementsSupplier<Double>>
Copyright © 2019 Optimatika. All rights reserved.