此为 Mathematica 8 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)

CUDATotal

CUDATotal[vec]
gives the total of the absolute value of a vector vec.
  • The CUDALink application must be loaded using Needs.
  • does not work on symbolic input.
  • works only on general vectors such as , , ....
  • does not work on fixed vector structure types like , , ....
First, load the CUDALink application:
This computes the total absolute sum of the input vector:
Floating-point lists are supported:
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]=