- java.lang.Object
-
- org.ojalgo.matrix.store.GenericStore.Factory<N>
-
- All Implemented Interfaces:
PhysicalStore.Factory<N,GenericStore<N>>,Factory2D<GenericStore<N>>,Factory2D.TwoStep<GenericStore<N>,GenericStore<N>>,FactorySupplement
- Enclosing class:
- GenericStore<N extends Scalar<N>>
public static final class GenericStore.Factory<N extends Scalar<N>> extends java.lang.Object implements PhysicalStore.Factory<N,GenericStore<N>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Factory2D
Factory2D.Builder<I extends Structure2D>, Factory2D.MayBeSparse<I extends Structure2D,DENSE extends Factory2D.Builder<I>,SPARSE extends Factory2D.Builder<I>>, Factory2D.TwoStep<I extends Structure2D,B extends Factory2D.Builder<I>>
-
-
Field Summary
Fields Modifier and Type Field Description private ScalarArray.Factory<N>myDenseArrayFactory
-
Constructor Summary
Constructors Constructor Description Factory(ScalarArray.Factory<N> denseArrayFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregatorSet<N>aggregator()ScalarArray.Factory<N>array()GenericStore<N>conjugate(Access2D<?> source)GenericStore<N>copy(Access2D<?> source)FunctionSet<N>function()MathTypegetMathType()GenericStore<N>make(int nbRows, int nbCols)Householder.Generic<N>makeHouseholder(int length)Rotation.Generic<N>makeRotation(int low, int high, double cos, double sin)Rotation.Generic<N>makeRotation(int low, int high, N cos, N sin)Scalar.Factory<N>scalar()GenericStore<N>transpose(Access2D<?> source)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.structure.Factory2D
asFactory1D, make
-
Methods inherited from interface org.ojalgo.structure.Factory2D.TwoStep
column, column, column, column, columns, make, make, row, row, row, row, rows
-
Methods inherited from interface org.ojalgo.matrix.store.PhysicalStore.Factory
makeColumnsSupplier, makeDiagonal, makeEye, makeEye, makeFilled, makeIdentity, makeRowsSupplier, makeSingle, makeSingle, makeSparse, makeSparse, makeSPD, makeWrapper, makeWrapperColumn, makeZero, makeZero, newBuilder, tensor1D, tensor2D
-
-
-
-
Field Detail
-
myDenseArrayFactory
private final ScalarArray.Factory<N extends Scalar<N>> myDenseArrayFactory
-
-
Constructor Detail
-
Factory
Factory(ScalarArray.Factory<N> denseArrayFactory)
-
-
Method Detail
-
aggregator
public AggregatorSet<N> aggregator()
- Specified by:
aggregatorin interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
array
public ScalarArray.Factory<N> array()
- Specified by:
arrayin interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
conjugate
public GenericStore<N> conjugate(Access2D<?> source)
- Specified by:
conjugatein interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
copy
public GenericStore<N> copy(Access2D<?> source)
- Specified by:
copyin interfaceFactory2D.TwoStep<GenericStore<N extends Scalar<N>>,GenericStore<N extends Scalar<N>>>
-
function
public FunctionSet<N> function()
- Specified by:
functionin interfaceFactorySupplement- Specified by:
functionin interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
getMathType
public MathType getMathType()
- Specified by:
getMathTypein interfaceFactorySupplement
-
make
public GenericStore<N> make(int nbRows, int nbCols)
- Specified by:
makein interfaceFactory2D<N extends Scalar<N>>- Specified by:
makein interfaceFactory2D.TwoStep<GenericStore<N extends Scalar<N>>,GenericStore<N extends Scalar<N>>>
-
makeHouseholder
public Householder.Generic<N> makeHouseholder(int length)
- Specified by:
makeHouseholderin interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
makeRotation
public Rotation.Generic<N> makeRotation(int low, int high, double cos, double sin)
- Specified by:
makeRotationin interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
makeRotation
public Rotation.Generic<N> makeRotation(int low, int high, N cos, N sin)
- Specified by:
makeRotationin interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
scalar
public Scalar.Factory<N> scalar()
- Specified by:
scalarin interfaceFactorySupplement- Specified by:
scalarin interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
transpose
public GenericStore<N> transpose(Access2D<?> source)
- Specified by:
transposein interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
-