ManagedArrayFunctions<T>.Pow Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.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<T>, Int32, T, Span<T>, Int32) Computes the element-wise power of a span.
Pow(Int32, ReadOnlySpan<T>, Int32, Int32, Span<T>, 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<T>, Int32, T, Span<T>, Int32)

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

Parameters

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

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

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

Parameters

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

See Also