Module rusfun::wasm [−][src]
Expand description
Interface module to enable the call of Rust functions using WASM
Structs
FitResult | The returned fit result from a fit() call Fields need to be accessed in JS by their getter functions that have the same name |
Functions
__wasm_bindgen_generated_fit | Fit using the LM algorithm for model named model_name using initial parameters p, data (x, y, sy), fitting only where there is a non-zero value in vary_p |
__wasm_bindgen_generated_init_panic_hook | |
__wasm_bindgen_generated_model | Calls Rust defined model functions by their function name for given parameters and a domain |
calculate_model | Interface function between input from wasm as Vec |
fit | Fit using the LM algorithm for model named model_name using initial parameters p, data (x, y, sy), fitting only where there is a non-zero value in vary_p |
get_function | Translates a string to a implemented function in rusfun to make them easily callable |
init_panic_hook | |
model | Calls Rust defined model functions by their function name for given parameters and a domain |