ManagedArrayFunctions.Pow Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

Pow<TStorage>(Int32, TStorage, Int32, TStorage) 
Pow(Int32, ReadOnlySpanSlice<T>, T, SpanSlice<T>) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpanSlice<T>, Int32, SpanSlice<T>) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpan<Double>, Int32, Double, Span<Double>, Int32) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpan<Double>, Int32, Int32, Span<Double>, Int32) Computes the element-wise power of a span.
Pow<TStorage>(Int32, TStorage, Int32, TStorage) Computes the element-wise power of an array.

Pow(Int32, ReadOnlySpan<Double>, Int32, Double, Span<Double>, Int32)

Computes the element-wise power of a span.
C#
public override void Pow(
	int length,
	ReadOnlySpan<double> operand,
	int stride,
	double exponent,
	Span<double> result,
	int resultStride
)

Parameters

length  Int32
The number of elements in the span.
operand  ReadOnlySpan<Double>
 
stride  Int32
The distance between elements in values.
exponent  Double
The exponent.
result  Span<Double>
The span that holds the results.
resultStride  Int32
The distance between elements in result.

Pow(Int32, ReadOnlySpan<Double>, Int32, Int32, Span<Double>, Int32)

Computes the element-wise power of a span.
C#
public override void Pow(
	int length,
	ReadOnlySpan<double> operand,
	int stride,
	int exponent,
	Span<double> result,
	int resultStride
)

Parameters

length  Int32
The number of elements in the span.
operand  ReadOnlySpan<Double>
 
stride  Int32
The distance between elements in values.
exponent  Int32
The exponent.
result  Span<Double>
The span that holds the results.
resultStride  Int32
The distance between elements in result.

See Also