CUDALink`
CUDALink`

CUDAArgMinList

CUDAArgMinList[list]

gives the index of the minimum element in list.

更多信息

  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • CUDAArgMinList finds the first index that minimizes absolute value.
  • CUDAArgMinList works only on vectors.
  • CUDAArgMinList does not work on vector types.

范例

打开所有单元关闭所有单元

基本范例  (3)

First, load the CUDALink application:

In[1]:=
Click for copyable input

This computes the index argument, resulting in the minimum element in the list:

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

Floating-point lists are supported:

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

CUDAArgMinList works with different memory types. This loads memory:

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

This operates on the memory:

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

Possible Issues  (1)

参见

CUDAArgMaxList  CUDADot  CUDATotal  CUDAFold  CUDAFoldList

教程