Interface FactoryAnyD.MayBeSparse<I extends StructureAnyD, DENSE extends FactoryAnyD.Builder<I>, SPARSE extends FactoryAnyD.Builder<I>>
- All Superinterfaces:
FactoryAnyD<I>, FactoryAnyD.TwoStep<I,DENSE>
- All Known Implementing Classes:
ArrayAnyD.Factory
- Enclosing interface:
FactoryAnyD<I extends StructureAnyD>
public static interface FactoryAnyD.MayBeSparse<I extends StructureAnyD, DENSE extends FactoryAnyD.Builder<I>, SPARSE extends FactoryAnyD.Builder<I>>
extends FactoryAnyD.TwoStep<I,DENSE>
For when the structures can be either dense or sparse.
- Author:
- apete
-
Nested Class Summary
Nested classes/interfaces inherited from interface FactoryAnyD
FactoryAnyD.Builder<I>, FactoryAnyD.MayBeSparse<I,DENSE, SPARSE>, FactoryAnyD.TwoStep<I, B> -
Method Summary
Modifier and TypeMethodDescriptionFunctionSet<?> function()default DENSEnewBuilder(long... shape) newDenseBuilder(long... shape) newSparseBuilder(long... shape) scalar()Methods inherited from interface FactoryAnyD
asFactory1D, makeMethods inherited from interface FactoryAnyD.TwoStep
copy, make, make, make, makeFilled
-
Method Details
-
newBuilder
- Specified by:
newBuilderin interfaceFactoryAnyD.TwoStep<I extends StructureAnyD, DENSE extends FactoryAnyD.Builder<I>>
-
newDenseBuilder
-
newSparseBuilder
-
function
FunctionSet<?> function() -
getMathType
MathType getMathType() -
scalar
Scalar.Factory<?> scalar()
-