ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
New scalar array with the sum of all elements.
Computes the sum of all elements of A.
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- A
- Type: ILNumericsBaseArrayfcomplex
Input array.
Return Value
Type: RetArrayfcomplexNew 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