CUDALink`
CUDALink`

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:

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

Floating-point lists are supported:

CUDAArgMinList works with different memory types. This loads memory:

This operates on the memory:

Possible Issues  (1)

CUDAArgMinList does not work with negative inputs, since CUDAArgMinList finds the element with the lowest absolute value: