pub struct Tableau<M: DenseMatrix> { /* private fields */ }Expand description
A butcher tableau for a Runge-Kutta method.
The tableau is defined by the matrices a, b, c and d and the order of the method.
The butchers tableau is often depicted like this example of a 3-stage method:
c1 | a11 0 0
c2 | a21 a22 0
c3 | a31 a32 a33
-------------------
| b1 b2 b3
| be1 be2 be3
-------------------
| d1 d2 d3where be is the embedded method for error control and d is the difference between the main and embedded method.
For continous extension methods, the beta matrix is also included.
Implementations§
Source§impl<M: DenseMatrix> Tableau<M>
impl<M: DenseMatrix> Tableau<M>
Sourcepub fn tr_bdf2(ctx: M::C) -> Self
pub fn tr_bdf2(ctx: M::C) -> Self
TR-BDF2 method from R.E. Bank, W.M. Coughran Jr, W. Fichtner, E.H. Grosse, D.J. Rose and R.K. Smith, Transient simulation of silicon devices and circuits, IEEE Trans. Comput.-Aided Design 4 (1985) 436-451. analysed in M.E. Hosea and L.F. Shampine. Analysis and implementation of TR-BDF2. Applied Numerical Mathematics, 20:21–37, 1996.
continuous extension from : from Jørgensen, J. B., Kristensen, M. R., & Thomsen, P. G. (2018). A family of ESDIRK integration methods. arXiv preprint arXiv:1803.01613.
Sourcepub fn esdirk34(ctx: M::C) -> Self
pub fn esdirk34(ctx: M::C) -> Self
A third order ESDIRK method from Jørgensen, J. B., Kristensen, M. R., & Thomsen, P. G. (2018). A family of ESDIRK integration methods. arXiv preprint arXiv:1803.01613.
pub fn tsit45(ctx: M::C) -> Self
pub fn new( a: M, b: M::V, c: M::V, d: M::V, order: usize, beta: Option<M>, ) -> Self
pub fn order(&self) -> usize
pub fn s(&self) -> usize
pub fn a(&self) -> &M
pub fn b(&self) -> &M::V
pub fn c(&self) -> &M::V
pub fn d(&self) -> &M::V
pub fn beta(&self) -> Option<&M>
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for Tableau<M>
impl<M> RefUnwindSafe for Tableau<M>
impl<M> Send for Tableau<M>
impl<M> Sync for Tableau<M>
impl<M> Unpin for Tableau<M>
impl<M> UnwindSafe for Tableau<M>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.