[−][src]Struct bacon_sci::ivp::RKInfo
Provides an IVPSolver implementation for RungeKuttaSolver, based entirely on the Butch Tableaux coefficients. It is up to the RungeKuttaSolver to set up RKInfo. See RK45 for an example.
Trait Implementations
impl<N: Clone + ComplexField, S: Clone + DimName, O: Clone + DimName> Clone for RKInfo<N, S, O> where
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, O>,
DefaultAllocator: Allocator<N, O, O>,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
[src]
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, O>,
DefaultAllocator: Allocator<N, O, O>,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
impl<N: Debug + ComplexField, S: Debug + DimName, O: Debug + DimName> Debug for RKInfo<N, S, O> where
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, O>,
DefaultAllocator: Allocator<N, O, O>,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
[src]
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, O>,
DefaultAllocator: Allocator<N, O, O>,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
impl<N: ComplexField, S: DimName> From<RK23<N, S>> for RKInfo<N, S, U4> where
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, U4>,
DefaultAllocator: Allocator<N, S, U4>,
DefaultAllocator: Allocator<N, U6, U4>,
DefaultAllocator: Allocator<N::RealField, U4>,
DefaultAllocator: Allocator<N::RealField, U4>,
[src]
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, U4>,
DefaultAllocator: Allocator<N, S, U4>,
DefaultAllocator: Allocator<N, U6, U4>,
DefaultAllocator: Allocator<N::RealField, U4>,
DefaultAllocator: Allocator<N::RealField, U4>,
impl<N: ComplexField, S: DimName> From<RK45<N, S>> for RKInfo<N, S, U6> where
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, U6>,
DefaultAllocator: Allocator<N, S, U6>,
DefaultAllocator: Allocator<N, U6, U6>,
DefaultAllocator: Allocator<N::RealField, U6>,
DefaultAllocator: Allocator<N::RealField, U6>,
[src]
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, U6>,
DefaultAllocator: Allocator<N, S, U6>,
DefaultAllocator: Allocator<N, U6, U6>,
DefaultAllocator: Allocator<N::RealField, U6>,
DefaultAllocator: Allocator<N::RealField, U6>,
impl<N: ComplexField, S: DimName, O: DimName> IVPSolver<N, S> for RKInfo<N, S, O> where
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, O>,
DefaultAllocator: Allocator<N, O, O>,
DefaultAllocator: Allocator<N, S, O>,
[src]
DefaultAllocator: Allocator<N, S>,
DefaultAllocator: Allocator<N, O>,
DefaultAllocator: Allocator<N, O, O>,
DefaultAllocator: Allocator<N, S, O>,
pub fn step<T: Clone, F: FnMut(N::RealField, &[N], &mut T) -> Result<VectorN<N, S>, String>>(
&mut self,
mut f: F,
params: &mut T
) -> Result<IVPStatus<N, S>, String>
[src]
&mut self,
mut f: F,
params: &mut T
) -> Result<IVPStatus<N, S>, String>
pub fn with_tolerance(mut self: Self, tol: N::RealField) -> Result<Self, String>
[src]
pub fn with_dt_max(mut self: Self, max: N::RealField) -> Result<Self, String>
[src]
pub fn with_dt_min(mut self: Self, min: N::RealField) -> Result<Self, String>
[src]
pub fn with_start(
mut self: Self,
t_initial: N::RealField
) -> Result<Self, String>
[src]
mut self: Self,
t_initial: N::RealField
) -> Result<Self, String>
pub fn with_end(mut self: Self, t_final: N::RealField) -> Result<Self, String>
[src]
pub fn with_initial_conditions(
mut self: Self,
start: &[N]
) -> Result<Self, String>
[src]
mut self: Self,
start: &[N]
) -> Result<Self, String>
pub fn build(self) -> Self
[src]
pub fn get_initial_conditions(&self) -> Option<VectorN<N, S>>
[src]
pub fn get_time(&self) -> Option<N::RealField>
[src]
pub fn check_start(&self) -> Result<(), String>
[src]
pub fn solve_ivp<T: Clone, F: FnMut(N::RealField, &[N], &mut T) -> Result<VectorN<N, S>, String>>(
mut self: Self,
mut f: F,
params: &mut T
) -> Result<Vec<(N::RealField, VectorN<N, S>)>, String>
[src]
mut self: Self,
mut f: F,
params: &mut T
) -> Result<Vec<(N::RealField, VectorN<N, S>)>, String>
Auto Trait Implementations
impl<N, S, O> !RefUnwindSafe for RKInfo<N, S, O>
[src]
impl<N, S, O> !Send for RKInfo<N, S, O>
[src]
impl<N, S, O> !Sync for RKInfo<N, S, O>
[src]
impl<N, S, O> !Unpin for RKInfo<N, S, O>
[src]
impl<N, S, O> !UnwindSafe for RKInfo<N, S, O>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub unsafe fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,