Module flag4j

Interface SemiringTensorMixin<T extends SemiringTensorMixin<T,U,V>,U extends SemiringTensorMixin<U,U,V>,V extends Semiring<V>>

Type Parameters:
T - Type of this tensor.
U - Dense equivalent of this tensor. If this tensor is dense, this should be the same type as T
V - Type of an element of this tensor. Satisfies semiring axioms.
All Superinterfaces:
TensorOverSemiRing<T,U,Semiring<V>[],V>
All Known Implementing Classes:
AbstractCooSemiringMatrix, AbstractCooSemiringTensor, AbstractCooSemiringVector, AbstractDenseSemiringMatrix, AbstractDenseSemiringTensor, AbstractDenseSemiringVector, CsrSemiRingMatrixBase

public interface SemiringTensorMixin<T extends SemiringTensorMixin<T,U,V>,U extends SemiringTensorMixin<U,U,V>,V extends Semiring<V>> extends TensorOverSemiRing<T,U,Semiring<V>[],V>
This interface provides default functionality for all tensors whose entries are elements of a Semiring. This includes both sparse and dense tensors.