Struct bacon_sci::ivp::BDFInfo [−][src]
Provides an IVPSolver implementation for BDFSolver, based on the higher and lower order coefficients. It is up to the BDFSolver to correctly implement the coefficients.
Implementations
impl<N, S, O> BDFInfo<N, S, O> where
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>, [src]
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
Trait Implementations
impl<N: Clone, S: Clone, O: Clone> Clone for BDFInfo<N, S, O> where
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone, [src]
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
N::RealField: Clone,
impl<N: Debug, S: Debug, O: Debug> Debug for BDFInfo<N, S, O> where
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug, [src]
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
N::RealField: Debug,
impl<N, S, O> Default for BDFInfo<N, S, O> where
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>, [src]
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
impl<N, S> From<BDF2<N, S>> for BDFInfo<N, S, U3> where
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
DefaultAllocator: Allocator<N, S> + Allocator<N, U3> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>, [src]
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
DefaultAllocator: Allocator<N, S> + Allocator<N, U3> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
impl<N, S> From<BDF6<N, S>> for BDFInfo<N, S, U7> where
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
DefaultAllocator: Allocator<N, S> + Allocator<N, U7> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>, [src]
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
DefaultAllocator: Allocator<N, S> + Allocator<N, U7> + Allocator<N, S, S> + Allocator<N, U1, S> + Allocator<(usize, usize), S>,
impl<N, S, O> IVPSolver<N, S> for BDFInfo<N, S, O> where
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<(usize, usize), S> + Allocator<N, U1, S>, [src]
N: ComplexField,
S: DimName + DimMin<S, Output = S>,
O: DimName,
DefaultAllocator: Allocator<N, S> + Allocator<N, O> + Allocator<N, S, S> + Allocator<(usize, usize), S> + Allocator<N, U1, S>,
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>
fn with_tolerance(mut self: Self, tol: N::RealField) -> Result<Self, String>[src]
fn with_dt_max(mut self: Self, max: N::RealField) -> Result<Self, String>[src]
fn with_dt_min(mut self: Self, min: N::RealField) -> Result<Self, String>[src]
fn with_start(mut self: Self, t_initial: N::RealField) -> Result<Self, String>[src]
fn with_end(mut self: Self, t_final: N::RealField) -> Result<Self, String>[src]
fn with_initial_conditions(mut self: Self, start: &[N]) -> Result<Self, String>[src]
fn build(self) -> Self[src]
fn get_initial_conditions(&self) -> Option<VectorN<N, S>>[src]
fn get_time(&self) -> Option<N::RealField>[src]
fn check_start(&self) -> Result<(), String>[src]
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 BDFInfo<N, S, O>[src]
impl<N, S, O> !Send for BDFInfo<N, S, O>[src]
impl<N, S, O> !Sync for BDFInfo<N, S, O>[src]
impl<N, S, O> !Unpin for BDFInfo<N, S, O>[src]
impl<N, S, O> !UnwindSafe for BDFInfo<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>,
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>,