Initial commit

This commit is contained in:
Pascal Engélibert 2023-11-16 23:28:16 +01:00
commit aaa212b9a9
22 changed files with 4778 additions and 0 deletions

20
src/lib.rs Normal file
View file

@ -0,0 +1,20 @@
pub mod model;
#[cfg(feature = "plot")]
pub mod plot;
pub mod solver;
mod util;
pub mod prelude {
#[cfg(feature = "plot")]
pub use crate::plot::{Plot, PlotBuilder, PlotBuilderError};
pub use crate::{
model::{Model, Settings},
solver::{
euler::{ExplicitEuler, ImplicitEuler},
Solver,
},
util::{Mat, Vect},
};
#[cfg(feature = "plot")]
pub use plotters::style::colors;
}