Managed Array Functions.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 override double Sum(
int length,
ArraySlice<double> operand
)
Parameters
- length Int32
- The number of elements in the array.
- operand ArraySlice<Double>
- The array that holds the operands.
Return Value
DoubleThe sum of the elements of operand.