ManagedArrayFunctions.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#
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

Double
The sum of the elements of operand.

Implements

IArrayFunctions<T, TShape, TArray>.Sum(TShape, TArray)

See Also