Matrix<T>.ElementwisePowInPlace Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ElementwisePowInPlace(Int32) Raises the elements of a matrix in-place to a constant power.
ElementwisePowInPlace(T) Raises the elements of a matrix in-place to a constant power.
ElementwisePowInPlace(Matrix<T>) Raises this matrix in-place element-wise by another matrix.
ElementwisePowInPlace(Matrix<Int32>) Raises this matrix in-place element-wise by another matrix.
ElementwisePowInPlace(Vector<T>, Dimension) 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.
C#
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.
C#
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.
C#
public virtual Matrix<T> ElementwisePowInPlace(
	Matrix<T> exponent
)

Parameters

exponent  Matrix<T>
A matrix containing the exponents.

Return Value

Matrix<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionexponent is null.
DimensionMismatchException 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.
C#
public virtual Matrix<T> ElementwisePowInPlace(
	Matrix<int> exponent
)

Parameters

exponent  Matrix<Int32>
A matrix containing the exponents.

Return Value

Matrix<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionexponent is null.
DimensionMismatchException 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.
C#
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

ArgumentNullExceptionexponent is null.
DimensionMismatchException The size of exponent does not equal the size of this instance.

See Also