CCodeGenerator`
CCodeGenerator`
LibraryGenerate
LibraryGenerate[cfun,name,opts]
generates a shared library from the compiled function cfun using the name as the exported function name.
更多信息和选项
- To use LibraryGenerate, you first need to load it using Needs["CCodeGenerator`"].
- LibraryGenerate can make standalone code or a Wolfram Library.
- The Wolfram Language contains the necessary headers and libraries for standalone code.
- The following option can be given:
-
"CodeTarget" "WolframLibrary" the type of code to generate
范例
Wolfram Research (2010),LibraryGenerate,Wolfram 语言函数,https://reference.wolfram.com/language/CCodeGenerator/ref/LibraryGenerate.html.
文本
Wolfram Research (2010),LibraryGenerate,Wolfram 语言函数,https://reference.wolfram.com/language/CCodeGenerator/ref/LibraryGenerate.html.
CMS
Wolfram 语言. 2010. "LibraryGenerate." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CCodeGenerator/ref/LibraryGenerate.html.
APA
Wolfram 语言. (2010). LibraryGenerate. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CCodeGenerator/ref/LibraryGenerate.html 年