Matrix.Elementwise Pow Into Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Elementwise | Raises the element of a matrix to a constant power. |
Elementwise | Raises the elements of a matrix to a power from the corresponding elements in another matrix. |
Elementwise | Raises the elements of a matrix to an integer power from the corresponding elements in another matrix. |
Elementwise | Raises the element of a matrix to a constant power. |
Elementwise | Raises the elements of a matrix to a power from the corresponding elements in a vector broadcast along the specified dimension. |
Elementwise | Raises the elements of a matrix to a power from the corresponding elements in a vector broadcast along the specified dimension. |
Elementwise | Raises the elements of a vector broadcast along the specified dimension to a power from the corresponding elements in a matrix |
Elementwise | Raises the elements of a vector broadcast along the specified dimension to a power from the corresponding elements in a matrix |
Elementwise | Raises the elements of a vector broadcast along the specified dimension to a power from the corresponding elements in another broadcast vector. |
Elementwise | Raises the elements of a vector broadcast along the specified dimension to a power from the corresponding elements in another broadcast vector. |
ElementwisePowInto<T>(Matrix<T>, T, Matrix<T>)
Raises the element of a matrix to a constant power.
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> matrix,
T exponent,
Matrix<T> result
)
Parameters
- matrix Matrix<T>
- A matrix.
- exponent T
- A number.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of matrix raised to the power exponent.
Exceptions
Argument | matrix is null |
ElementwisePowInto<T>(Matrix<T>, Matrix<T>, Matrix<T>)
Raises the elements of a matrix to a power
from the corresponding elements in another matrix.
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> left,
Matrix<T> right,
Matrix<T> result
)
Parameters
- left Matrix<T>
- A matrix.
- right Matrix<T>
- A matrix.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are equal to the elements of left raised to a power with exponent equal to the corresponding element of right .
Exceptions
Argument | left is null -or- right is null |
Dimension | The length of left does not equal the length of right. |
ElementwisePowInto<T>(Matrix<T>, Matrix<Int32>, Matrix<T>)
Raises the elements of a matrix to an integer power
from the corresponding elements in another matrix.
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> left,
Matrix<int> right,
Matrix<T> result
)
Parameters
- left Matrix<T>
- A matrix.
- right Matrix<Int32>
- A matrix.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are equal to the elements of left raised to a power with exponent equal to the corresponding element of right .
Exceptions
Argument | left is null -or- right is null |
Dimension | The length of left does not equal the length of right. |
ElementwisePowInto<T>(Matrix<T>, Int32, Matrix<T>)
Raises the element of a matrix to a constant power.
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> matrix,
int exponent,
Matrix<T> result
)
Parameters
- matrix Matrix<T>
- A matrix.
- exponent Int32
- A number.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of matrix raised to the power exponent.
Exceptions
Argument | matrix is null |
ElementwisePowInto<T>(Matrix<T>, Vector<T>, Dimension, Matrix<T>)
Raises the elements of a matrix to a power
from the corresponding elements in a vector broadcast along the specified dimension.
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> left,
Vector<T> right,
Dimension broadcastDimension,
Matrix<T> result
)
Parameters
- left Matrix<T>
- A matrix.
- right Vector<T>
- A vector.
- broadcastDimension Dimension
- A value that specifies whether the elements in right should be broadcast across rows or columns.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the product of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same dimension. |
ElementwisePowInto<T>(Matrix<T>, Vector<Int32>, Dimension, Matrix<T>)
Raises the elements of a matrix to a power
from the corresponding elements in a vector broadcast along the specified dimension.
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> left,
Vector<int> right,
Dimension broadcastDimension,
Matrix<T> result
)
Parameters
- left Matrix<T>
- A matrix.
- right Vector<Int32>
- A vector.
- broadcastDimension Dimension
- A value that specifies whether the elements in right should be broadcast across rows or columns.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the product of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same dimension. |
ElementwisePowInto<T>(Vector<T>, Dimension, Matrix<T>, Matrix<T>)
Raises the elements of a vector broadcast along the specified dimension
to a power from the corresponding elements in a matrix
public static Matrix<T> ElementwisePowInto<T>(
Vector<T> left,
Dimension broadcastDimension,
Matrix<T> right,
Matrix<T> result
)
Parameters
- left Vector<T>
- A vector.
- broadcastDimension Dimension
- A value that specifies whether the elements in left should be broadcast across rows or columns.
- right Matrix<T>
- A matrox.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the product of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same dimension. |
ElementwisePowInto<T>(Vector<T>, Dimension, Matrix<Int32>, Matrix<T>)
Raises the elements of a vector broadcast along the specified dimension
to a power from the corresponding elements in a matrix
public static Matrix<T> ElementwisePowInto<T>(
Vector<T> left,
Dimension broadcastDimension,
Matrix<int> right,
Matrix<T> result
)
Parameters
- left Vector<T>
- A vector.
- broadcastDimension Dimension
- A value that specifies whether the elements in left should be broadcast across rows or columns.
- right Matrix<Int32>
- A matrox.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the product of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same dimension. |
ElementwisePowInto<T>(Vector<T>, Dimension, Vector<T>, Matrix<T>)
Raises the elements of a vector broadcast along the specified dimension
to a power from the corresponding elements in another broadcast vector.
public static Matrix<T> ElementwisePowInto<T>(
Vector<T> left,
Dimension leftBroadcastDimension,
Vector<T> right,
Matrix<T> result
)
Parameters
- left Vector<T>
- A vector.
- leftBroadcastDimension Dimension
- A value that specifies whether the elements in left should be broadcast across rows or columns.
- right Vector<T>
- A matrox.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the product of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same dimension. |
ElementwisePowInto<T>(Vector<T>, Dimension, Vector<Int32>, Matrix<T>)
Raises the elements of a vector broadcast along the specified dimension
to a power from the corresponding elements in another broadcast vector.
public static Matrix<T> ElementwisePowInto<T>(
Vector<T> left,
Dimension leftBroadcastDimension,
Vector<int> right,
Matrix<T> result
)
Parameters
- left Vector<T>
- A vector.
- leftBroadcastDimension Dimension
- A value that specifies whether the elements in left should be broadcast across rows or columns.
- right Vector<Int32>
- A matrox.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the product of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same dimension. |