sim_lib_numbers_func/lib.rs
1#![forbid(unsafe_code)]
2#![allow(deprecated)]
3#![deny(missing_docs)]
4
5//! Function number domain: callable function values built over CAS or native
6//! bodies, with `fn`, `call`, and `grad` operations for the `Func` domain.
7
8mod implementation;
9
10pub use implementation::{
11 Func, FuncMetadata, FuncNumbersLib, NativeFn, call_symbol, fn_symbol, func_class_symbol,
12 func_domain_symbol, grad_symbol,
13};
14
15#[cfg(test)]
16mod tests;
17
18/// Cookbook recipes for this domain, embedded at build time.
19pub static RECIPES: sim_cookbook::EmbeddedDir =
20 include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));