CUDAArgMinList

CUDAArgMinList[list]
gives the index of the minimum element in list.

DetailsDetails

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

ExamplesExamplesopen allclose all

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

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]=
New to Mathematica? Find your learning path »
Have a question? Ask support »