C
- V
- public class OngoingTensorOperation<C,V> extends java.lang.Object implements OngoingOperation<Tensor<V>,V>
Constructor and Description |
---|
OngoingTensorOperation(Environment<V> environment,
Tensor<V> left) |
Modifier and Type | Method and Description |
---|---|
Tensor<V> |
elementDividedBy(Tensor<V> right) |
Tensor<V> |
elementDividedByV(V value) |
Tensor<V> |
elementTimes(Tensor<V> right)
Calls multiplication operation on the elements of the two input tensors
|
Tensor<V> |
elementTimesV(V right) |
Tensor<V> |
minus(Tensor<V> right) |
Tensor<V> |
minusV(V right) |
Tensor<V> |
plus(Tensor<V> right)
Returns the sum of the left tensor with the given right tensor.
|
Tensor<V> |
plusV(V right) |
Tensor<V> |
times(Tensor<V> right)
Performs the inner tensor product of the left tensor with the right tensor by taking care about co-and
contravariant coordinates and following the tensoric-equivalen of Einsteins sum convention.
|
public OngoingTensorOperation(Environment<V> environment, Tensor<V> left)
environment
- the environment to useleft
- first tensoric to usepublic Tensor<V> plus(Tensor<V> right)
plus
in interface OngoingOperation<Tensor<V>,V>
right
- as tensor to addpublic Tensor<V> plusV(V right)
plusV
in interface OngoingOperation<Tensor<V>,V>
public Tensor<V> minus(Tensor<V> right)
minus
in interface OngoingOperation<Tensor<V>,V>
public Tensor<V> minusV(V right)
minusV
in interface OngoingOperation<Tensor<V>,V>
public Tensor<V> elementTimes(Tensor<V> right)
elementTimes
in interface OngoingOperation<Tensor<V>,V>
right
- second tensoric to usepublic Tensor<V> elementDividedByV(V value)
elementDividedByV
in interface OngoingOperation<Tensor<V>,V>
public Tensor<V> elementTimesV(V right)
elementTimesV
in interface OngoingOperation<Tensor<V>,V>
public Tensor<V> elementDividedBy(Tensor<V> right)
elementDividedBy
in interface OngoingOperation<Tensor<V>,V>
public Tensor<V> times(Tensor<V> right)
right
- the right tensor to multiply onto the leftInnerTensorOperation