SparseArray(Class<L> linearArrayType,int[] linearIndices,int[] rowIndices,int[] colIndices,L real,L imag,int numRows,int numCols){
  _numRows=numRows;
  _numCols=numCols;
  _baseComponentType=linearArrayType.getComponentType();
  _outputArrayType=(Class<L[]>)ArrayUtils.getArrayClass(_baseComponentType,2);
  _linearIndices=linearIndices;
  _rowIndices=rowIndices;
  _colIndices=colIndices;
  _realValues=linearArrayType.cast(real);
  _imagValues=linearArrayType.cast(imag);
}

SparseArray ( Class < L > linearArrayType , int [ ] linearIndices , int [ ] rowIndices , int [ ] colIndices , L real , L imag , int numRows , int numCols ) { _numRows = numRows ; _numCols = numCols ; _baseComponentType = linearArrayType . getComponentType ( ) ; _outputArrayType = ( Class < L [ ] > ) ArrayUtils . getArrayClass ( _baseComponentType , 2 ) ; _linearIndices = linearIndices ; _rowIndices = rowIndices ; _colIndices = colIndices ; _realValues = linearArrayType . cast ( real ) ; _imagValues = linearArrayType . cast ( imag ) ; }
data from matlab . provided as the indices , linear arrays of values , and dimensions . the indices are expected to be sorted in increasing value and the real and imaginary values are to correspond to these indices .
