Package org.ojalgo.structure
Interface Factory2D.MayBeSparse<I extends Structure2D,DENSE extends Factory2D.Builder<I>,SPARSE extends Factory2D.Builder<I>>
- All Superinterfaces:
Factory2D<I>
,Factory2D.TwoStep<I,
,DENSE> FactorySupplement
- All Known Implementing Classes:
Array2D.Factory
,MatrixC128.Factory
,MatrixFactory
,MatrixH256.Factory
,MatrixQ128.Factory
,MatrixR032.Factory
,MatrixR064.Factory
,MatrixR128.Factory
- Enclosing interface:
Factory2D<I extends Structure2D>
public static interface Factory2D.MayBeSparse<I extends Structure2D,DENSE extends Factory2D.Builder<I>,SPARSE extends Factory2D.Builder<I>>
extends Factory2D.TwoStep<I,DENSE>
For when the structures can be either dense or sparse.
-
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 TypeMethodDescriptiondefault DENSE
newBuilder
(long nbRows, long nbCols) newDenseBuilder
(long nbRows, long nbCols) newSparseBuilder
(long nbRows, long nbCols) 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, makeFilled, row, row, row, row, rows
Methods inherited from interface org.ojalgo.structure.FactorySupplement
function, getMathType, scalar
-
Method Details
-
newBuilder
- Specified by:
newBuilder
in interfaceFactory2D.TwoStep<I extends Structure2D,
DENSE extends Factory2D.Builder<I>>
-
newDenseBuilder
-
newSparseBuilder
-