java.lang.Object
org.ojalgo.matrix.store.SparseStore.Factory<N>
- All Implemented Interfaces:
Factory2D<SparseStore<N>>,Factory2D.TwoStep<SparseStore<N>,SparseStore.Builder<N>>
- Enclosing class:
SparseStore<N extends Comparable<N>>
public static final class SparseStore.Factory<N extends Comparable<N>>
extends Object
implements Factory2D<SparseStore<N>>, Factory2D.TwoStep<SparseStore<N>,SparseStore.Builder<N>>
-
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()initial(IntBinaryOperator initial) Specify how to calculate the initial capacity of the sparse store, based on the number of rows and columns.make(int nbRows, int nbCols) newBuilder(long nbRows, long nbCols) scalar()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ojalgo.structure.Factory2D
asFactory1D, make
-
Method Details
-
copy
- Specified by:
copyin interfaceFactory2D.TwoStep<SparseStore<N extends Comparable<N>>,SparseStore.Builder<N extends Comparable<N>>>
-
function
-
getMathType
-
initial
Specify how to calculate the initial capacity of the sparse store, based on the number of rows and columns. -
make
- Specified by:
makein interfaceFactory2D<N extends Comparable<N>>- Specified by:
makein interfaceFactory2D.TwoStep<SparseStore<N extends Comparable<N>>,SparseStore.Builder<N extends Comparable<N>>>
-
newBuilder
- Specified by:
newBuilderin interfaceFactory2D.TwoStep<SparseStore<N extends Comparable<N>>,SparseStore.Builder<N extends Comparable<N>>>
-
scalar
-