Tensor<T>.Multiply Sum In Place Method
Adds two tensors and multiplies the result elementwise by a third in place.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
This tensor with the elements replaced with the result of the element and the corresponding elements of left and right.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public Tensor<T> MultiplySumInPlace(
Tensor<T> left,
Tensor<T> right,
Tensor<bool>? mask = null
)
Parameters
- left Tensor<T>
- A tensor whose elements serve as the second operand.
- right Tensor<T>
- A tensor whose elements serve as the third operand.
- mask Tensor<Boolean> (Optional)
- Optional. A boolean tensor that specifies whether the operation should be performed at the location. If omitted, the operation is performed everywhere.
Return Value
Tensor<T>This tensor with the elements replaced with the result of the element and the corresponding elements of left and right.
Exceptions
Argument | left is null. -or- right is null. |