org.ujmp.commonsmath
Class CommonsMathArrayDenseDoubleMatrix2DFactory

java.lang.Object
  extended by org.ujmp.core.matrix.factory.AbstractMatrixFactory
      extended by org.ujmp.core.doublematrix.factory.AbstractDoubleMatrix2DFactory
          extended by org.ujmp.commonsmath.CommonsMathArrayDenseDoubleMatrix2DFactory
All Implemented Interfaces:
Serializable, DenseDoubleMatrix2DFactory, DenseDoubleMatrixFactory, DoubleMatrix2DFactory, DoubleMatrixFactory, DenseMatrix2DFactory, DenseMatrixFactory, Matrix2DFactory, MatrixFactoryRoot

public class CommonsMathArrayDenseDoubleMatrix2DFactory
extends AbstractDoubleMatrix2DFactory
implements DenseDoubleMatrix2DFactory

See Also:
Serialized Form

Field Summary
static CommonsMathArrayDenseDoubleMatrix2DFactory INSTANCE
           
 
Fields inherited from interface org.ujmp.core.matrix.factory.MatrixFactoryRoot
ALL, COLUMN, NONE, ROW, X, Y, Z
 
Constructor Summary
CommonsMathArrayDenseDoubleMatrix2DFactory()
           
 
Method Summary
 DenseDoubleMatrix2D zeros(long... size)
           
 DenseDoubleMatrix2D 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
 

Field Detail

INSTANCE

public static final CommonsMathArrayDenseDoubleMatrix2DFactory INSTANCE
Constructor Detail

CommonsMathArrayDenseDoubleMatrix2DFactory

public CommonsMathArrayDenseDoubleMatrix2DFactory()
Method Detail

zeros

public DenseDoubleMatrix2D zeros(long rows,
                                 long columns)
                          throws MatrixException
Specified by:
zeros in interface DenseDoubleMatrix2DFactory
Specified by:
zeros in interface DoubleMatrix2DFactory
Specified by:
zeros in interface DenseMatrix2DFactory
Specified by:
zeros in interface Matrix2DFactory
Throws:
MatrixException

zeros

public DenseDoubleMatrix2D zeros(long... size)
                          throws MatrixException
Specified by:
zeros in interface DenseDoubleMatrix2DFactory
Specified by:
zeros in interface DenseDoubleMatrixFactory
Specified by:
zeros in interface DoubleMatrix2DFactory
Specified by:
zeros in interface DoubleMatrixFactory
Specified by:
zeros in interface DenseMatrix2DFactory
Specified by:
zeros in interface DenseMatrixFactory
Specified by:
zeros in interface Matrix2DFactory
Specified by:
zeros in interface MatrixFactoryRoot
Overrides:
zeros in class AbstractDoubleMatrix2DFactory
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.