Class TensorFactoryAnyD<N extends Comparable<N>, T extends MutateAnyD>
java.lang.Object
org.ojalgo.tensor.TensorFactoryAnyD<N,T>
- All Implemented Interfaces:
FactoryAnyD<T>, FactorySupplement
public final class TensorFactoryAnyD<N extends Comparable<N>, T extends MutateAnyD>
extends Object
implements FactoryAnyD<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface FactoryAnyD
FactoryAnyD.Builder<I>, FactoryAnyD.MayBeSparse<I,DENSE, SPARSE>, FactoryAnyD.TwoStep<I, B> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblocks(AccessAnyD<N>... tensors) Same asTensorFactory2D.blocks(Access2D...)but for higher/aribitrary rank tensors.copy(AccessAnyD<N> elements) booleanfunction()inthashCode()make(int... shape) make(long... shape) static <N extends Comparable<N>, T extends MutateAnyD>
TensorFactoryAnyD<N, T> of(FactoryAnyD<T> factory) scalar()Direct sum of vectors.Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryAnyD
asFactory1D, make, make
-
Field Details
-
myFactory
-
-
Constructor Details
-
TensorFactoryAnyD
TensorFactoryAnyD(FactoryAnyD<T> factory)
-
-
Method Details
-
of
public static <N extends Comparable<N>, T extends MutateAnyD> TensorFactoryAnyD<N,T> of(FactoryAnyD<T> factory) -
blocks
Same asTensorFactory2D.blocks(Access2D...)but for higher/aribitrary rank tensors. -
copy
-
copy
-
copy
-
equals
-
function
- Specified by:
functionin interfaceFactorySupplement
-
getMathType
- Specified by:
getMathTypein interfaceFactorySupplement
-
hashCode
-
make
- Specified by:
makein interfaceFactoryAnyD<N extends Comparable<N>>
-
make
- Specified by:
makein interfaceFactoryAnyD<N extends Comparable<N>>
-
power
-
product
-
scalar
- Specified by:
scalarin interfaceFactorySupplement
-
sum
-