Array Functions<T>.Log Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Log( | Computes the logarithm of each element of a span. |
Log( | Computes the logarithm of each element of a span. |
Log<TStorage>(Int32, TStorage, TStorage) | Computes the logarithm of each element of an array. |
Log(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>)
Computes the logarithm of each element of a span.
public void Log(
int length,
ReadOnlySpanSlice<T> operand,
SpanSlice<T> result
)
Parameters
- length Int32
- The number of elements in the span.
- operand ReadOnlySpanSlice<T>
- The span that holds the operands.
- result SpanSlice<T>
- The span that holds the results.
Log<TStorage>(Int32, TStorage, TStorage)
Computes the logarithm of each element of an array.
public void Log<TStorage>(
int length,
TStorage operand,
TStorage result
)
where TStorage : Object, IStorageSlice<T>
Parameters
- length Int32
- The number of elements in the array.
- operand TStorage
- The array that holds the operands.
- result TStorage
- The array that holds the results.
Type Parameters
- TStorage
Log(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)
Computes the logarithm of each element of a span.
public abstract void Log(
int length,
ReadOnlySpan<T> operand,
int stride,
Span<T> result,
int resultStride
)