Tensor<T>.ModulusAssignment Operator

Definition

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

Overload List

ModulusAssignment(T) Computes the remainder after dividing a tensor by a scalar in-place.
ModulusAssignment(Tensor<T>) Returns the remainder after dividing one tensor by another in place.

ModulusAssignment(T) Operator

Computes the remainder after dividing a tensor by a scalar in-place.
C#
C# does not support this operator.

Parameters

right  T
 

Return Value

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

ModulusAssignment(Tensor<T>) Operator

Returns the remainder after dividing one tensor by another in place.
C#
C# does not support this operator.

Parameters

right  Tensor<T>
 

Return Value

This tensor with the elements replaced with the modulus 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.

See Also