public interface Tensor<N extends Number> extends AccessAnyD<N>, NormedVectorSpace<Tensor<N>,N>
AccessAnyD.Aggregatable<N extends Number>, AccessAnyD.Collectable<N extends Number,R extends MutateAnyD.Receiver<N>>, AccessAnyD.Elements, AccessAnyD.IndexOf, AccessAnyD.Sliceable<N extends Number>, AccessAnyD.Visitable<N extends Number>
StructureAnyD.IntReference, StructureAnyD.Logical<S extends StructureAnyD,B extends StructureAnyD.Logical<S,?>>, StructureAnyD.LongReference, StructureAnyD.ReducibleTo1D<R extends Structure1D>, StructureAnyD.ReducibleTo2D<R extends Structure2D>, StructureAnyD.ReferenceCallback, StructureAnyD.ReferenceMapper
Access1D.ElementView<N extends Number>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Group.Additive<S>, Group.Multiplicative<S>
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>
ScalarOperation.Addition<T,N extends Number>, ScalarOperation.Division<T,N extends Number>, ScalarOperation.Multiplication<T,N extends Number>, ScalarOperation.Subtraction<T,N extends Number>
Modifier and Type | Method and Description |
---|---|
default long |
count(int dimension) |
int |
dimensions() |
static <N extends Number & Scalar<N>> |
make(DenseArray.Factory<N> arrayFactory,
int rank,
int dimensions) |
static Tensor<Double> |
makePrimitive(int rank,
int dimensions) |
int |
rank() |
asCollectableAnyD, asPrimitiveAnyD, byteValue, byteValue, doubleValue, doubleValue, equals, floatValue, floatValue, get, get, intValue, intValue, longValue, longValue, matrices, shortValue, shortValue
count, count, count, count, count, index, index, index, loop, loop, loop, loopAll, loopMatching, mapperOf, reference, shape, shape, step, step, step, step
asCollectable1D, asPrimitive1D, axpy, dot, elements, equals, hashCode, nonzeros, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
index, loopAll, loopMatching, loopRange, mapper, size
isSmall, norm, signum
conjugate
negate
add
multiply, multiply
static <N extends Number & Scalar<N>> Tensor<N> make(DenseArray.Factory<N> arrayFactory, int rank, int dimensions)
default long count(int dimension)
count
in interface StructureAnyD
int dimensions()
int rank()
rank
in interface StructureAnyD
Copyright © 2019 Optimatika. All rights reserved.