ManagedArrayFunctionsOfSingle.Pow Method

Definition

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

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<Single>, Int32, Int32, Span<Single>, Int32) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpan<Single>, Int32, Single, Span<Single>, 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<Single>, Int32, Int32, Span<Single>, Int32)

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

Parameters

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

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

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

Parameters

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

See Also