Package org.ojalgo.structure
Interface Factory2D<I extends Structure2D>
-
- All Superinterfaces:
FactorySupplement
- All Known Subinterfaces:
Factory2D.MayBeSparse<I,DENSE,SPARSE>
,Factory2D.TwoStep<I,B>
,PhysicalStore.Factory<N,I>
- All Known Implementing Classes:
Array2D.Factory
,GenericStore.Factory
,MatrixC128.Factory
,MatrixFactory
,MatrixH256.Factory
,MatrixQ128.Factory
,MatrixR032.Factory
,MatrixR064.Factory
,MatrixR128.Factory
,MatrixTensor.Factory
,PrimitiveFactory
,SparseStore.Factory
,TensorFactory2D
public interface Factory2D<I extends Structure2D> extends FactorySupplement
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Factory2D.Builder<I extends Structure2D>
static interface
Factory2D.MayBeSparse<I extends Structure2D,DENSE extends Factory2D.Builder<I>,SPARSE extends Factory2D.Builder<I>>
For when the structures can be either dense or sparse.static interface
Factory2D.TwoStep<I extends Structure2D,B extends Factory2D.Builder<I>>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Factory1D<I>
asFactory1D()
I
make(int nbRows, int nbCols)
default I
make(long nbRows, long nbCols)
default I
make(Structure1D struct1, Structure1D struct2)
Make new instance of compatible dimensions.default I
make(Structure2D shape)
-
Methods inherited from interface org.ojalgo.structure.FactorySupplement
function, getMathType, scalar
-
-
-
-
Method Detail
-
make
I make(int nbRows, int nbCols)
-
make
default I make(long nbRows, long nbCols)
-
make
default I make(Structure1D struct1, Structure1D struct2)
Make new instance of compatible dimensions.
-
make
default I make(Structure2D shape)
-
-