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:

Wolfram Research (2010), CUDAArgMinList, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMinList.html.

Text

Wolfram Research (2010), CUDAArgMinList, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMinList.html.

BibTeX

@misc{reference.wolfram_2021_cudaargminlist, author="Wolfram Research", title="{CUDAArgMinList}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMinList.html}", note=[Accessed: 31-July-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_cudaargminlist, organization={Wolfram Research}, title={CUDAArgMinList}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMinList.html}, note=[Accessed: 31-July-2021 ]}

CMS

Wolfram Language. 2010. "CUDAArgMinList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMinList.html.

APA

Wolfram Language. (2010). CUDAArgMinList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMinList.html