V
- public class InnerTensorOperation<V> extends java.lang.Object implements BinaryOperation<Tensor<V>>, java.io.Serializable
Since every tensor within the tensorics framework, has to have unique classes for the tensor dimensions (equivalent
to the 'indizes' in a usual tensor notation), it is only possible to have at maximum one index (dimension) of the
same type in a tensor. Such coordinates are considered per default as contravariant coordinates (indizes). To
consistently describe a inner product it is necessary to have corresponding covariant indizes (dimensions in
tensorics). This can be achieved by using classes that are derived from the
Covariant
class.
The most common of the type of operations, represented by this class, is the inner tensor product. However, this operation is designed to be a bit more general, it uses two provided operations:
Covariant
,
Covariants
,
Serialized FormConstructor and Description |
---|
InnerTensorOperation(BinaryOperation<V> elementOperation,
IterableOperation<V> reductionOperation,
OptionRegistry<ManipulationOption> optionRegistry) |
public InnerTensorOperation(BinaryOperation<V> elementOperation, IterableOperation<V> reductionOperation, OptionRegistry<ManipulationOption> optionRegistry)
public Tensor<V> perform(Tensor<V> left, Tensor<V> right)
BinaryFunction
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object