load_with_table

Function load_with_table 

Source
pub fn load_with_table(
    expression: &str,
    table: SymTable,
) -> Result<Program<'_, Linked>, String>
Expand description

Loads, compiles, and links an expression, returning a ready-to-execute program.

ยงExamples

use expr_solver::{load_with_table, SymTable};

let program = load_with_table("sin(pi/2)", SymTable::stdlib()).unwrap();
let result = program.execute().unwrap();