Package org.tensorics.core.tensor
Class AbstractTensor<V>
- java.lang.Object
-
- org.tensorics.core.tensor.AbstractTensor<V>
-
- Type Parameters:
V
- the type of the values of the tensor
- Direct Known Subclasses:
AbstractScalar
,BroadcastedTensorView
,ImmutableDoubleArrayBackedTensor
,ImmutableTensor
public abstract class AbstractTensor<V> extends java.lang.Object implements Tensor<V>
Provides sceletal behaviour of tensors. It is highly recommended that all implementations of this tensor inherit from this class. This is particularly important in order to respect the equality of tensors.
-
-
Constructor Summary
Constructors Constructor Description AbstractTensor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-