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.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, doubleValue, doubleValue, equals, get, get
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, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
loopAll, loopMatching, loopRange, mapper
forEach, spliterator
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 © 2018 Optimatika. All rights reserved.