Package org.ojalgo.array
Class OffHeapArray.Factory
- All Implemented Interfaces:
Factory1D<DenseArray<Double>>
,Factory1D.TwoStep<DenseArray<Double>,
,DenseArray<Double>> FactorySupplement
- Enclosing class:
OffHeapArray
-
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>> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfunction()
(package private) long
makeDenseArray
(long size) scalar()
Methods inherited from class org.ojalgo.array.DenseArray.Factory
getElementSize, makeStructuredZero, makeToBeFilled, newBuilder
Methods inherited from class org.ojalgo.array.ArrayFactory
make, make, makeSegmented, wrapAsSegments
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ojalgo.structure.Factory1D.TwoStep
copy, copy, copy, copy, make, make, make, makeFilled
-
Field Details
-
myConstructor
-
myMathType
-
-
Constructor Details
-
Factory
Factory(MathType mathType, LongFunction<OffHeapArray> constructor)
-
-
Method Details
-
aggregator
- Specified by:
aggregator
in classArrayFactory<Double,
DenseArray<Double>>
-
function
- Specified by:
function
in interfaceFactorySupplement
- Specified by:
function
in classArrayFactory<Double,
DenseArray<Double>>
-
getMathType
-
makeDenseArray
- Specified by:
makeDenseArray
in classDenseArray.Factory<Double>
-
scalar
- Specified by:
scalar
in interfaceFactorySupplement
- Specified by:
scalar
in classArrayFactory<Double,
DenseArray<Double>>
-
getCapacityLimit
long getCapacityLimit()- Overrides:
getCapacityLimit
in classDenseArray.Factory<Double>
-