E
- type of the values hold in the tensor.public interface Tensor<E> extends Tensoric<E>
Tensor
like objects.Modifier and Type | Method and Description |
---|---|
Position |
context()
Retrieves the context of the tensor, which is nothing else than a position.
|
Shape |
shape()
Retrieves the shape of the tensor.
|
Shape shape()
Implementations have to take care that the returned value here is never null
.
Position context()
Implementations have to guarantee that the returned value here is never null
.