Expand description
Function number domain: callable function values built over CAS or native
bodies, with fn, call, and grad operations for the Func domain.
Structs§
- Func
- A callable function value in the
Funcnumber domain: its bound variables plus an optional symbolic (CAS) body and/or native body. - Func
Metadata - Out-of-band annotations attached to a
Funcvalue. - Func
Numbers Lib - Library that installs the
Funcnumber domain: its domain object, value class and shape, thefn/call/gradcallables, and the promotion rules that lift scalar number values into constant functions.
Functions§
- call_
symbol - Returns the symbol bound to the
callapply-a-function callable. - fn_
symbol - Returns the symbol bound to the
fnfunction-builder callable. - func_
class_ symbol - Returns the class symbol for the constructible
Funcvalue class (numbers/Func). - func_
domain_ symbol - Returns the domain symbol that names the
Funcnumber domain (numbers/func). - grad_
symbol - Returns the symbol bound to the
gradgradient-of-a-function callable.
Type Aliases§
- Native
Fn - A native (Rust-backed) function body: a closure invoked with the runtime
context and the evaluated argument values, used when a
Funchas no CAS body.