org.ujmp.core.objectmatrix.factory
Class DefaultSparseObjectMatrix2DFactory

java.lang.Object
  extended by org.ujmp.core.matrix.factory.AbstractMatrixFactory
      extended by org.ujmp.core.objectmatrix.factory.DefaultSparseObjectMatrix2DFactory
All Implemented Interfaces:
Serializable, Matrix2DFactory, MatrixFactoryRoot, SparseMatrix2DFactory, SparseMatrixFactory, ObjectMatrix2DFactory, ObjectMatrixFactory, SparseObjectMatrix2DFactory, SparseObjectMatrixFactory

public class DefaultSparseObjectMatrix2DFactory
extends AbstractMatrixFactory
implements SparseObjectMatrix2DFactory

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
DefaultSparseObjectMatrix2DFactory()
           
 
Method Summary
 SparseObjectMatrix2D zeros(long... size)
           
 SparseObjectMatrix2D zeros(long rows, long columns)
           
 
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

DefaultSparseObjectMatrix2DFactory

public DefaultSparseObjectMatrix2DFactory()
Method Detail

zeros

public SparseObjectMatrix2D zeros(long rows,
                                  long columns)
                           throws MatrixException
Specified by:
zeros in interface Matrix2DFactory
Specified by:
zeros in interface SparseMatrix2DFactory
Specified by:
zeros in interface ObjectMatrix2DFactory
Specified by:
zeros in interface SparseObjectMatrix2DFactory
Throws:
MatrixException

zeros

public SparseObjectMatrix2D zeros(long... size)
                           throws MatrixException
Specified by:
zeros in interface Matrix2DFactory
Specified by:
zeros in interface MatrixFactoryRoot
Specified by:
zeros in interface SparseMatrix2DFactory
Specified by:
zeros in interface SparseMatrixFactory
Specified by:
zeros in interface ObjectMatrix2DFactory
Specified by:
zeros in interface ObjectMatrixFactory
Specified by:
zeros in interface SparseObjectMatrix2DFactory
Specified by:
zeros in interface SparseObjectMatrixFactory
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.