org.ojalgo.matrix.jama
Class JamaFactory
java.lang.Object
org.ojalgo.matrix.jama.JamaFactory
- All Implemented Interfaces:
- Serializable, BasicMatrix.Factory, PhysicalStore.Factory<Double>
public final class JamaFactory
- extends Object
- implements BasicMatrix.Factory, PhysicalStore.Factory<Double>
Implements both BasicMatrix.Factory and
PhysicalStore.Factory, and creates
JamaMatrix instances.
- Author:
- apete
- See Also:
- Serialized Form
conjugate
public JamaMatrix conjugate(Access2D<? extends Number> aSource)
- Specified by:
conjugate in interface PhysicalStore.Factory<Double>
copy
public JamaMatrix copy(Access2D<? extends Number> aSource)
- Specified by:
copy in interface BasicMatrix.Factory- Specified by:
copy in interface PhysicalStore.Factory<Double>
copy
public JamaMatrix copy(double[][] aSource)
- Specified by:
copy in interface BasicMatrix.Factory- Specified by:
copy in interface PhysicalStore.Factory<Double>
getAggregatorCollection
public AggregatorCollection<Double> getAggregatorCollection()
- Specified by:
getAggregatorCollection in interface PhysicalStore.Factory<Double>
getFunctionSet
public FunctionSet<Double> getFunctionSet()
- Specified by:
getFunctionSet in interface PhysicalStore.Factory<Double>
getNumber
public Double getNumber(double aNmbr)
- Specified by:
getNumber in interface PhysicalStore.Factory<Double>
getNumber
public Double getNumber(Number aNmbr)
- Specified by:
getNumber in interface PhysicalStore.Factory<Double>
getStaticOne
public PrimitiveScalar getStaticOne()
- Specified by:
getStaticOne in interface PhysicalStore.Factory<Double>
getStaticZero
public PrimitiveScalar getStaticZero()
- Specified by:
getStaticZero in interface PhysicalStore.Factory<Double>
makeColumn
public PhysicalStore<Double> makeColumn(Access1D<? extends Number> aColumn)
- Specified by:
makeColumn in interface PhysicalStore.Factory<Double>
makeColumn
public JamaMatrix makeColumn(double[] aColumn)
- Specified by:
makeColumn in interface PhysicalStore.Factory<Double>
makeColumn
public JamaMatrix makeColumn(Double[] aColumn)
- Specified by:
makeColumn in interface PhysicalStore.Factory<Double>
makeColumn
public JamaMatrix makeColumn(List<Double> aColumn)
- Specified by:
makeColumn in interface PhysicalStore.Factory<Double>
makeColumnVector
public JamaMatrix makeColumnVector(List<? extends Number> aColumn)
- Specified by:
makeColumnVector in interface BasicMatrix.Factory
- See Also:
BasicMatrix.toListOfElements(),
BasicMatrix.Factory.makeRowVector(List)
makeEmpty
public JamaMatrix makeEmpty(int aRowDim,
int aColDim)
- Specified by:
makeEmpty in interface PhysicalStore.Factory<Double>
makeEye
public JamaMatrix makeEye(int aRowDim,
int aColDim)
- Specified by:
makeEye in interface BasicMatrix.Factory- Specified by:
makeEye in interface PhysicalStore.Factory<Double>
makeRandom
public JamaMatrix makeRandom(int aRowDim,
int aColDim,
RandomNumber aRndm)
- Specified by:
makeRandom in interface BasicMatrix.Factory
makeRowVector
public JamaMatrix makeRowVector(List<? extends Number> aRow)
- Specified by:
makeRowVector in interface BasicMatrix.Factory
- See Also:
BasicMatrix.toListOfElements(),
BasicMatrix.Factory.makeColumnVector(List)
makeZero
public JamaMatrix makeZero(int aRowDim,
int aColDim)
- Specified by:
makeZero in interface BasicMatrix.Factory- Specified by:
makeZero in interface PhysicalStore.Factory<Double>
toScalar
public PrimitiveScalar toScalar(double aNmbr)
- Specified by:
toScalar in interface PhysicalStore.Factory<Double>
toScalar
public PrimitiveScalar toScalar(Number aNmbr)
- Specified by:
toScalar in interface PhysicalStore.Factory<Double>
transpose
public JamaMatrix transpose(Access2D<? extends Number> aSource)
- Specified by:
transpose in interface PhysicalStore.Factory<Double>