ch.javasoft.jsmat.variable
Class MatMatrix.MatGenericMatrix<A>

java.lang.Object
  extended by ch.javasoft.jsmat.variable.MatVariable
      extended by ch.javasoft.jsmat.variable.MatAllocated
          extended by ch.javasoft.jsmat.variable.MatMatrix<A>
              extended by ch.javasoft.jsmat.variable.MatMatrix.MatGenericMatrix<A>
Enclosing class:
MatMatrix<A>

protected abstract static class MatMatrix.MatGenericMatrix<A>
extends MatMatrix<A>

Generic class for internal use in static create... methods


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.javasoft.jsmat.variable.MatMatrix
MatMatrix.MatGenericMatrix<A>
 
Field Summary
 
Fields inherited from class ch.javasoft.jsmat.variable.MatMatrix
mMatType
 
Fields inherited from class ch.javasoft.jsmat.variable.MatVariable
DEFAULT_NAME, mDims, mMatClass
 
Constructor Summary
MatMatrix.MatGenericMatrix(MatClass matClass, MatType matType, int[] dims)
           
 
Method Summary
 void write(String name, DataOutput out)
          Writes the data to the given data output.
 
Methods inherited from class ch.javasoft.jsmat.variable.MatMatrix
createDoubleMatrix, createDoubleMatrix, createIntMatrix, createIntMatrix, createUtf8Matrix, createUtf8Matrix, getMatrixSize, getRawDataSize, writeRawData
 
Methods inherited from class ch.javasoft.jsmat.variable.MatVariable
checkRawDataSizeOverflow, checkValueLength, getDimLength, getFlags, getSize, writeStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatMatrix.MatGenericMatrix

public MatMatrix.MatGenericMatrix(MatClass matClass,
                                  MatType matType,
                                  int[] dims)
Method Detail

write

public void write(String name,
                  DataOutput out)
           throws IOException
Description copied from class: MatAllocated
Writes the data to the given data output. At the end of this method, MatAllocated.writeRawData(DataOutput) is called to write the type specific data.

Overrides:
write in class MatAllocated
Throws:
IOException