org.ujmp.core.doublematrix.factory
Class DefaultSparseDoubleMatrix2DFactory

java.lang.Object
  extended by org.ujmp.core.matrix.factory.AbstractMatrixFactory
      extended by org.ujmp.core.doublematrix.factory.AbstractDoubleMatrix2DFactory
          extended by org.ujmp.core.doublematrix.factory.DefaultSparseDoubleMatrix2DFactory
All Implemented Interfaces:
Serializable, DoubleMatrix2DFactory, DoubleMatrixFactory, SparseDoubleMatrix2DFactory, SparseDoubleMatrixFactory, Matrix2DFactory, MatrixFactoryRoot, SparseMatrix2DFactory, SparseMatrixFactory

public class DefaultSparseDoubleMatrix2DFactory
extends AbstractDoubleMatrix2DFactory
implements SparseDoubleMatrix2DFactory

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.ujmp.core.matrix.factory.MatrixFactoryRoot
ALL, COLUMN, NONE, ROW, X, Y, Z
 
Constructor Summary
DefaultSparseDoubleMatrix2DFactory()
           
 
Method Summary
 SparseDoubleMatrix2D zeros(long... size)
           
 SparseDoubleMatrix2D zeros(long rows, long cols)
           
 
Methods inherited from class org.ujmp.core.matrix.factory.AbstractMatrixFactory
eye, ones, rand, randn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.matrix.factory.MatrixFactoryRoot
eye, ones, rand, randn
 

Constructor Detail

DefaultSparseDoubleMatrix2DFactory

public DefaultSparseDoubleMatrix2DFactory()
Method Detail

zeros

public SparseDoubleMatrix2D zeros(long... size)
                           throws MatrixException
Specified by:
zeros in interface DoubleMatrix2DFactory
Specified by:
zeros in interface DoubleMatrixFactory
Specified by:
zeros in interface SparseDoubleMatrix2DFactory
Specified by:
zeros in interface SparseDoubleMatrixFactory
Specified by:
zeros in interface Matrix2DFactory
Specified by:
zeros in interface MatrixFactoryRoot
Specified by:
zeros in interface SparseMatrix2DFactory
Specified by:
zeros in interface SparseMatrixFactory
Overrides:
zeros in class AbstractDoubleMatrix2DFactory
Throws:
MatrixException

zeros

public SparseDoubleMatrix2D zeros(long rows,
                                  long cols)
                           throws MatrixException
Specified by:
zeros in interface DoubleMatrix2DFactory
Specified by:
zeros in interface SparseDoubleMatrix2DFactory
Specified by:
zeros in interface Matrix2DFactory
Specified by:
zeros in interface SparseMatrix2DFactory
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.