Version: latest (v0.11.0)

compile_kernels

Stable function · Other

Tier: stable · Kind: function · Topic: Other

JuliaTypeScriptPythonRustGo
compile_kernelsnot exportedcompile_kernelscompile_kernelsnot exported

Julia

compile_kernels(prob::EsmProblem, specs)
compile_kernels(prob::EsmProblem, specs) -> KernelSet

Compile kernel specs (API_SPEC §5.8, “Kernel specs”) against prob’s build: each spec a Dict or a JSON string, specs a vector of them or one JSON array string. The reserved name rhs, with no outputs, is the stripped right-hand side. Refuses with kernel_output_unresolved and affect_reads_post_value.

Source

TypeScript

TypeScript does not export this function.

Python

compile_kernels(prob: Any, specs: Any) -> Any

Standalone kernels (API_SPEC §5.8) are compiled by Julia and Rust only.

Source

Rust

pub fn compile_kernels(prob: &EsmProblem, specs: &[KernelSpec]) -> Result<KernelSet, SimulateError>

Compile specs against prob’s (stripped) build (API_SPEC §5.8). The reserved name rhs, with no outputs, is the stripped right-hand side.

Source · Rust docs

Go

Go does not export this function.