Package ch.javasoft.jsmat.variable

The jsmat.variable package contains variables of different types.

See:
          Description

Class Summary
MatAllocated MatAllocated is a variable which allocates space and data.
MatCell  
MatCharMatrix  
MatDoubleMatrix  
MatMatrix<A> A MatMatrix is a matrix with data.
MatMatrix.MatGenericMatrix<A> Generic class for internal use in static create...
MatReserved MatReserved is a variable which reserves space for data, but does not store (and allocate) the data itself.
MatReservedComplex  
MatReservedMatrix<A>  
MatReservedStructure  
MatStructure  
MatVariable MatVariable is the superclass of all (non primitive) matlab data types.
 

Package ch.javasoft.jsmat.variable Description

The jsmat.variable package contains variables of different types. Variables can be added to a .mat file.

MatAllocated and MatReserved variables exist, the former for data which is already allocated in memory, the latter for variables with huge amounts of data. When a reserved variable is constructed, only the size must be known. The data is then appended step by step — depending on the underlying function generating the data.

For allocated variables, the static methods of MatMatrix can be used to create matrices for different number types. For complex allocated types such as structs, the MatStructure variable can be used.

Similarly, for reserved variables, the static methods of MatReservedMatrix can be used to create matrices for different number types. For complex reserved types, the MatReservedStructure is available.