ch.javasoft.smx.iface
Interface MatrixBase<N extends Number>
- All Superinterfaces:
- Cloneable
- All Known Subinterfaces:
- BigIntegerMatrix, BigIntegerRationalMatrix, DoubleMatrix, DoubleVector, IntMatrix, IntRationalMatrix, LongMatrix, LongRationalMatrix, ReadableBigIntegerMatrix<N>, ReadableBigIntegerRationalMatrix<N>, ReadableDoubleMatrix<N>, ReadableIntMatrix<N>, ReadableIntRationalMatrix<N>, ReadableLongMatrix<N>, ReadableLongRationalMatrix<N>, ReadableMatrix<N>, ReadableVector<N>, VectorBase<N>, WritableBigIntegerMatrix<N>, WritableBigIntegerRationalMatrix<N>, WritableDoubleMatrix<N>, WritableIntMatrix<N>, WritableIntRationalMatrix<N>, WritableLongMatrix<N>, WritableLongRationalMatrix<N>, WritableMatrix<N>, WritableVector<N>
- All Known Implementing Classes:
- AbstractDoubleMatrix, AbstractVector, DefaultBigIntegerMatrix, DefaultBigIntegerRationalMatrix, DefaultBigIntegerVector, DefaultDoubleMatrix, DefaultDoubleVector, DefaultIntMatrix, DefaultIntRationalMatrix, DefaultLongMatrix, DynamicDoubleMatrix, DynamicDoubleMatrix.DynamicColumns, DynamicDoubleMatrix.DynamicRows, SubDoubleMatrix
public interface MatrixBase<N extends Number>
- extends Cloneable
The MatrixBase contains basic methods for matrices of any
data type, which are applicable to the readable and writable subinterfaces.
clone
MatrixBase<N> clone()
newInstance
MatrixBase<N> newInstance(int rows,
int cols)
newInstance
MatrixBase<N> newInstance(N[][] data,
boolean rowsInDim1)
getRowCount
int getRowCount()
getColumnCount
int getColumnCount()
transpose
MatrixBase<N> transpose()
getNumberOperations
NumberOperations<N> getNumberOperations()
getMatrixOperations
MatrixOperations<N> getMatrixOperations()
toString
String toString()
- Overrides:
toString in class Object
toMultilineString
String toMultilineString()
writeTo
void writeTo(Writer writer)
writeToMultiline
void writeToMultiline(Writer writer)
writeTo
void writeTo(OutputStream out)
writeToMultiline
void writeToMultiline(OutputStream out)