Calculates the sum of the absolute values of elements in a vector. For complex vectors, the VI calculates the sum of the absolute values of the real and imaginary parts of elements in a vector.
The data type you wire to the x input determines the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.
.gif)
![]() |
xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input.
xInc must be greater than zero.
|
||
![]() |
x is a real vector. | ||
![]() |
dasum is a real scalar that returns the sum of the absolute values of elements in x. | ||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
.gif)
![]() |
xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input.
xInc must be greater than zero.
|
||
![]() |
x is a real vector. | ||
![]() |
dzasum is a complex scalar that returns the sum of the absolute values of the real and imaginary parts of elements in x. | ||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Refer to BLAS (Basic Linear Algebra Subprograms) for more information on the BLAS functions.