RustedSciThe 0.4.20

Rust framework for symbolic and numerical computing:BVP ( Newton-Raphson frozen/damped/with collocations ), IVP( BDF, Radau, Backward Euler, LSODE, LSODA, RK45, DoPri), nonlinear equations ( Levenberg, Gavin) and more
pub mod LM_Nielsen;
pub mod LM_backtracking;
pub mod LM_utils;
pub mod LM_vanilla;
pub mod NR_damped;
pub mod engine;
pub mod error;
/// Canonical rectangular least-squares numerical core.
pub mod least_squares;
pub mod nonlinear_aot_ffi_transpose_story_tests;
pub mod nonlinear_aot_large_story_tests;
pub mod nonlinear_atom_native_story_tests;
pub mod nonlinear_backend_parity_story_tests;
pub mod nonlinear_external_aot_story_tests;
pub mod nonlinear_lambdify_acceptance_tests;
pub mod nonlinear_lambdify_stage_story_tests;
pub mod nonlinear_parameter_story_tests;
pub mod nonlinear_preparation_telemetry_tests;
///  Example#1
/// ```
///
/// use RustedSciThe::numerical::Nonlinear_systems::prelude::*;
/// use nalgebra::DVector;
///
/// let problem = SymbolicNonlinearProblem::from_strings(
///     vec!["x^2+y^2-10".to_string(), "x-y-4".to_string()],
///     Some(vec!["x".to_string(), "y".to_string()]),
///     None,
///     None,
/// )
/// .expect("problem");
///
/// let result = SolverEngine::new(NewtonMethod, SolveOptions::default())
///     .solve(&problem, DVector::from_vec(vec![1.0, 1.0]))
///     .expect("solve");
///
/// assert!((result.x[0] - 3.0).abs() < 1e-8);
///  ```
/// Example#2
/// ```
/// use RustedSciThe::numerical::Nonlinear_systems::prelude::*;
/// use nalgebra::DVector;
///
/// let options = SymbolicProblemOptions::new()
///     .with_variables(vec!["x".to_string(), "y".to_string()])
///     .with_lambdify_backend();
///
/// let problem = SymbolicNonlinearProblem::from_strings_with_options(
///     vec!["x^2+y^2-10".to_string(), "x-y-4".to_string()],
///     options,
/// )
/// .expect("problem");
///
/// let solve_options = SolveOptions {
///     tolerance: 1e-8,
///     max_iterations: 50,
///     ..SolveOptions::default()
/// };
///
/// let solution = NonlinearSolverMethod::DampedNewton(DampedNewtonMethod::default())
///     .solve(&problem, DVector::from_vec(vec![1.0, 1.0]), solve_options)
///     .expect("solve");
///
/// assert!((solution.x[0] - 3.0).abs() < 1e-6);
///  ```
pub mod nonlinear_solver_tests;
pub mod nonlinear_stress_tests;
pub mod prelude;
pub mod problem;
/// Scalar nonlinear root-finding algorithms.
pub mod scalar_root;
/// Unified root-finding and least-squares solver selection.
pub mod solver;
pub mod symbolic;
pub mod symbolic_aot;
pub mod symbolic_aot_lifecycle_tests;
pub mod symbolic_aot_solver_tests;
pub mod symbolic_aot_test_support;
pub(crate) mod symbolic_atom;
pub(crate) mod symbolic_atom_aot;
pub mod symbolic_backend;
pub mod symbolic_generated;
pub(crate) mod symbolic_legacy;
pub mod tp1907_chon_graphite_tests;
pub mod trust_region;
pub mod trust_region_LM;
pub mod trust_region_lmpar;