Tensor<T>.AdditionAssignment Operator

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 10.0.0

Overload List

AdditionAssignment(T) Adds a tensor and a scalar in-place.
AdditionAssignment(Tensor<T>) Adds two tensors in place.
AdditionAssignment(Tensor<T>, T) Adds a constant to a matrix in place.
AdditionAssignment(Tensor<T>, Tensor<T>) Adds another matrix to a matrix in place.

AdditionAssignment(T) Operator

Adds a tensor and a scalar in-place.
C#
C# does not support this operator.

Parameters

right  T
 

Return Value

This tensor with each element replaced with the sum of the element and other.

AdditionAssignment(Tensor<T>) Operator

Adds two tensors in place.
C#
C# does not support this operator.

Parameters

right  Tensor<T>
 

Return Value

This tensor with the elements replaced with the sum of the element and the corresponding element of other.

Exceptions

ArgumentNullException

other is null.

DimensionMismatchException

The dimensions of other are not compatible with the dimensions of this tensor.

AdditionAssignment(Tensor<T>, T) Operator

Adds a constant to a matrix in place.
C#
C# does not support this operator.

Parameters

self  Tensor<T>
A Tensor<T>.
term  T
A real number.

Return Value

Tensor<T>
A reference to self.

AdditionAssignment(Tensor<T>, Tensor<T>) Operator

Adds another matrix to a matrix in place.
C#
C# does not support this operator.

Parameters

self  Tensor<T>
A Tensor<T>.
term  Tensor<T>
The matrix to add to self.

Return Value

Tensor<T>
A reference to self.

See Also