Computes the sum of all elements in the array.
Namespace: Extreme.Mathematics.LinearAlgebra.ImplementationAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public override double Sum(
int length,
ArraySlice<double> operand
)
Public Overrides Function Sum (
length As Integer,
operand As ArraySlice(Of Double)
) As Double
public:
virtual double Sum(
int length,
ArraySlice<double> operand
) override
abstract Sum :
length : int *
operand : ArraySlice<float> -> float
override Sum :
length : int *
operand : ArraySlice<float> -> float
Parameters
- length
- Type: SystemInt32
The number of elements in the array. - operand
- Type: Extreme.CollectionsArraySliceDouble
The array that holds the operands.
Return Value
Type:
DoubleThe sum of the elements of
operand.
Implements
IArrayFunctionsT, TShape, TArraySum(TShape, TArray)
Numerical Libraries
Supported in: 6.0, 5.x
Reference