CUDATotal
This feature is not supported on the Wolfram Cloud.

CUDATotal[vec]
gives the total of the absolute value of a vector vec.

DetailsDetails

  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • does not work on symbolic input.
  • works only on general vectors such as , , .
  • does not work on fixed vector structure types like , , .

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

First, load the CUDALink application:

In[1]:=
Click for copyable input

This computes the total absolute sum of the input vector:

In[2]:=
Click for copyable input
Out[2]=

Floating-point lists are supported:

In[1]:=
Click for copyable input
Out[1]=