Managed Array Functions<T>.Sum Method
Computes the sum of all elements in the array.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The sum of the elements of operand.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public virtual T Sum(
int length,
ArraySlice<T> operand
)
Parameters
- length Int32
- The number of elements in the array.
- operand ArraySlice<T>
- The array that holds the operands.
Return Value
TThe sum of the elements of operand.