CUDALink`
CUDALink`

CUDATotal

CUDATotal[vec]

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[2]", "Integer32[2]", .
  • 范例

    基本范例  (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]=

    参见

    Total  CUDAFold  CUDAFoldList  CUDAFunctionLoad

    教程