CUDAArgMaxList[list]
gives the index of the maximum element in list.
CUDAArgMaxList
CUDAArgMaxList[list]
gives the index of the maximum element in list.
更多信息和选项
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDAArgMaxList finds the first index that maximizes absolute value.
- CUDAArgMaxList works only on vectors.
- CUDAArgMaxList does not work on vector types.
范例
基本范例 (3)
First, load the CUDALink application:
Needs["CUDALink`"]This computes the index argument, resulting in the maximum element in the list:
CUDAArgMaxList[Range[10]]Floating-point lists are supported:
CUDAArgMaxList[1.0 * Range[10, 0, -1]]CUDAArgMaxList works with different memory types. This loads memory:
mem = CUDAMemoryLoad[Range[100], "Byte"]CUDAArgMaxList[mem]相关指南
-
▪
- CUDALink
文本
Wolfram Research (2010),CUDAArgMaxList,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html.
CMS
Wolfram 语言. 2010. "CUDAArgMaxList." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html.
APA
Wolfram 语言. (2010). CUDAArgMaxList. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html 年
BibTeX
@misc{reference.wolfram_2026_cudaargmaxlist, author="Wolfram Research", title="{CUDAArgMaxList}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html}", note=[Accessed: 16-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_cudaargmaxlist, organization={Wolfram Research}, title={CUDAArgMaxList}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html}, note=[Accessed: 16-August-2026]}