build_cached_function

Function build_cached_function 

Source
pub fn build_cached_function(
    base: &str,
    suffix: &str,
    args: Vec<Expression>,
) -> Expression
Expand description

Build a function expression with cached name construction

Combines function name caching with expression construction for optimal performance in indexed function parsing.

ยงExamples

use mathhook_core::parser::cache::build_cached_function;
use mathhook_core::Expression;

let args = vec![Expression::integer(1), Expression::symbol("x")];
let func = build_cached_function("bessel", "j_indexed", args);