-
函数
- BuildCompiledComponent
- Compile
- Compiled
- CompiledCodeFunction
- CompiledComponent
- CompiledComponentRawInterface
- CompiledExpressionDeclaration
- CompiledFunction
- CompiledLayer
- CompilerEnvironment
- CompilerEnvironmentAppendTo
- CompilerEnvironmentObject
- CompilerInformation
- CompilerOptions
- CompilerRuntimeErrorAction
- CreateCompilerEnvironment
- CreateTypeInstance
- CurrentCompiledFunctionData
- DeclareCompiledComponent
- DownValuesFunction
- FindRoot
- ForAllType
- FunctionCompile
- FunctionCompileExport
- FunctionCompileExportByteArray
- FunctionCompileExportLibrary
- FunctionCompileExportString
- FunctionDeclaration
- IfCompiled
- IncrementalFunction
- IncrementalReceive
- IncrementalYield
- Information
- KernelEvaluate
- KernelFunction
- LibraryFunctionDeclaration
- LiteralType
- LoadCompiledComponent
- OperationDeclaration
- ProgressReporting
- SequenceType
- TargetSystem
- Typed
- TypeDeclaration
- TypeEvaluate
- TypeHint
- TypeOf
- TypeSpecifier
- 相关指南
- 技术笔记
-
-
函数
- BuildCompiledComponent
- Compile
- Compiled
- CompiledCodeFunction
- CompiledComponent
- CompiledComponentRawInterface
- CompiledExpressionDeclaration
- CompiledFunction
- CompiledLayer
- CompilerEnvironment
- CompilerEnvironmentAppendTo
- CompilerEnvironmentObject
- CompilerInformation
- CompilerOptions
- CompilerRuntimeErrorAction
- CreateCompilerEnvironment
- CreateTypeInstance
- CurrentCompiledFunctionData
- DeclareCompiledComponent
- DownValuesFunction
- FindRoot
- ForAllType
- FunctionCompile
- FunctionCompileExport
- FunctionCompileExportByteArray
- FunctionCompileExportLibrary
- FunctionCompileExportString
- FunctionDeclaration
- IfCompiled
- IncrementalFunction
- IncrementalReceive
- IncrementalYield
- Information
- KernelEvaluate
- KernelFunction
- LibraryFunctionDeclaration
- LiteralType
- LoadCompiledComponent
- OperationDeclaration
- ProgressReporting
- SequenceType
- TargetSystem
- Typed
- TypeDeclaration
- TypeEvaluate
- TypeHint
- TypeOf
- TypeSpecifier
- 相关指南
- 技术笔记
-
函数
代码编译
Wolfram 语言具有高级的编译能力,允许将越来越多的 Wolfram 语言代码编译进自然的机器代码. 高级类型推理允许自动推理类型或由用户进行最小方式的指定. Wolfram 编译器产生 LLVM 代码并产生不仅适于 Wolfram 系统内部使用,而且适于链接外部程序的可执行代码.
产生编译代码
FunctionCompile — 创建一个纯函数的编译版本
CompiledCodeFunction — 表示一个用编译代码实现的函数
代码注释
KernelEvaluate — 要在计算中而不是编译代码中执行的表达式
KernelFunction — 函数在计算中而不是编译的代码中执行
IfCompiled — 为计算和编译处理指定不同的代码
类型规范 »
Typed — 定义对象类型
"Boolean" ▪ "UnsignedInteger32" ▪ "UnsignedInteger64" ▪ "Integer32" ▪ "Integer64" ▪ "MachineInteger" ▪ "Real64" ▪ "ComplexReal64" ▪ ...
TypeSpecifier — 用于构建类型规范的元素
"NumericArray" ▪ "PackedArray"
{type1,type2,…}type — 函数的类型签名
TypeHint — 指定函数体中的一个类型
ForAllType — 接受参数的类型
TypeEvaluate — 由计算产生的类型
OperationDeclaration — 附加到类型的操作的辅助声明
LiteralType — 用作类型的文字值
SequenceType — 表示变量参数函数的类型
TypeOf — 表达式的类型
CreateTypeInstance — 在编译代码中创建某种类型的实例
处理已编译的代码
Information — 获取关于编译代码函数的信息
CurrentCompiledFunctionData — 获取可在编译代码中使用的编译函数数据
导出已编译的代码
FunctionCompileExport — 通过编译纯函数创建一个对象文件
FunctionCompileExportLibrary — 通过编译纯函数创建一个共享库
FunctionCompileExportString — 为给定的纯函数给出已编译的代码的字符串
FunctionCompileExportByteArray — 给出已编译代码的二进制格式
编译器声明
FunctionDeclaration — 在编译中使用的辅助函数声明
LibraryFunctionDeclaration — 用于编译的库函数的辅助声明
TypeDeclaration — 在编译中使用的辅助类型声明
CompiledExpressionDeclaration — 用于编译带有表达式嵌入的类型的辅助声明
DownValuesFunction — 编译代码时使用附加到符号的定义
CompilerInformation — 函数和类型声明的编译器特定信息
编译环境
CreateCompilerEnvironment — 创建编译定义的新环境
$CompilerEnvironment — 默认编译环境
CompilerEnvironmentAppendTo — 为编译器环境添加辅助声明
CompilerEnvironmentObject — 编译定义的环境
编译选项
CompilerEnvironment — 用在编译中的编译器声明环境
CompilerOptions — 传递给编译管道的详细选项
CompilerRuntimeErrorAction — 执行已编译函数时要采取的行为
ProgressReporting — 如何报告编译进展
TargetSystem — 编译目标的机器架构
专用编译函数
IncrementalFunction — 可以暂停执行的函数的表示
IncrementalYield — 暂停一个增量函数并返回一个值
IncrementalReceive — 暂停一个增量函数,并在恢复时返回一个值
CompiledLayer — 表示其计算由可编译函数定义的网络层
编译组件
CompiledComponent — 编译器声明的一组命名
DeclareCompiledComponent — 给编译的组件添加声明
BuildCompiledComponent — 给编译组件构建共享库
LoadCompiledComponent — 从构建组件中加载和安装共享库
CompiledComponentRawInterface — 根据构建的组件加载并安装原始库接口
轻量级数值编译器
Compile — 基本数值评估的编译代码
CompiledFunction — 由 Compile 创建的函数
相关技术笔记
相关指南
-
▪
- 编译类型