Managed Array Functions Of Single.Sum Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.1
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.1
Overload List
Sum( | Computes the sum of all elements in the span. |
Sum( | Computes the sum of all elements in the span. |
Sum<TStorage>(Int32, TStorage) | Computes the sum of all elements in the array. |
Sum(Int32, ReadOnlySpan<Single>, Int32)
Computes the sum of all elements in the span.
public override float Sum(
int length,
ReadOnlySpan<float> operand,
int stride
)
Parameters
- length Int32
- The number of elements in the span.
- operand ReadOnlySpan<Single>
- The span that holds the operands.
- stride Int32
- The distance between elements in operand.
Return Value
SingleThe sum of the elements of operand.