Tensor<T>.Exponentiation Operator

Definition

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

Overload List

Exponentiation(T, Tensor<T>) Raises a scalar to a power.
Exponentiation(T, Tensor<Int32>) Raises a scalar to an integer power.
Exponentiation(Tensor<T>, T) Raises the elements of a tensor to a power.
Exponentiation(Tensor<T>, Tensor<T>) Raises the elements of a tensor to a power.
Exponentiation(Tensor<T>, Tensor<Int32>) Raises the elements of a tensor to an integer power.
Exponentiation(Tensor<T>, Int32) Raises the elements of a tensor to an integer power.

Exponentiation(T, Tensor<T>) Operator

Raises a scalar to a power.
C#
C# does not support this operator.

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<T>
A tensor of the same shape as right whose elements are equal to the power of left and the corresponding elements of right.

Exceptions

ArgumentNullException

right is null.

Exponentiation(T, Tensor<Int32>) Operator

Raises a scalar to an integer power.
C#
C# does not support this operator.

Parameters

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

Return Value

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

Exceptions

ArgumentNullException

right is null.

Exponentiation(Tensor<T>, T) Operator

Raises the elements of a tensor to a power.
C#
C# does not support this operator.

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<T>
A tensor of the same shape as left whose elements are equal to the power of the corresponding elements of left and right.

Exceptions

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

Raises the elements of a tensor to a power.
C#
C# does not support this operator.

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<T>
A tensor of the same shape as left and right whose elements are equal to the power of the corresponding elements of left and right

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

Exponentiation(Tensor<T>, Tensor<Int32>) Operator

Raises the elements of a tensor to an integer power.
C#
C# does not support this operator.

Parameters

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

Return Value

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

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

Exponentiation(Tensor<T>, Int32) Operator

Raises the elements of a tensor to an integer power.
C#
C# does not support this operator.

Parameters

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

Return Value

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

Exceptions

See Also