|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.matrix.factory.DefaultFactory<N>
@Deprecated public class DefaultFactory<N extends Number>
DefaultFactory creates instances of classes that implement the BasicMatrix interface and have constructors matching the MatrixFactory make(...) methods.
DefaultFactory uses reflection to call the appropriate constructor. This takes slightly longer than calling the matrix' constructors directly. If you need to instantiate a large number of small matrices; using DefaultFactory may not be your best alternative. In that case you should consider coding a different MatrixFactory implementation. In the vast majority of cases you do not need to worry about this.
Constructor Summary | |
---|---|
DefaultFactory(Class<? extends BasicMatrix> aTemplate,
PhysicalFactory<N> aPhysical)
Deprecated. |
Method Summary | |
---|---|
BasicMatrix |
buildColumnVector(List<BigDecimal> aColumn)
Deprecated. Use #makeColumnVector(List instead |
BasicMatrix |
buildEye(int aRowDim,
int aColDim)
Deprecated. Use makeEye(int,int) instead |
BasicMatrix |
buildRandom(int aRowDim,
int aColDim,
RandomNumber aRndm)
Deprecated. Use makeRandom(int,int,RandomNumber) instead |
BasicMatrix |
buildRowVector(List<BigDecimal> aRow)
Deprecated. Use #makeRowVector(List instead |
BasicMatrix |
buildZero(int aRowDim,
int aColDim)
Deprecated. Use makeZero(int,int) instead |
BasicMatrix |
copy(Array2Dim<? extends Number> anArray)
Deprecated. Use copyArray(Array2Dim) instead |
BasicMatrix |
copy(BasicMatrix aMtrx)
Deprecated. Use copyMatrix(BasicMatrix) instead |
BasicMatrix |
copy(double[][] aRaw)
Deprecated. Use copyRaw(double[][]) instead |
BasicMatrix |
copy(MatrixStore<? extends Number> aStore)
Deprecated. Use copyStore(MatrixStore) instead |
BasicMatrix |
copyArray(Array2Dim<? extends Number> anArray)
Deprecated. |
BasicMatrix |
copyMatrix(BasicMatrix aMtrx)
Deprecated. |
BasicMatrix |
copyRaw(double[][] aRaw)
Deprecated. |
BasicMatrix |
copyStore(MatrixStore<? extends Number> aStore)
Deprecated. |
BasicMatrix |
instantiate(MatrixStore<N> aStore)
Deprecated. |
BasicMatrix |
makeColumnVector(List<? extends Number> aColumn)
Deprecated. |
BasicMatrix |
makeEye(int aRowDim,
int aColDim)
Deprecated. |
BasicMatrix |
makeRandom(int aRowDim,
int aColDim,
RandomNumber aRndm)
Deprecated. |
BasicMatrix |
makeRowVector(List<? extends Number> aRow)
Deprecated. |
BasicMatrix |
makeZero(int aRowDim,
int aColDim)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFactory(Class<? extends BasicMatrix> aTemplate, PhysicalFactory<N> aPhysical)
Method Detail |
---|
@Deprecated public BasicMatrix buildColumnVector(List<BigDecimal> aColumn)
#makeColumnVector(List)
instead
buildColumnVector
in interface MatrixFactory
BasicMatrix.toListOfElements()
,
BasicMatrix.Factory.makeRowVector(List)
@Deprecated public BasicMatrix buildEye(int aRowDim, int aColDim)
makeEye(int,int)
instead
MatrixFactory
buildEye
in interface MatrixFactory
@Deprecated public BasicMatrix buildRandom(int aRowDim, int aColDim, RandomNumber aRndm)
makeRandom(int,int,RandomNumber)
instead
buildRandom
in interface MatrixFactory
@Deprecated public BasicMatrix buildRowVector(List<BigDecimal> aRow)
#makeRowVector(List)
instead
buildRowVector
in interface MatrixFactory
BasicMatrix.toListOfElements()
,
BasicMatrix.Factory.makeColumnVector(List)
@Deprecated public BasicMatrix buildZero(int aRowDim, int aColDim)
makeZero(int,int)
instead
buildZero
in interface MatrixFactory
@Deprecated public BasicMatrix copy(Array2Dim<? extends Number> anArray)
copyArray(Array2Dim)
instead
copy
in interface MatrixFactory
@Deprecated public BasicMatrix copy(BasicMatrix aMtrx)
copyMatrix(BasicMatrix)
instead
copy
in interface MatrixFactory
@Deprecated public BasicMatrix copy(double[][] aRaw)
copyRaw(double[][])
instead
copy
in interface MatrixFactory
@Deprecated public BasicMatrix copy(MatrixStore<? extends Number> aStore)
copyStore(MatrixStore)
instead
copy
in interface MatrixFactory
public BasicMatrix copyArray(Array2Dim<? extends Number> anArray)
copyArray
in interface BasicMatrix.Factory
public BasicMatrix copyMatrix(BasicMatrix aMtrx)
copyMatrix
in interface BasicMatrix.Factory
public BasicMatrix copyRaw(double[][] aRaw)
copyRaw
in interface BasicMatrix.Factory
public BasicMatrix copyStore(MatrixStore<? extends Number> aStore)
copyStore
in interface BasicMatrix.Factory
public BasicMatrix instantiate(MatrixStore<N> aStore)
public BasicMatrix makeColumnVector(List<? extends Number> aColumn)
makeColumnVector
in interface BasicMatrix.Factory
BasicMatrix.toListOfElements()
,
BasicMatrix.Factory.makeRowVector(List)
public BasicMatrix makeEye(int aRowDim, int aColDim)
makeEye
in interface BasicMatrix.Factory
public BasicMatrix makeRandom(int aRowDim, int aColDim, RandomNumber aRndm)
makeRandom
in interface BasicMatrix.Factory
public BasicMatrix makeRowVector(List<? extends Number> aRow)
makeRowVector
in interface BasicMatrix.Factory
BasicMatrix.toListOfElements()
,
BasicMatrix.Factory.makeColumnVector(List)
public BasicMatrix makeZero(int aRowDim, int aColDim)
makeZero
in interface BasicMatrix.Factory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |