Package org.ojalgo.matrix.store
Interface PhysicalStore.Factory<N extends Comparable<N>,I extends PhysicalStore<N> & Factory2D.Builder<I>>
- All Superinterfaces:
Factory2D<I>
,Factory2D.TwoStep<I,
,I> FactorySupplement
- All Known Implementing Classes:
GenericStore.Factory
,PrimitiveFactory
- Enclosing interface:
PhysicalStore<N extends Comparable<N>>
public static interface PhysicalStore.Factory<N extends Comparable<N>,I extends PhysicalStore<N> & Factory2D.Builder<I>>
extends Factory2D.TwoStep<I,I>
-
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>> -
Method Summary
Modifier and TypeMethodDescriptionarray()
function()
default ColumnsSupplier
<N> makeColumnsSupplier
(int numberOfRows) default <D extends Access1D<?>>
DiagonalStore.Builder<N, D> makeDiagonal
(D mainDiagonal) default I
makeEye
(long rows, long columns) default I
makeEye
(Structure2D shape) default I
makeFilled
(long rows, long columns, NullaryFunction<?> supplier) makeHouseholder
(int length) default MatrixStore
<N> makeIdentity
(long dimension) makeRotation
(int low, int high, double cos, double sin) makeRotation
(int low, int high, N cos, N sin) default RowsSupplier
<N> makeRowsSupplier
(int numberOfColumns) default MatrixStore
<N> makeSingle
(double element) default MatrixStore
<N> makeSingle
(N element) default SparseStore
<N> makeSparse
(long nbRows, long nbCols) default SparseStore
<N> makeSparse
(Structure2D shape) default I
makeSPD
(int dim) Make a random Symmetric Positive Definite matrixdefault MatrixStore
<N> makeWrapper
(Access2D<?> access) default MatrixStore
<N> makeWrapperColumn
(Access1D<?> access) default MatrixStore
<N> makeZero
(long rowsCount, long columnsCount) default MatrixStore
<N> makeZero
(Structure2D shape) default I
newBuilder
(long nbRows, long nbCols) scalar()
default TensorFactory1D
<N, I> tensor1D()
default TensorFactory2D
<N, I> tensor2D()
Methods inherited from interface org.ojalgo.structure.Factory2D
asFactory1D, make
Methods inherited from interface org.ojalgo.structure.Factory2D.TwoStep
column, column, column, column, columns, copy, make, make, make, row, row, row, row, rows
Methods inherited from interface org.ojalgo.structure.FactorySupplement
getMathType
-
Method Details
-
aggregator
AggregatorSet<N> aggregator() -
array
DenseArray.Factory<N> array() -
conjugate
-
function
FunctionSet<N> function()- Specified by:
function
in interfaceFactorySupplement
-
makeColumnsSupplier
-
makeDiagonal
-
makeEye
-
makeEye
-
makeFilled
- Specified by:
makeFilled
in interfaceFactory2D.TwoStep<N extends Comparable<N>,
I extends PhysicalStore<N> & Factory2D.Builder<I>>
-
makeHouseholder
-
makeIdentity
-
makeRotation
-
makeRotation
-
makeRowsSupplier
-
makeSingle
-
makeSingle
-
makeSparse
-
makeSparse
-
makeSPD
Make a random Symmetric Positive Definite matrix -
makeWrapper
-
makeWrapperColumn
-
makeZero
-
makeZero
-
newBuilder
- Specified by:
newBuilder
in interfaceFactory2D.TwoStep<N extends Comparable<N>,
I extends PhysicalStore<N> & Factory2D.Builder<I>>
-
scalar
Scalar.Factory<N> scalar()- Specified by:
scalar
in interfaceFactorySupplement
-
tensor1D
-
tensor2D
-
transpose
-