Tensor<T>.Exponentiation Operator
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Overload List
Exponentiation( | Raises a scalar to a power. |
Exponentiation( | Raises a scalar to an integer power. |
Exponentiation( | Raises the elements of a tensor to a power. |
Exponentiation( | Raises the elements of a tensor to a power. |
Exponentiation( | Raises the elements of a tensor to an integer power. |
Exponentiation( | Raises the elements of a tensor to an integer power. |
Exponentiation(T, Tensor<T>) Operator
Raises a scalar to a power.
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
Argument | right is null. |
Exponentiation(T, Tensor<Int32>) Operator
Raises a scalar to an integer power.
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
Argument | right is null. |
Exponentiation(Tensor<T>, T) Operator
Raises the elements of a tensor to a power.
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
Argument | left is null. |
Exponentiation(Tensor<T>, Tensor<T>) Operator
Raises the elements of a tensor to a power.
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
Argument | left is null. -or- right is null. |
Exponentiation(Tensor<T>, Tensor<Int32>) Operator
Raises the elements of a tensor to an integer power.
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
Argument | left is null. -or- right is null. |
Exponentiation(Tensor<T>, Int32) Operator
Raises the elements of a tensor to an integer power.
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
Argument | left is null. |