1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Math, plotting, tensor, and symbolic lenses for the SIM Web-UI (WEBUI_4).
//!
//! This lens family makes graphical math first-class: `scene/plot` series and
//! function plots, `scene/matrix` editable tensor/matrix slices, a
//! symbolic-expression tree lens, and slider/knob-driven parameter sweeps
//! (`intent/set-param`) with snapshot and compare. Numbers are read from the
//! existing `sim-lib-numbers-*` domains for display; the runtime value stays the
//! authoritative number.
//!
//! # Example
//!
//! A numeric series opens in a plot lens as a Scene value:
//!
//! ```
//! let scene = sim_lib_view_math::plot_view("y = x", &[(0.0, 0.0), (1.0, 1.0)]);
//! assert!(sim_lib_scene::validate_scene(&scene).is_ok());
//! ```
pub use ;
pub use ;
pub use ;
pub use Sweep;
pub use ;
/// Embedded cookbook recipe books shipped with this library.
pub static RECIPES: EmbeddedDir =
include!;