Package org.ojalgo.array
Class ArrayAnyD.Factory<N extends java.lang.Comparable<N>>
- java.lang.Object
-
- org.ojalgo.array.ArrayAnyD.Factory<N>
-
- All Implemented Interfaces:
FactoryAnyD<ArrayAnyD<N>>
,FactoryAnyD.MayBeSparse<ArrayAnyD<N>,ArrayAnyD<N>,ArrayAnyD<N>>
,FactoryAnyD.TwoStep<ArrayAnyD<N>,ArrayAnyD<N>>
,FactorySupplement
public static final class ArrayAnyD.Factory<N extends java.lang.Comparable<N>> extends java.lang.Object implements FactoryAnyD.MayBeSparse<ArrayAnyD<N>,ArrayAnyD<N>,ArrayAnyD<N>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.FactoryAnyD
FactoryAnyD.Builder<I extends StructureAnyD>, FactoryAnyD.MayBeSparse<I extends StructureAnyD,DENSE extends FactoryAnyD.Builder<I>,SPARSE extends FactoryAnyD.Builder<I>>, FactoryAnyD.TwoStep<I extends StructureAnyD,B extends FactoryAnyD.Builder<I>>
-
-
Field Summary
Fields Modifier and Type Field Description private BasicArray.Factory<N>
myDelegate
-
Constructor Summary
Constructors Constructor Description Factory(DenseArray.Factory<N> denseArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayAnyD<N>
copy(AccessAnyD<?> source)
FunctionSet<N>
function()
MathType
getMathType()
ArrayAnyD<N>
make(int... shape)
ArrayAnyD<N>
make(long... shape)
ArrayAnyD<N>
makeFilled(long[] shape, NullaryFunction<?> supplier)
ArrayAnyD<N>
newDenseBuilder(long... shape)
ArrayAnyD<N>
newSparseBuilder(long... shape)
Scalar.Factory<N>
scalar()
TensorFactoryAnyD<N,ArrayAnyD<N>>
tensor()
-
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.FactoryAnyD
asFactory1D, make
-
Methods inherited from interface org.ojalgo.structure.FactoryAnyD.MayBeSparse
newBuilder
-
Methods inherited from interface org.ojalgo.structure.FactoryAnyD.TwoStep
make
-
-
-
-
Field Detail
-
myDelegate
private final BasicArray.Factory<N extends java.lang.Comparable<N>> myDelegate
-
-
Constructor Detail
-
Factory
Factory(DenseArray.Factory<N> denseArray)
-
-
Method Detail
-
copy
public ArrayAnyD<N> copy(AccessAnyD<?> source)
-
function
public FunctionSet<N> function()
- Specified by:
function
in interfaceFactorySupplement
-
getMathType
public MathType getMathType()
- Specified by:
getMathType
in interfaceFactorySupplement
-
makeFilled
public ArrayAnyD<N> makeFilled(long[] shape, NullaryFunction<?> supplier)
- Specified by:
makeFilled
in interfaceFactoryAnyD.TwoStep<ArrayAnyD<N extends java.lang.Comparable<N>>,ArrayAnyD<N extends java.lang.Comparable<N>>>
-
scalar
public Scalar.Factory<N> scalar()
- Specified by:
scalar
in interfaceFactorySupplement
-
tensor
public TensorFactoryAnyD<N,ArrayAnyD<N>> tensor()
-
-