pub struct FilonIntegral { /* private fields */ }Expand description
Filon integrator for f(x) * {sin,cos}(t x) over an even interval count.
Implementations§
Source§impl FilonIntegral
impl FilonIntegral
Sourcepub fn new(kind: FilonType, t: Real, intervals: Size) -> QlResult<Self>
pub fn new(kind: FilonType, t: Real, intervals: Size) -> QlResult<Self>
A Filon integrator against sin/cos of frequency t, splitting the
domain into intervals equal sub-intervals.
§Errors
Returns an error unless intervals is even and positive, and t is
finite and non-zero (Filon’s coefficients divide by t * h).
Trait Implementations§
Source§impl Integrator for FilonIntegral
impl Integrator for FilonIntegral
Source§fn integrate_impl<F>(&self, f: &mut F, a: Real, b: Real) -> QlResult<Real>
fn integrate_impl<F>(&self, f: &mut F, a: Real, b: Real) -> QlResult<Real>
Integrates
f over [a, b] for a < b; the Integrator::integrate
driver guarantees ordered, non-degenerate limits.Auto Trait Implementations§
impl Freeze for FilonIntegral
impl RefUnwindSafe for FilonIntegral
impl Send for FilonIntegral
impl Sync for FilonIntegral
impl Unpin for FilonIntegral
impl UnsafeUnpin for FilonIntegral
impl UnwindSafe for FilonIntegral
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