public class Primitive64Matrix2 extends Object implements TransformationMatrix<Double,Primitive64Vector2>
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.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>
TransformationMatrix.Transformable<N extends Number>
Modifier and Type | Field and Description |
---|---|
double |
m00
The matrix elements
|
double |
m01
The matrix elements
|
double |
m10
The matrix elements
|
double |
m11
The matrix elements
|
BIG, COMPLEX, PRIMITIVE
Constructor and Description |
---|
Primitive64Matrix2() |
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(Primitive64Vector2 right,
Primitive64Vector2 product) |
default MT |
negate()
The additive inverse of this.
|
void |
negate(Primitive64Matrix2 matrix)
Will set this to be the negated input matrix
|
default MT |
newInstance()
Deprecated.
|
default PhysicalStore.Factory<Double,PrimitiveDenseStore> |
physical() |
String |
toString() |
void |
transform(Primitive64Vector2 transformable) |
default MT |
transpose() |
void |
transpose(Primitive64Matrix2 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, 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, visitOne
operateOnAll, operateOnMatching, operateOnMatching
operateOnAll, operateOnAll, operateOnAll, operateOnAll, operateOnAll
collect
column, 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, row
loopAll, loopMatching, loopRange, mapper
asCollectable2D, asPrimitive2D, columns, doubleValue, elements, equals, get, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, toRawCopy2D, toString, wrap, wrap, wrapAccess2D, wrapAccess2D
asCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
forEach, spliterator
isAbsolute, isColumnSmall, isColumnSmall, isRowSmall, isRowSmall, isSmall
isAllSmall
visitColumn, visitColumn, visitDiagonal, visitDiagonal, visitOne, visitRow, visitRow
visitAll, visitRange
aggregateColumn, aggregateRow, reduceColumns, reduceRows
sliceColumn, sliceRow
public double m00
public double m10
public double m01
public double m11
public final long countColumns()
public final long countRows()
public final double doubleValue(int row, int col)
public final void multiply(Primitive64Vector2 right, Primitive64Vector2 product)
public final void negate(Primitive64Matrix2 matrix)
matrix
- The matrix to negatepublic final void transform(Primitive64Vector2 transformable)
transform
in interface TransformationMatrix<Double,Primitive64Vector2>
public final void transpose(Primitive64Matrix2 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>,ElementsConsumer<Double>,ElementsSupplier<Double>>
Copyright © 2018 Optimatika. All rights reserved.