V - the type of the value of the scalarpublic abstract class AbstractScalar<V> extends AbstractTensor<V> implements Scalar<V>
| Constructor and Description |
|---|
AbstractScalar() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Position position)
Returns
true if the tensoric object contains the given position, false otherwise. |
V |
get(java.lang.Object... coordinates) |
V |
get(Position position) |
Shape |
shape()
Retrieves the shape of the tensor.
|
equals, hashCodepublic final V get(java.lang.Object... coordinates)
public final Shape shape()
Tensor
Implementations have to take care that the returned value here is never null.