Module flag4j

Class PrimitiveDoubleTensorBase<T extends PrimitiveDoubleTensorBase<T,U>,U extends PrimitiveDoubleTensorBase<U,U>>

java.lang.Object
Type Parameters:
T - Type of this tensor.
U - Type of dense tensor equivalent to T. If T is dense, then this should be the same type as T. This type parameter is required because some operations (e.g. TensorOverSemiRing.tensorDot(TensorOverSemiRing)) between two sparse tensors result in a dense tensor.
All Implemented Interfaces:
Serializable, TensorBinaryOpsMixin<T,T>, TensorMixin<T,double[],Double>, TensorPrimitiveOpsMixin<T>
Direct Known Subclasses:
CooMatrix, CooTensor, CooVector, CsrMatrix, DensePrimitiveDoubleTensorBase

public abstract class PrimitiveDoubleTensorBase<T extends PrimitiveDoubleTensorBase<T,U>,U extends PrimitiveDoubleTensorBase<U,U>> extends TensorOverField<T,U,double[],Double> implements TensorPrimitiveOpsMixin<T>

Base class for all real tensors which are backed by a primitive double array.

The entries of PrimitiveDoubleTensorBase's are mutable but the tensor has a fixed shape.

See Also: