[−][src]Trait diffeq::ode::types::OdeType
Associated Types
Loading content...Required methods
fn dof(&self) -> usize
degree of freedom
fn get(&self, index: usize) -> Self::Item
fn get_mut(&mut self, index: usize) -> &mut Self::Item
fn insert(&mut self, index: usize, item: Self::Item)
Provided methods
fn set_zero(&mut self)
fn fill(&mut self, item: Self::Item)
fn sum(self, other: &Self) -> Self
fn sum_mut(&mut self, other: &Self) -> &mut Self
ⓘImportant traits for OdeTypeIterator<'a, T>fn ode_iter(&self) -> OdeTypeIterator<Self>
ⓘImportant traits for OdeTypeIterator<'a, T>
fn pnorm(&self, p: PNorm) -> Self::Item
Compute the p-norm of the OdeIterable.
The p-norm is defined as:
∥A∥p=(∑i=1n|ai|p)1/p
norm(A, Inf) returns the largest value in abs.(A), whereas norm(A, -Inf) returns the smallest. If A is a matrix and p=2, then this is equivalent to the Frobenius norm.
Implementations on Foreign Types
impl<T, D: Dim> OdeType for VectorN<T, D> where
T: RealField + Add<f64, Output = T> + Mul<f64, Output = T>,
DefaultAllocator: Allocator<T, D>,
[src]
T: RealField + Add<f64, Output = T> + Mul<f64, Output = T>,
DefaultAllocator: Allocator<T, D>,
type Item = T
fn dof(&self) -> usize
[src]
fn get(&self, index: usize) -> Self::Item
[src]
fn get_mut(&mut self, index: usize) -> &mut Self::Item
[src]
fn insert(&mut self, index: usize, item: Self::Item)
[src]
impl<T> OdeType for Vec<T> where
T: RealField + Add<f64, Output = T> + Mul<f64, Output = T>,
[src]
T: RealField + Add<f64, Output = T> + Mul<f64, Output = T>,