diffsol 0.1.9

A library for solving ordinary differential equations (ODEs) in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{LinearSolver, NonLinearOp};

use super::Matrix;

pub trait DefaultSolver: Matrix {
    type LS<C: NonLinearOp<M = Self, V = Self::V, T = Self::T>>: LinearSolver<C> + Default;
    fn default_solver<C: NonLinearOp<M = Self, V = Self::V, T = Self::T>>() -> Self::LS<C> {
        Self::LS::default()
    }
}