IArrayFunctions<T, TShape, TArray>.Sum Method

Computes the sum of all elements in the array.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
T Sum(
	TShape shape,
	TArray operand
)

Parameters

shape  TShape
The number of elements in the array.
operand  TArray
The array that holds the operands.

Return Value

T
The sum of the elements of operand.

See Also