Tensor<T>.GreaterThanOrEqual Operator

Definition

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

Overload List

GreaterThanOrEqual(T, Tensor<T>) Returns whether a scalar are greater than or equal to the elements of a tensor..
GreaterThanOrEqual(Tensor<T>, T) Returns whether the elements of a tensor are greater than or equal to a scalar..
GreaterThanOrEqual(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are less than or equal to the corresponding elements of another tensor..

GreaterThanOrEqual(T, Tensor<T>) Operator

Returns whether a scalar are greater than or equal to the elements of a tensor..
C#
public static Tensor<bool> operator >=(
	T left,
	Tensor<T> right
)

Parameters

left  T
A scalar that serves as the left operand.
right  Tensor<T>
A tensor that serves as the right operand.

Return Value

Tensor<Boolean>
A tensor of the same shape as right whose elements are equal to the of left and the corresponding elements of right.

Exceptions

ArgumentNullException

right is null.

GreaterThanOrEqual(Tensor<T>, T) Operator

Returns whether the elements of a tensor are greater than or equal to a scalar..
C#
public static Tensor<bool> operator >=(
	Tensor<T> left,
	T right
)

Parameters

left  Tensor<T>
A tensor that serves as the left operand.
right  T
A scalar that serves as the right operand.

Return Value

Tensor<Boolean>
A tensor of the same shape as left whose elements are equal to the of the corresponding elements of left and right.

Exceptions

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

Returns whether the elements of one tensor are less than or equal to the corresponding elements of another tensor..
C#
public static Tensor<bool> operator >=(
	Tensor<T> left,
	Tensor<T> right
)

Parameters

left  Tensor<T>
A tensor that serves as the left operand.
right  Tensor<T>
A tensor that serves as the right operand.

Return Value

Tensor<Boolean>
A tensor of the same shape as left and right whose elements are equal to the of the corresponding elements of left and right.

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

See Also