Matrix<T>.Elementwise Pow In Place Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Elementwise | Raises the elements of a matrix in-place to a constant power. |
Elementwise | Raises the elements of a matrix in-place to a constant power. |
Elementwise | Raises this matrix in-place element-wise by another matrix. |
Elementwise | Raises this matrix in-place element-wise by another matrix. |
Elementwise | Raises this matrix in-place element-wise by a vector broadcast along the specified dimension. |
ElementwisePowInPlace(Int32)
Raises the elements of a matrix in-place to a constant power.
public Matrix<T> ElementwisePowInPlace(
int exponent
)
Parameters
- exponent Int32
- A number.
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of the matrix raised to the power exponent.
ElementwisePowInPlace(T)
Raises the elements of a matrix in-place to a constant power.
public Matrix<T> ElementwisePowInPlace(
T exponent
)
Parameters
- exponent T
- A number.
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of the matrix raised to the power exponent.
ElementwisePowInPlace(Matrix<T>)
Raises this matrix in-place element-wise by another matrix.
public virtual Matrix<T> ElementwisePowInPlace(
Matrix<T> exponent
)
Parameters
Return Value
Matrix<T>A reference to this instance.
Exceptions
Argument | exponent is null. |
Dimension | The size of exponent does not equal the size of this instance. |
ElementwisePowInPlace(Matrix<Int32>)
Raises this matrix in-place element-wise by another matrix.
public virtual Matrix<T> ElementwisePowInPlace(
Matrix<int> exponent
)
Parameters
Return Value
Matrix<T>A reference to this instance.
Exceptions
Argument | exponent is null. |
Dimension | The size of exponent does not equal the size of this instance. |
ElementwisePowInPlace(Vector<T>, Dimension)
Raises this matrix in-place element-wise by a vector broadcast along the specified dimension.
public virtual Matrix<T> ElementwisePowInPlace(
Vector<T> exponent,
Dimension broadcastDimension
)
Parameters
- exponent Vector<T>
- A matrix containing the exponents.
- broadcastDimension Dimension
- A value that specifies whether the elements in exponent should be broadcast across rows or columns.
Return Value
Matrix<T>A reference to this instance.
Exceptions
Argument | exponent is null. |
Dimension | The size of exponent does not equal the size of this instance. |