ManagedLibraryExpressionID

ManagedLibraryExpressionID[expr]

返回与 expr 相关联的正整数 ID,如果它是一个管理程序库表达式;否则为 $Failed.

ManagedLibraryExpressionID[expr,mname]

只返回 ID,如果 expr 与名称为 mname 的注册管理器相关联.

更多信息

范例

基本范例  (1)

加载实现简单线性同余随机生成器的实例 LibraryFunction 对象:

创建线性同余生成器的实例:

获取唯一的ID:

使用由 CreateManagedLibraryExpression 分配的唯一 ID 设置参数:

从实例生成两个伪随机数:

Wolfram Research (2014),ManagedLibraryExpressionID,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html.

文本

Wolfram Research (2014),ManagedLibraryExpressionID,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html.

CMS

Wolfram 语言. 2014. "ManagedLibraryExpressionID." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html.

APA

Wolfram 语言. (2014). ManagedLibraryExpressionID. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html 年

BibTeX

@misc{reference.wolfram_2024_managedlibraryexpressionid, author="Wolfram Research", title="{ManagedLibraryExpressionID}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_managedlibraryexpressionid, organization={Wolfram Research}, title={ManagedLibraryExpressionID}, year={2014}, url={https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html}, note=[Accessed: 21-November-2024 ]}