CUDAArgMinList

CUDAArgMinList[list]

gives the index of the minimum element in list.

Details

  • 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.

Examples

open allclose all

Basic Examples  (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)

See Also

CUDAArgMaxList  CUDADot  CUDATotal  CUDAFold  CUDAFoldList

Tutorials