ManagedArrayFunctionsOfSingle.Sum Method

Computes the sum of all elements in the array.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4
C#
public override float Sum(
	int length,
	ArraySlice<float> operand
)

Parameters

length  Int32
The number of elements in the array.
operand  ArraySlice<Single>
The array that holds the operands.

Return Value

Single
The sum of the elements of operand.

Implements

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

See Also