org.ujmp.commonsmath
Class CommonsMathDenseDoubleMatrix2DFactory

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

public class CommonsMathDenseDoubleMatrix2DFactory
extends AbstractDoubleMatrix2DFactory

See Also:
Serialized Form

Field Summary
static CommonsMathDenseDoubleMatrix2DFactory INSTANCE
           
 
Fields inherited from interface org.ujmp.core.matrix.factory.MatrixFactoryRoot
ALL, COLUMN, NONE, ROW, X, Y, Z
 
Constructor Summary
CommonsMathDenseDoubleMatrix2DFactory()
           
 
Method Summary
 DenseDoubleMatrix2D dense(org.apache.commons.math.linear.Array2DRowRealMatrix matrix)
           
 DenseDoubleMatrix2D dense(org.apache.commons.math.linear.BlockRealMatrix matrix)
           
 Matrix dense(org.apache.commons.math.linear.RealMatrix matrix)
           
 DenseDoubleMatrix2D zeros(long rows, long columns)
           
 
Methods inherited from class org.ujmp.core.doublematrix.factory.AbstractDoubleMatrix2DFactory
zeros
 
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 CommonsMathDenseDoubleMatrix2DFactory INSTANCE
Constructor Detail

CommonsMathDenseDoubleMatrix2DFactory

public CommonsMathDenseDoubleMatrix2DFactory()
Method Detail

zeros

public DenseDoubleMatrix2D zeros(long rows,
                                 long columns)
                          throws MatrixException
Throws:
MatrixException

dense

public DenseDoubleMatrix2D dense(org.apache.commons.math.linear.Array2DRowRealMatrix matrix)
                          throws MatrixException
Throws:
MatrixException

dense

public DenseDoubleMatrix2D dense(org.apache.commons.math.linear.BlockRealMatrix matrix)
                          throws MatrixException
Throws:
MatrixException

dense

public Matrix dense(org.apache.commons.math.linear.RealMatrix matrix)


Copyright © 2010. All Rights Reserved.