Tensor<T> Operators and Type Conversions

Operators

Addition(T, Tensor<T>) Adds a scalar and a tensor.
Addition(Tensor<T>, T) Adds a tensor and a scalar.
Addition(Tensor<T>, Tensor<T>) Adds two tensors.
BitwiseAnd(T, Tensor<T>) Computes the bitwise and of a scalar and a tensor.
BitwiseAnd(Tensor<T>, T) Computes the bitwise and of a tensor and a scalar.
BitwiseAnd(Tensor<T>, Tensor<T>) Computes the bitwise and of two tensors.
BitwiseOr(T, Tensor<T>) Computes the bitwise or of a scalar and a tensor.
BitwiseOr(Tensor<T>, T) Computes the bitwise or of a tensor and a scalar.
BitwiseOr(Tensor<T>, Tensor<T>) Computes the bitwise or of two tensors.
Division(T, Tensor<T>) Divides a scalar by a tensor.
Division(Tensor<T>, T) Divides a tensor by a scalar.
Division(Tensor<T>, Tensor<T>) Divides one tensor by another.
Equality(T, Tensor<T>) Compares a scalar and a tensor for equality..
Equality(Tensor<T>, T) Compares a tensor and a scalar for equality..
Equality(Tensor<T>, Tensor<T>) Determines whether two tensors are equal.
ExclusiveOr(T, Tensor<T>) Computes the bitwise xor of a scalar and a tensor.
ExclusiveOr(Tensor<T>, T) Computes the bitwise xor of a tensor and a scalar.
ExclusiveOr(Tensor<T>, Tensor<T>) Computes the bitwise xor of two tensors.
Explicit(T to Tensor<T>) Implicitly converts a scalar value to a 0-dimensional scalar tensor.
Explicit(T[] to Tensor<T>) Implicitly converts an array to a 1-dimensional scalar tensor.
Explicit(T[,,] to Tensor<T>) Implicitly converts an array to a 3-dimensional scalar tensor.
Explicit(T[,] to Tensor<T>) Implicitly converts an array to a 2-dimensional scalar tensor.
Explicit(Tensor<T> to T) Converts a scalar (0-dimensional) tensor to the corresponding scalar value.
GreaterThan(T, Tensor<T>) Returns whether a scalar are greater than the elements of a tensor..
GreaterThan(Tensor<T>, T) Returns whether the elements of a tensor are greater than a scalar..
GreaterThan(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are greater than the corresponding elements of another tensor..
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..
Inequality(T, Tensor<T>) Compares a scalar and a tensor for inequality..
Inequality(Tensor<T>, T) Compares a tensor and a scalar for inequality..
Inequality(Tensor<T>, Tensor<T>) Determines whether two tensors are not equal.
LeftShift(Tensor<T>, Int32) Shifts the elements of a tensor to the left..
LessThan(T, Tensor<T>) Returns whether a scalar are less than the elements of a tensor..
LessThan(Tensor<T>, T) Returns whether the elements of a tensor are less than a scalar..
LessThan(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are less than the corresponding elements of another tensor..
LessThanOrEqual(T, Tensor<T>) Returns whether a scalar are less than or equal to the elements of a tensor..
LessThanOrEqual(Tensor<T>, T) Returns whether the elements of a tensor are less than or equal to a scalar..
LessThanOrEqual(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are less than or equal to the corresponding elements of another tensor..
Modulus(T, Tensor<T>) Computes the remainder after dividing a scalar by a tensor.
Modulus(Tensor<T>, T) Computes the remainder after dividing a tensor by a scalar.
Modulus(Tensor<T>, Tensor<T>) Returns the remainder after dividing one tensor by another.
Multiply(T, Tensor<T>) Multiplies a scalar and a tensor.
Multiply(Tensor<T>, T) Multiplies a tensor and a scalar.
Multiply(Tensor<T>, Tensor<T>) Multiplies two tensors.
OnesComplement(Tensor<T>) Computes the bitwise complement of a tensor.
RightShift(Tensor<T>, Int32) Shifts the elements of a tensor to the right..
Subtraction(T, Tensor<T>) Subtracts a tensor from a tensor.
Subtraction(Tensor<T>, T) Subtracts a scalar from a scalar.
Subtraction(Tensor<T>, Tensor<T>) Subtracts one tensor from another.
UnaryNegation(Tensor<T>) Negates a tensor.

See Also