[−][src]Struct inta::Interval
Fields
inf: F
sup: 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]
F: Float + FloatExp + Debug,
type Output = Interval<F>
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Interval<F>
[src]
impl<F> AddAssign<Interval<F>> for Interval<F> where
F: Float + FloatExp + Debug,
[src]
F: Float + FloatExp + Debug,
fn add_assign(&mut self, other: Self)
[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]
F: Float + FloatExp + Debug,
type Output = Interval<F>
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Interval<F>
[src]
impl<F> DivAssign<Interval<F>> for Interval<F> where
F: Float + FloatExp + Debug,
[src]
F: Float + FloatExp + Debug,
fn div_assign(&mut self, other: Self)
[src]
impl<F> Mul<Interval<F>> for Interval<F> where
F: Float + FloatExp + Debug,
[src]
F: Float + FloatExp + Debug,
type Output = Interval<F>
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Interval<F>
[src]
impl<F> MulAssign<Interval<F>> for Interval<F> where
F: Float + FloatExp + Debug,
[src]
F: Float + FloatExp + Debug,
fn mul_assign(&mut self, other: Self)
[src]
impl<F> Neg for Interval<F> where
F: Float + FloatExp + Debug,
[src]
F: Float + FloatExp + Debug,
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]
F: Float + FloatExp + Debug,
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[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]
F: Float + FloatExp + Debug,
type Output = Interval<F>
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Interval<F>
[src]
impl<F> SubAssign<Interval<F>> for Interval<F> where
F: Float + FloatExp + Debug,
[src]
F: Float + FloatExp + Debug,
fn sub_assign(&mut self, other: Self)
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for Interval<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for Interval<F> where
F: Send,
F: Send,
impl<F> Sync for Interval<F> where
F: Sync,
F: Sync,
impl<F> Unpin for Interval<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for Interval<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,