ManagedLibraryExpressionID

ManagedLibraryExpressionID[expr]

returns the positive integer ID associated with expr if it is a managed library expression and $Failed otherwise.

ManagedLibraryExpressionID[expr,mname]

only returns the ID if expr is associated with the registered manager having name mname.

Details

Examples

Basic Examples  (1)

Load example LibraryFunction objects that implement a simple linear congruential random generator:

Create an instance of a linear congruential generator:

Get its unique ID:

Set its parameters using the unique ID assigned by CreateManagedLibraryExpression:

Generate two pseudorandom numbers from the instance:

Wolfram Research (2014), ManagedLibraryExpressionID, Wolfram Language function, https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html.

Text

Wolfram Research (2014), ManagedLibraryExpressionID, Wolfram Language function, https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html.

CMS

Wolfram Language. 2014. "ManagedLibraryExpressionID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ManagedLibraryExpressionID.html.

APA

Wolfram Language. (2014). ManagedLibraryExpressionID. Wolfram Language & System Documentation Center. Retrieved from 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: 22-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: 22-November-2024 ]}