Package org.tensorics.core.tensor.lang
Class OngoingQuantifiedTensorOperation<S>
- java.lang.Object
-
- org.tensorics.core.tensor.lang.OngoingQuantifiedTensorOperation<S>
-
- Type Parameters:
S
- the type of the scalars (elements of the field on which all the operations are based on)
- All Implemented Interfaces:
OngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
public class OngoingQuantifiedTensorOperation<S> extends java.lang.Object implements OngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
Part of the tensorics fluent API that provides methods to describe the right hand part of binary operations on tensors containing quantified values.
-
-
Constructor Summary
Constructors Constructor Description OngoingQuantifiedTensorOperation(QuantityOperationRepository<S> operationRepository, Tensor<QuantifiedValue<S>> left)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tensor<QuantifiedValue<S>>
elementDividedBy(Tensor<QuantifiedValue<S>> right)
Tensor<QuantifiedValue<S>>
elementDividedByV(QuantifiedValue<S> value)
Tensor<QuantifiedValue<S>>
elementTimes(Tensor<QuantifiedValue<S>> right)
Tensor<QuantifiedValue<S>>
elementTimesV(QuantifiedValue<S> right)
Tensor<QuantifiedValue<S>>
minus(Tensor<QuantifiedValue<S>> right)
Tensor<QuantifiedValue<S>>
minusV(QuantifiedValue<S> right)
Tensor<QuantifiedValue<S>>
plus(Tensor<QuantifiedValue<S>> right)
Tensor<QuantifiedValue<S>>
plusV(QuantifiedValue<S> right)
-
-
-
Constructor Detail
-
OngoingQuantifiedTensorOperation
public OngoingQuantifiedTensorOperation(QuantityOperationRepository<S> operationRepository, Tensor<QuantifiedValue<S>> left)
-
-
Method Detail
-
plus
public Tensor<QuantifiedValue<S>> plus(Tensor<QuantifiedValue<S>> right)
- Specified by:
plus
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
plusV
public Tensor<QuantifiedValue<S>> plusV(QuantifiedValue<S> right)
- Specified by:
plusV
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
minus
public Tensor<QuantifiedValue<S>> minus(Tensor<QuantifiedValue<S>> right)
- Specified by:
minus
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
minusV
public Tensor<QuantifiedValue<S>> minusV(QuantifiedValue<S> right)
- Specified by:
minusV
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
elementTimes
public Tensor<QuantifiedValue<S>> elementTimes(Tensor<QuantifiedValue<S>> right)
- Specified by:
elementTimes
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
elementTimesV
public Tensor<QuantifiedValue<S>> elementTimesV(QuantifiedValue<S> right)
- Specified by:
elementTimesV
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
elementDividedBy
public Tensor<QuantifiedValue<S>> elementDividedBy(Tensor<QuantifiedValue<S>> right)
- Specified by:
elementDividedBy
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
elementDividedByV
public Tensor<QuantifiedValue<S>> elementDividedByV(QuantifiedValue<S> value)
- Specified by:
elementDividedByV
in interfaceOngoingOperation<Tensor<QuantifiedValue<S>>,QuantifiedValue<S>>
-
-