Vector<T>.ElementwisePowInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

ElementwisePowInPlace(Int32) Raises the elements of a vector in-place to a constant power.
ElementwisePowInPlace(T) Raises the elements of a vector in-place to a constant power.
ElementwisePowInPlace(Vector<T>) Raises this vector in-place element-wise by another vector.
ElementwisePowInPlace(Vector<Int32>) Raises this vector in-place element-wise by another vector.

ElementwisePowInPlace(Int32)

Raises the elements of a vector in-place to a constant power.
C#
public Vector<T> ElementwisePowInPlace(
	int exponent
)

Parameters

exponent  Int32
A number.

Return Value

Vector<T>
A vector whose elements are the corresponding elements of the vector raised to the power exponent.

ElementwisePowInPlace(T)

Raises the elements of a vector in-place to a constant power.
C#
public Vector<T> ElementwisePowInPlace(
	T exponent
)

Parameters

exponent  T
A number.

Return Value

Vector<T>
A vector whose elements are the corresponding elements of the vector raised to the power exponent.

ElementwisePowInPlace(Vector<T>)

Raises this vector in-place element-wise by another vector.
C#
public virtual Vector<T> ElementwisePowInPlace(
	Vector<T> exponent
)

Parameters

exponent  Vector<T>
A vector containing the exponents.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullException

exponent is null.

DimensionMismatchException

The size of exponent does not equal the size of this instance.

ElementwisePowInPlace(Vector<Int32>)

Raises this vector in-place element-wise by another vector.
C#
public virtual Vector<T> ElementwisePowInPlace(
	Vector<int> exponent
)

Parameters

exponent  Vector<Int32>
A vector containing the exponents.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullException

exponent is null.

DimensionMismatchException

The size of exponent does not equal the size of this instance.

See Also