public class Primitive32Matrix2 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 |
m10
The matrix elements
|
float |
m11
The matrix elements
|
COMPLEX, PRIMITIVE, QUATERNION, RATIONAL
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, 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 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)
public final void transpose(Primitive32Matrix2 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.