ILNumerics Ultimate VSILMathsumall Method (BaseArraySByte)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Computes the sum of all elements of A.

[ILNumerics Computing Engine]

Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public static RetArray<sbyte> sumall(
	BaseArray<sbyte> A
)

Parameters

A
Type: ILNumericsBaseArraySByte
Input array.

Return Value

Type: RetArraySByte
New scalar array with the sum of all elements.
Remarks

The operation is efficiently performed on all elements of the input array A.

The operation is performed in multiple threads, according to the current settings of MaxNumberThreads.

The input array A is not altered.

This operation returns a scalar array, regardless of the shape of A. The number of dimensions of the scalar returned depends on the setting of MinNumberOfArrayDimensions. If A is empty the scalar value returned corresponds to the default value of the element datatype. For numerical element types the default value is 0. For boolean / logical elements the default is false.

[ILNumerics Computing Engine]

See Also

Reference