Package ch.javasoft.smx.iface

The smx.iface package contains interfaces representing matrices for different number types.

See:
          Description

Interface Summary
BigIntegerMatrix Readable/writable matrix based on BigInteger numbers
BigIntegerRationalMatrix  
DoubleMatrix The DoubleMatrix TODO type javadoc for DoubleMatrix
DoubleVector  
IntMatrix The IntMatrix TODO type javadoc for IntMatrix
IntRationalMatrix The IntRationalMatrix TODO type javadoc for IntRationalMatrix
LongMatrix  
LongRationalMatrix  
MatrixBase<N extends Number> The MatrixBase contains basic methods for matrices of any data type, which are applicable to the readable and writable subinterfaces.
RationalMatrix  
ReadableBigIntegerMatrix<N extends Number> (Readable) matrix based on BigInteger numbers
ReadableBigIntegerRationalMatrix<N extends Number>  
ReadableDoubleMatrix<N extends Number>  
ReadableIntMatrix<N extends Number> The ReadableIntMatrix TODO type javadoc for ReadableIntMatrix
ReadableIntRationalMatrix<N extends Number> The ReadableIntRationalMatrix TODO type javadoc for ReadableIntRationalMatrix
ReadableLongMatrix<N extends Number>  
ReadableLongRationalMatrix<N extends Number>  
ReadableMatrix<N extends Number> The ReadableMatrix contains methods for readable matrices of any data type.
ReadableVector<N extends Number> The ReadableVector contains methods for readable vectors of any data type.
VectorBase<N extends Number> The VectorBase contains basic methods for vectors of any data type, which are applicable to the readable and writable subinterfaces.
WritableBigIntegerMatrix<N extends Number> (Writable) matrix based on BigInteger numbers
WritableBigIntegerRationalMatrix<N extends Number>  
WritableDoubleMatrix<N extends Number>  
WritableIntMatrix<N extends Number> The WritableIntMatrix TODO type javadoc for WritableIntMatrix
WritableIntRationalMatrix<N extends Number> The WritableIntRationalMatrix TODO type javadoc for WritableIntRationalMatrix
WritableLongMatrix<N extends Number>  
WritableLongRationalMatrix<N extends Number>  
WritableMatrix<N extends Number> The WritableMatrix contains methods for writable matrices of any data type.
WritableVector<N extends Number> The WritableVector contains methods for writable vectors of any data type.
 

Package ch.javasoft.smx.iface Description

The smx.iface package contains interfaces representing matrices for different number types. The matrix classes use generics and support high interoperability between matrices of different number types.

For highest possible consistency in combination with interoperability, a matrix is split into a readable and a writable part; a concrete matrix typically implements both the readable and writable part. The inheritance structure, however, is reverted for readable and writable.

To illustrate this, assume two different matrix types, one for integer values and the other for double precision numbers. If some method expects a double precision matrix as input, you can always pass an integer matrix instead of the double precision matrix, since every integer value is also a double precision value. However, if another function stores values in a matrix, you cannot submit an integer matrix instead of a double matrix, since storing double values would not be possible for the integer matrix. But the reverse is true for the writable part: if the function wants to store integer values, you can also submit a matrix which is capable of storing double values, since also integer values can be stored in a double matrix. Consequently, the read- and write matrix inheritance structures are reverted.