public class Primitive32Matrix2 extends Object implements TransformationMatrix<Double,Primitive32Vector2>
MatrixStore.Factory<N extends Number>, MatrixStore.LogicalBuilder<N extends Number>Structure2D.IntRowColumn, 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.LoopCallbackAccess2D.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>TransformationMatrix.Transformable<N extends Number>| Modifier and Type | Field and Description |
|---|---|
float |
m00
The matrix elements
|
float |
m01
The matrix elements
|
float |
m10
The matrix elements
|
float |
m11
The matrix elements
|
BIG, COMPLEX, PRIMITIVE| Constructor and Description |
|---|
Primitive32Matrix2() |
Primitive32Matrix2(float m00,
float m10,
float m01,
float m11) |
| 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(Primitive32Vector2 right,
Primitive32Vector2 product) |
default MT |
negate()
The additive inverse of this.
|
void |
negate(Primitive32Matrix2 matrix)
Will set this to be the negated input matrix
|
default MT |
newInstance()
Deprecated.
|
default PhysicalStore.Factory<Double,PrimitiveDenseStore> |
physical() |
String |
toString() |
void |
transform(Primitive32Vector2 transformable) |
default MT |
transpose() |
void |
transpose(Primitive32Matrix2 matrix)
Will set this to be the transposed input matrix
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, aggregateAll, aggregateColumn, aggregateDiagonal, aggregateRange, aggregateRow, conjugate, copy, equals, firstInColumn, firstInRow, get, isAbsolute, isSmall, isSmall, limitOfColumn, limitOfRow, logical, multiply, multiply, multiply, multiply, multiplyBoth, norm, premultiply, reduceColumns, reduceRows, signum, sliceColumn, sliceDiagonal, sliceRange, sliceRow, subtract, supplyTo, toScalar, visitOneoperateOnAll, operateOnMatching, operateOnMatchingoperateOnAll, operateOnAll, operateOnAll, operateOnAll, operateOnAllcollectcolumn, column, column, column, column, count, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, rowloopAll, loopMatching, loopRange, mapperasCollectable2D, asPrimitive2D, columns, doubleValue, elements, equals, get, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, toRawCopy2D, toString, wrap, wrap, wrapAccess2D, wrapAccess2DasCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1DforEach, spliteratorisAbsolute, isColumnSmall, isColumnSmall, isRowSmall, isRowSmall, isSmallisAllSmallvisitColumn, visitColumn, visitDiagonal, visitDiagonal, visitOne, visitRow, visitRowvisitAll, visitRangeaggregateColumn, aggregateRow, reduceColumns, reduceRowssliceColumn, sliceRowpublic float m00
public float m10
public float m01
public float m11
public Primitive32Matrix2()
public Primitive32Matrix2(float m00,
float m10,
float m01,
float m11)
public final long countColumns()
public final long countRows()
public final double doubleValue(int row,
int col)
public final void multiply(Primitive32Vector2 right, Primitive32Vector2 product)
public final void negate(Primitive32Matrix2 matrix)
matrix - The matrix to negatepublic final void transform(Primitive32Vector2 transformable)
transform in interface TransformationMatrix<Double,Primitive32Vector2>public final void transpose(Primitive32Matrix2 matrix)
matrix - The matrix to transposepublic double doubleValue(long row,
long col)
Access2DdoubleValue in interface Access2D<Double>doubleValue in interface MatrixStore<Double>row - A row index.col - A column index.public MT negate()
Group.Additivenegate 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>,ElementsConsumer<Double>,ElementsSupplier<Double>>Copyright © 2018 Optimatika. All rights reserved.