Module ojalgo
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>
- 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.
- Author:
- apete
-
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 TypeMethodDescriptionFunctionSet<?> function()default DENSEnewBuilder(long nbRows, long nbCols) newDenseBuilder(long nbRows, long nbCols) newSparseBuilder(long nbRows, long nbCols) scalar()Methods inherited from interface org.ojalgo.structure.Factory2D
asFactory1D, make
-
Method Details
-
newBuilder
- Specified by:
newBuilderin interfaceFactory2D.TwoStep<I extends Structure2D,DENSE extends Factory2D.Builder<I>>
-
newDenseBuilder
-
newSparseBuilder
-
function
FunctionSet<?> function() -
getMathType
MathType getMathType() -
scalar
Scalar.Factory<?> scalar()
-