Tensor<T>.OnesComplement Operator

Computes the bitwise complement of a tensor.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
public static Tensor<T> operator ~(
	Tensor<T> value
)

Parameters

value  Tensor<T>
A tensor.

Return Value

Tensor<T>
A tensor of the same shape as value whose elements are equal to the bitwise complement of the corresponding elements of value.

Exceptions

ArgumentNullException

value is null.

See Also