gives the total of the absolute value of a vector vec.
更多信息和选项更多信息The CUDALink application must be loaded using Needs["CUDALink`"].CUDATotal does not work on symbolic input.CUDATotal works only on general vectors such as "Float", "Double", ….CUDATotal does not work on fixed vector structure types like "Float", "Integer32", ….
First, load the CUDALink application:
This computes the total absolute sum of the input vector:
Floating-point lists are supported: