Class TensorFactory2D<N extends Comparable<N>, T extends Mutate2D>
java.lang.Object
org.ojalgo.tensor.TensorFactory2D<N,T>
- All Implemented Interfaces:
Factory2D<T>, FactorySupplement
public final class TensorFactory2D<N extends Comparable<N>, T extends Mutate2D>
extends Object
implements Factory2D<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Factory2D
Factory2D.Builder<I>, Factory2D.MayBeSparse<I,DENSE, SPARSE>, Factory2D.TwoStep<I, B> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWill create a block diagonal tensor using the input matrices as blocks in the supplied order.booleanfunction()inthashCode()identity(int dimensions) The Kronecker matrix product / matrix tensor productmake(int nbRows, int nbCols) make(long nbRows, long nbCols) static <N extends Comparable<N>, T extends Mutate2D>
TensorFactory2D<N, T> Same asTensorFactoryAnyD.product(Access1D...)but explicitly for rank 2.scalar()Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Factory2D
asFactory1D, make, make
-
Field Details
-
myFactory
-
-
Constructor Details
-
TensorFactory2D
-
-
Method Details
-
of
public static <N extends Comparable<N>, T extends Mutate2D> TensorFactory2D<N,T> of(Factory2D<T> factory) -
blocks
-
copy
-
equals
-
function
- Specified by:
functionin interfaceFactorySupplement
-
getMathType
- Specified by:
getMathTypein interfaceFactorySupplement
-
hashCode
-
identity
-
kronecker
-
make
-
make
-
power2
-
product
-
scalar
- Specified by:
scalarin interfaceFactorySupplement
-