Initial commit
This commit is contained in:
commit
aaa212b9a9
22 changed files with 4778 additions and 0 deletions
20
src/lib.rs
Normal file
20
src/lib.rs
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue