This commit is contained in:
Simon Gardling
2022-03-09 22:51:00 -05:00
parent 79da65792b
commit d436025e24
2 changed files with 10 additions and 2 deletions

View File

@@ -42,6 +42,11 @@ impl FunctionOutput {
pub fn invalidate_derivative(&mut self) { self.derivative = None; }
pub fn invalidate_points(&mut self) {
self.extrema = None;
self.roots = None;
}
pub fn display(
&self, plot_ui: &mut PlotUi, func_str: &str, derivative_str: &str, step: f64,
derivative_enabled: bool,