Package org.ojalgo.matrix.store
Class GenericStore.Factory<N extends Scalar<N>>
- 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>>
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 DenseArray.Factory<N>
myDenseArrayFactory
-
Constructor Summary
Constructors Constructor Description Factory(DenseArray.Factory<N> denseArrayFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregatorSet<N>
aggregator()
DenseArray.Factory<N>
array()
GenericStore<N>
conjugate(Access2D<?> source)
GenericStore<N>
copy(Access2D<?> source)
FunctionSet<N>
function()
MathType
getMathType()
GenericStore<N>
make(int nbRows, int nbCols)
GenericStore<N>
make(long nbRows, long 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, 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 DenseArray.Factory<N extends Scalar<N>> myDenseArrayFactory
-
-
Constructor Detail
-
Factory
Factory(DenseArray.Factory<N> denseArrayFactory)
-
-
Method Detail
-
aggregator
public AggregatorSet<N> aggregator()
- Specified by:
aggregator
in interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
array
public DenseArray.Factory<N> array()
- Specified by:
array
in interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
conjugate
public GenericStore<N> conjugate(Access2D<?> source)
- Specified by:
conjugate
in interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
copy
public GenericStore<N> copy(Access2D<?> source)
- Specified by:
copy
in interfaceFactory2D.TwoStep<GenericStore<N extends Scalar<N>>,GenericStore<N extends Scalar<N>>>
-
function
public FunctionSet<N> function()
- Specified by:
function
in interfaceFactorySupplement
- Specified by:
function
in interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
getMathType
public MathType getMathType()
- Specified by:
getMathType
in interfaceFactorySupplement
-
make
public GenericStore<N> make(int nbRows, int nbCols)
- Specified by:
make
in interfaceFactory2D<N extends Scalar<N>>
- Specified by:
make
in interfaceFactory2D.TwoStep<GenericStore<N extends Scalar<N>>,GenericStore<N extends Scalar<N>>>
-
make
public GenericStore<N> make(long nbRows, long nbCols)
- Specified by:
make
in interfaceFactory2D<N extends Scalar<N>>
- Specified by:
make
in interfaceFactory2D.TwoStep<GenericStore<N extends Scalar<N>>,GenericStore<N extends Scalar<N>>>
-
makeHouseholder
public Householder.Generic<N> makeHouseholder(int length)
- Specified by:
makeHouseholder
in 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:
makeRotation
in 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:
makeRotation
in interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
scalar
public Scalar.Factory<N> scalar()
- Specified by:
scalar
in interfaceFactorySupplement
- Specified by:
scalar
in interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
transpose
public GenericStore<N> transpose(Access2D<?> source)
- Specified by:
transpose
in interfacePhysicalStore.Factory<N extends Scalar<N>,GenericStore<N extends Scalar<N>>>
-
-