[][src]Struct gkquad::prelude::Integrator2

pub struct Integrator2<F: Integrand2, A> { /* fields omitted */ }

2-dimentional integration Executor

Methods

impl<F: Integrand2, A> Integrator2<F, A>[src]

pub fn with_algorithm(integrand: F, algorithm: A) -> Integrator2<F, A>[src]

This is supported on feature="double" only.

pub fn tolerance(self, t: Tolerance) -> Self[src]

This is supported on feature="double" only.

Set tolerance

pub fn max_iters(self, max_iters: usize) -> Self[src]

This is supported on feature="double" only.

Set maximum number of subranges

pub fn points(self, pts: &[(f64, f64)]) -> Self[src]

This is supported on feature="double" only.

Set singular points

pub fn get_algorithm(&self) -> &A[src]

This is supported on feature="double" only.

pub fn run<'a, T>(&mut self, range: T) -> IntegrationResult where
    T: IntoRange2,
    A: Algorithm2<F, T::IntoRange>, 
[src]

This is supported on feature="double" only.

Trait Implementations

impl<F: Clone + Integrand2, A: Clone> Clone for Integrator2<F, A>[src]

impl<F: Debug + Integrand2, A: Debug> Debug for Integrator2<F, A>[src]

impl<F: Default + Integrand2, A: Default> Default for Integrator2<F, A>[src]

impl<F: PartialEq + Integrand2, A: PartialEq> PartialEq<Integrator2<F, A>> for Integrator2<F, A>[src]

impl<F: Integrand2, A> StructuralPartialEq for Integrator2<F, A>[src]

Auto Trait Implementations

impl<F, A> RefUnwindSafe for Integrator2<F, A> where
    A: RefUnwindSafe,
    F: RefUnwindSafe

impl<F, A> Send for Integrator2<F, A> where
    A: Send,
    F: Send

impl<F, A> Sync for Integrator2<F, A> where
    A: Sync,
    F: Sync

impl<F, A> Unpin for Integrator2<F, A> where
    A: Unpin,
    F: Unpin

impl<F, A> UnwindSafe for Integrator2<F, A> where
    A: UnwindSafe,
    F: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.