[][src]Struct inta::Interval

pub struct Interval<F: Float + FloatExp + Debug> {
    pub inf: F,
    pub sup: F,
}

Fields

inf: Fsup: F

Methods

impl<F: Float + FloatExp + Debug> Interval<F>[src]

pub fn new(x: F) -> Self[src]

pub fn from(x: F) -> Self[src]

pub fn to(self, y: F) -> Self[src]

pub fn norm(self) -> F[src]

pub fn mid(self) -> F[src]

pub fn sqrt(self) -> Self[src]

pub fn hull(self, other: Self) -> Self[src]

pub fn intersect(self, other: Self) -> Self[src]

pub fn contains(self, other: Self) -> bool[src]

pub fn exp(self) -> Self[src]

pub fn ln(self) -> Self[src]

pub fn ln1p(self) -> Self[src]

pub fn sin(self) -> Self[src]

pub fn cos(self) -> Self[src]

pub fn tan(self) -> Self[src]

pub fn atan(self) -> Self[src]

pub fn asin(self) -> Self[src]

pub fn acos(self) -> Self[src]

pub fn sinh(self) -> Self[src]

pub fn cosh(self) -> Self[src]

pub fn tanh(self) -> Self[src]

pub fn asinh(self) -> Self[src]

pub fn acosh(self) -> Self[src]

pub fn atanh(self) -> Self[src]

pub fn pi() -> Self[src]

pub fn e() -> Self[src]

Trait Implementations

impl<F> Add<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

type Output = Interval<F>

The resulting type after applying the + operator.

impl<F> AddAssign<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

impl<F: Clone + Float + FloatExp + Debug> Clone for Interval<F>[src]

impl<F: Copy + Float + FloatExp + Debug> Copy for Interval<F>[src]

impl<F: Debug + Float + FloatExp> Debug for Interval<F>[src]

impl<F> Div<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

type Output = Interval<F>

The resulting type after applying the / operator.

impl<F> DivAssign<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

impl<F> Mul<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

type Output = Interval<F>

The resulting type after applying the * operator.

impl<F> MulAssign<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

impl<F> Neg for Interval<F> where
    F: Float + FloatExp + Debug
[src]

type Output = Self

The resulting type after applying the - operator.

impl<F: PartialEq + Float + FloatExp + Debug> PartialEq<Interval<F>> for Interval<F>[src]

impl<F> PartialOrd<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

impl<F: Float + FloatExp + Debug> StructuralPartialEq for Interval<F>[src]

impl<F> Sub<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

type Output = Interval<F>

The resulting type after applying the - operator.

impl<F> SubAssign<Interval<F>> for Interval<F> where
    F: Float + FloatExp + Debug
[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for Interval<F> where
    F: RefUnwindSafe

impl<F> Send for Interval<F> where
    F: Send

impl<F> Sync for Interval<F> where
    F: Sync

impl<F> Unpin for Interval<F> where
    F: Unpin

impl<F> UnwindSafe for Interval<F> where
    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.