ArrayFunctions<T>.Pow Method
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, T, TStorage) |
Computes the element-wise power of an array.
|
Pow<TStorage>(Int32, TStorage, Int32, TStorage) |
Computes the element-wise power of an array.
|
Computes the element-wise power of a span.
public void Pow(
int length,
ReadOnlySpanSlice<T> values,
T exponent,
SpanSlice<T> result
)
Public Sub Pow (
length As Integer,
values As ReadOnlySpanSlice(Of T),
exponent As T,
result As SpanSlice(Of T)
)
public:
void Pow(
int length,
ReadOnlySpanSlice<T> values,
T exponent,
SpanSlice<T> result
)
member Pow :
length : int *
values : ReadOnlySpanSlice<'T> *
exponent : 'T *
result : SpanSlice<'T> -> unit
Parameters
- length Int32
- The number of elements in the span.
- values ReadOnlySpanSlice<T>
- The span that holds the operands.
- exponent T
- The exponent.
- result SpanSlice<T>
- The span that holds the results.
Computes the element-wise power of a span.
public void Pow(
int length,
ReadOnlySpanSlice<T> values,
int exponent,
SpanSlice<T> result
)
Public Sub Pow (
length As Integer,
values As ReadOnlySpanSlice(Of T),
exponent As Integer,
result As SpanSlice(Of T)
)
public:
void Pow(
int length,
ReadOnlySpanSlice<T> values,
int exponent,
SpanSlice<T> result
)
member Pow :
length : int *
values : ReadOnlySpanSlice<'T> *
exponent : int *
result : SpanSlice<'T> -> unit
Parameters
- length Int32
- The number of elements in the span.
- values ReadOnlySpanSlice<T>
- The span that holds the operands.
- exponent Int32
- The exponent.
- result SpanSlice<T>
- The span that holds the results.
Computes the element-wise power of an array.
public void Pow<TStorage>(
int length,
TStorage values,
T exponent,
TStorage result
)
where TStorage : Object, IStorageSlice<T>
Public Sub Pow(Of TStorage As {Object, IStorageSlice(Of T)}) (
length As Integer,
values As TStorage,
exponent As T,
result As TStorage
)
public:
generic<typename TStorage>
where TStorage : Object, IStorageSlice<T>
void Pow(
int length,
TStorage values,
T exponent,
TStorage result
)
member Pow :
length : int *
values : 'TStorage *
exponent : 'T *
result : 'TStorage -> unit when 'TStorage : Object and IStorageSlice<'T>
- length Int32
- The number of elements in the array.
- values TStorage
- The array that holds the operands.
- exponent T
- The exponent.
- result TStorage
- The array that holds the results.
- TStorage
Computes the element-wise power of an array.
public void Pow<TStorage>(
int length,
TStorage values,
int exponent,
TStorage result
)
where TStorage : Object, IStorageSlice<T>
Public Sub Pow(Of TStorage As {Object, IStorageSlice(Of T)}) (
length As Integer,
values As TStorage,
exponent As Integer,
result As TStorage
)
public:
generic<typename TStorage>
where TStorage : Object, IStorageSlice<T>
void Pow(
int length,
TStorage values,
int exponent,
TStorage result
)
member Pow :
length : int *
values : 'TStorage *
exponent : int *
result : 'TStorage -> unit when 'TStorage : Object and IStorageSlice<'T>
- length Int32
- The number of elements in the array.
- values TStorage
- The array that holds the operands.
- exponent Int32
- The exponent.
- result TStorage
- The array that holds the results.
- TStorage
Computes the element-wise power of a span.
public abstract void Pow(
int length,
ReadOnlySpan<T> values,
int stride,
T exponent,
Span<T> result,
int resultStride
)
Public MustOverride Sub Pow (
length As Integer,
values As ReadOnlySpan(Of T),
stride As Integer,
exponent As T,
result As Span(Of T),
resultStride As Integer
)
public:
virtual void Pow(
int length,
ReadOnlySpan<T> values,
int stride,
T exponent,
Span<T> result,
int resultStride
) abstract
abstract Pow :
length : int *
values : ReadOnlySpan<'T> *
stride : int *
exponent : 'T *
result : Span<'T> *
resultStride : int -> unit
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 T
- The exponent.
- result Span<T>
- The span that holds the results.
- resultStride Int32
- The distance between elements in result.
Computes the element-wise power of a span.
public abstract void Pow(
int length,
ReadOnlySpan<T> values,
int stride,
int exponent,
Span<T> result,
int resultStride
)
Public MustOverride Sub Pow (
length As Integer,
values As ReadOnlySpan(Of T),
stride As Integer,
exponent As Integer,
result As Span(Of T),
resultStride As Integer
)
public:
virtual void Pow(
int length,
ReadOnlySpan<T> values,
int stride,
int exponent,
Span<T> result,
int resultStride
) abstract
abstract Pow :
length : int *
values : ReadOnlySpan<'T> *
stride : int *
exponent : int *
result : Span<'T> *
resultStride : int -> unit
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.