Package org.ojalgo.structure
Interface Factory1D.MayBeSparse<I extends Structure1D,DENSE extends Factory1D.Builder<I>,SPARSE extends Factory1D.Builder<I>>
-
- All Superinterfaces:
Factory1D<I>
,Factory1D.TwoStep<I,DENSE>
,FactorySupplement
- All Known Implementing Classes:
Array1D.Factory
- Enclosing interface:
- Factory1D<I extends Structure1D>
public static interface Factory1D.MayBeSparse<I extends Structure1D,DENSE extends Factory1D.Builder<I>,SPARSE extends Factory1D.Builder<I>> extends Factory1D.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.Factory1D
Factory1D.Builder<I extends Structure1D>, Factory1D.MayBeSparse<I extends Structure1D,DENSE extends Factory1D.Builder<I>,SPARSE extends Factory1D.Builder<I>>, Factory1D.TwoStep<I extends Structure1D,B extends Factory1D.Builder<I>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DENSE
newBuilder(long count)
DENSE
newDenseBuilder(long count)
SPARSE
newSparseBuilder(long count)
-
Methods inherited from interface org.ojalgo.structure.Factory1D.TwoStep
copy, copy, copy, copy, make, make, make, makeFilled
-
Methods inherited from interface org.ojalgo.structure.FactorySupplement
function, getMathType, scalar
-
-
-
-
Method Detail
-
newBuilder
default DENSE newBuilder(long count)
- Specified by:
newBuilder
in interfaceFactory1D.TwoStep<I extends Structure1D,DENSE extends Factory1D.Builder<I>>
-
newDenseBuilder
DENSE newDenseBuilder(long count)
-
newSparseBuilder
SPARSE newSparseBuilder(long count)
-
-