pub struct Integral<const N: usize> {
pub value: [f64; N],
pub error: [f64; N],
pub intervals: usize,
}Expand description
A converged integral.
Fields§
§value: [f64; N]The integral of each component.
error: [f64; N]The summed error estimate of each component.
intervals: usizeThe number of subintervals used.
Trait Implementations§
impl<const N: usize> Copy for Integral<N>
Source§impl<'de, const N: usize> Deserialize<'de> for Integral<N>
impl<'de, const N: usize> Deserialize<'de> for Integral<N>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<const N: usize> PartialEq for Integral<N>
impl<const N: usize> PartialEq for Integral<N>
impl<const N: usize> StructuralPartialEq for Integral<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Integral<N>
impl<const N: usize> RefUnwindSafe for Integral<N>
impl<const N: usize> Send for Integral<N>
impl<const N: usize> Sync for Integral<N>
impl<const N: usize> Unpin for Integral<N>
impl<const N: usize> UnsafeUnpin for Integral<N>
impl<const N: usize> UnwindSafe for Integral<N>
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
Mutably borrows from an owned value. Read more