Module ojalgo
Package org.ojalgo.matrix
Interface Matrix2D<N extends 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,CompressedSparseR064,ConjugatedStore,DiagonalStore,FactoryStore,GenericStore,IdentityStore,ImageData,ImageData.SingleChannel,LeftRightStore,LimitStore,LogicalStore,LowerHessenbergStore,LowerSymmetricStore,LowerTriangularStore,MatrixC128,MatrixH256,MatrixQ128,MatrixR032,MatrixR064,MatrixR128,OffsetStore,R032Store,R064CSC,R064CSR,R064Store,RawStore,RepeatedColumnsStore,RepeatedRowsStore,RowsStore,RowsSupplier,SelectingStore,ShadingStore,SingleStore,SparseStore,SuperimposedStore,TransjugatedStore,TransposedStore,UnaryOperatoStore,UpperHessenbergStore,UpperSymmetricStore,UpperTriangularStore,WrapperStore,ZeroStore
public interface Matrix2D<N extends 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 to
BasicMatrix and MatrixStore. 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 Comparable<N>>, Access2D.Collectable<N extends Comparable<N>,R extends Mutate2D>, Access2D.ColumnView<N extends Comparable<N>>, Access2D.ElementView<N extends Comparable<N>>, Access2D.RowView<N extends Comparable<N>>, Access2D.SelectionView<N extends Comparable<N>>, Access2D.Sliceable<N extends Comparable<N>>, Access2D.Visitable<N extends 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 Comparable<N>>, ScalarOperation.Division<T, N extends Comparable<N>>, ScalarOperation.Multiplication<T, N extends Comparable<N>>, ScalarOperation.Subtraction<T, N extends 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
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, asList, axpy, dot, select, supplyTo, toList, toRawCopy1DMethods inherited from interface org.ojalgo.structure.Access1D.Aggregatable
aggregateAll, aggregateRange, indexOfLargestMethods 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, toRawCopy2DMethods inherited from interface org.ojalgo.structure.Access2D.Aggregatable
aggregateColumn, aggregateColumn, aggregateDiagonal, aggregateDiagonal, aggregateRow, aggregateRow, reduceColumns, reduceRowsMethods inherited from interface org.ojalgo.algebra.Group.Additive
negateMethods inherited from interface org.ojalgo.algebra.NormedVectorSpace
isSmall, norm, signumMethods inherited from interface org.ojalgo.algebra.Operation.Addition
addMethods inherited from interface org.ojalgo.algebra.Operation.Multiplication
multiply, powerMethods inherited from interface org.ojalgo.algebra.Operation.Subtraction
subtractMethods inherited from interface org.ojalgo.algebra.ScalarOperation.Addition
add, add, addMethods inherited from interface org.ojalgo.algebra.ScalarOperation.Division
divide, divide, divideMethods inherited from interface org.ojalgo.algebra.ScalarOperation.Multiplication
multiply, multiply, multiplyMethods inherited from interface org.ojalgo.algebra.ScalarOperation.Subtraction
subtract, subtract, subtractMethods inherited from interface org.ojalgo.structure.Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, sizeMethods inherited from interface org.ojalgo.algebra.VectorSpace
conjugate
-
Method Details
-
equals
- 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
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()
-