org.ujmp.core.matrix.factory
Class AbstractMatrixFactory

java.lang.Object
  extended by org.ujmp.core.matrix.factory.AbstractMatrixFactory
All Implemented Interfaces:
Serializable, MatrixFactoryRoot
Direct Known Subclasses:
AbstractDoubleMatrix2DFactory, DefaultDenseDoubleMatrixFactory, DefaultDenseObjectMatrix2DFactory, DefaultDenseObjectMatrixFactory, DefaultSparseDoubleMatrixFactory, DefaultSparseObjectMatrix2DFactory, DefaultSparseObjectMatrixFactory, MatrixFactoryTemp

public abstract class AbstractMatrixFactory
extends Object
implements MatrixFactoryRoot

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
AbstractMatrixFactory()
           
 
Method Summary
 Matrix eye(long... size)
           
 Matrix ones(long... size)
           
 Matrix rand(long... size)
           
 Matrix randn(long... size)
           
 
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
zeros
 

Constructor Detail

AbstractMatrixFactory

public AbstractMatrixFactory()
Method Detail

rand

public Matrix rand(long... size)
Specified by:
rand in interface MatrixFactoryRoot

randn

public Matrix randn(long... size)
Specified by:
randn in interface MatrixFactoryRoot

ones

public Matrix ones(long... size)
Specified by:
ones in interface MatrixFactoryRoot

eye

public Matrix eye(long... size)
Specified by:
eye in interface MatrixFactoryRoot


Copyright © 2010. All Rights Reserved.