Package org.ojalgo.matrix
Interface Matrix2D<N extends java.lang.Comparable<N>,M extends Matrix2D<N,M>>
-
- All Superinterfaces:
Access1D<N>
,Access1D.Aggregatable<N>
,Access2D<N>
,Access2D.Aggregatable<N>
,Group
,Group.Additive<M>
,NormedVectorSpace<M,N>
,Operation
,Operation.Addition<M>
,Operation.Multiplication<M>
,Operation.Subtraction<M>
,ScalarOperation
,ScalarOperation.Addition<M,N>
,ScalarOperation.Division<M,N>
,ScalarOperation.Multiplication<M,N>
,ScalarOperation.Subtraction<M,N>
,Structure1D
,Structure2D
,VectorSpace<M,N>
- All Known Subinterfaces:
DecompositionStore<N>
,MatrixStore<N>
,PhysicalStore<N>
- All Known Implementing Classes:
AboveBelowStore
,AbstractStore
,BasicMatrix
,ColumnsStore
,ColumnsSupplier
,ComposingStore
,ConjugatedStore
,DiagonalStore
,FactoryStore
,GenericStore
,IdentityStore
,ImageData
,ImageData.SingleChannel
,IterativeASS.SchurComplementSolver
,LeftRightStore
,LimitStore
,LogicalStore
,LowerHessenbergStore
,LowerSymmetricStore
,LowerTriangularStore
,MatrixC128
,MatrixH256
,MatrixQ128
,MatrixR032
,MatrixR064
,MatrixR128
,OffsetStore
,R032Store
,R064Store
,RawStore
,RepeatedColumnsStore
,RepeatedRowsStore
,RowsStore
,RowsSupplier
,SelectingStore
,ShadingStore
,SingleStore
,SparseStore
,SuperimposedStore
,TransjugatedStore
,TransposedStore
,UnaryOperatoStore
,UpperHessenbergStore
,UpperSymmetricStore
,UpperTriangularStore
,WrapperStore
,ZeroStore
public interface Matrix2D<N extends java.lang.Comparable<N>,M extends Matrix2D<N,M>> extends Access2D<N>, Access2D.Aggregatable<N>, NormedVectorSpace<M,N>, Operation.Subtraction<M>, Operation.Multiplication<M>, ScalarOperation.Addition<M,N>, ScalarOperation.Subtraction<M,N>, ScalarOperation.Division<M,N>
Definition of what's common toBasicMatrix
andMatrixStore
. At this point, at least, it is not recommended to write any code in terms of this interface. It's relatively new, the definition may change, and it may even be removed again.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Access2D
Access2D.Aggregatable<N extends java.lang.Comparable<N>>, Access2D.Collectable<N extends java.lang.Comparable<N>,R extends Mutate2D>, Access2D.ColumnView<N extends java.lang.Comparable<N>>, Access2D.ElementView<N extends java.lang.Comparable<N>>, Access2D.RowView<N extends java.lang.Comparable<N>>, Access2D.SelectionView<N extends java.lang.Comparable<N>>, Access2D.Sliceable<N extends java.lang.Comparable<N>>, Access2D.Visitable<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.algebra.Group
Group.Additive<T>, Group.Multiplicative<T>
-
Nested classes/interfaces inherited from interface org.ojalgo.algebra.Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>
-
Nested classes/interfaces inherited from interface org.ojalgo.algebra.ScalarOperation
ScalarOperation.Addition<T,N extends java.lang.Comparable<N>>, ScalarOperation.Division<T,N extends java.lang.Comparable<N>>, ScalarOperation.Multiplication<T,N extends java.lang.Comparable<N>>, ScalarOperation.Subtraction<T,N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,B>>, Structure1D.LongIndex, Structure1D.LoopCallback
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,B>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.Reshapable, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
equals(Access2D<?> another, NumberContext accuracy)
Scalar<N>
toScalar(int row, int col)
Extracts one element of this matrix as a Scalar.M
transpose()
-
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, dot, select, supplyTo, toRawCopy1D
-
Methods inherited from interface org.ojalgo.structure.Access1D.Aggregatable
aggregateAll, aggregateRange, indexOfLargest
-
Methods inherited from interface org.ojalgo.structure.Access2D
asCollectable2D, asKeyed2D, byteValue, byteValue, byteValue, byteValue, columns, columns, columns, doubleValue, doubleValue, doubleValue, doubleValue, elements, floatValue, floatValue, floatValue, floatValue, get, get, intValue, intValue, intValue, intValue, longValue, longValue, longValue, longValue, nonzeros, rows, rows, rows, select, select, shortValue, shortValue, shortValue, shortValue, toRawCopy2D
-
Methods inherited from interface org.ojalgo.structure.Access2D.Aggregatable
aggregateColumn, aggregateColumn, aggregateDiagonal, aggregateDiagonal, aggregateRow, aggregateRow, reduceColumns, reduceRows
-
Methods inherited from interface org.ojalgo.algebra.Group.Additive
negate
-
Methods inherited from interface org.ojalgo.algebra.NormedVectorSpace
isSmall, norm, signum
-
Methods inherited from interface org.ojalgo.algebra.Operation.Addition
add
-
Methods inherited from interface org.ojalgo.algebra.Operation.Multiplication
multiply, power
-
Methods inherited from interface org.ojalgo.algebra.Operation.Subtraction
subtract
-
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Addition
add, add, add
-
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Division
divide, divide, divide
-
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Multiplication
multiply, multiply, multiply
-
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Subtraction
subtract, subtract, subtract
-
Methods inherited from interface org.ojalgo.structure.Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
Methods inherited from interface org.ojalgo.algebra.VectorSpace
conjugate
-
-
-
-
Method Detail
-
equals
default boolean equals(Access2D<?> another, NumberContext accuracy)
- Returns:
- true if the same size/shape and elements are equal to the given accuracy. norm of the difference between [this] and [another] is zero within the limits of [precision].
-
toScalar
Scalar<N> toScalar(int row, int col)
Extracts one element of this matrix as a Scalar.- Parameters:
row
- A row index.col
- A column index.- Returns:
- One matrix element as a Scalar.
-
transpose
M transpose()
-
-