[−][src]Struct inari::Interval
Implementations
impl Interval
[src]
pub fn abs(self) -> Self
[src]
pub fn max(self, rhs: Self) -> Self
[src]
pub fn min(self, rhs: Self) -> Self
[src]
impl Interval
[src]
pub fn mul_add(self, rhs: Self, addend: Self) -> Self
[src]
pub fn recip(self) -> Self
[src]
pub fn sqr(self) -> Self
[src]
pub fn sqrt(self) -> Self
[src]
impl Interval
[src]
pub fn contains(self, rhs: f64) -> bool
[src]
pub fn disjoint(self, rhs: Self) -> bool
[src]
pub fn interior(self, rhs: Self) -> bool
[src]
pub fn is_common_interval(self) -> bool
[src]
pub fn is_empty(self) -> bool
[src]
pub fn is_entire(self) -> bool
[src]
pub fn is_singleton(self) -> bool
[src]
pub fn less(self, rhs: Self) -> bool
[src]
pub fn precedes(self, rhs: Self) -> bool
[src]
pub fn strict_less(self, rhs: Self) -> bool
[src]
pub fn strict_precedes(self, rhs: Self) -> bool
[src]
pub fn subset(self, rhs: Self) -> bool
[src]
impl Interval
[src]
pub const E: Self
[src]
pub const FRAC_1_PI: Self
[src]
pub const FRAC_1_SQRT_2: Self
[src]
pub const FRAC_2_PI: Self
[src]
pub const FRAC_2_SQRT_PI: Self
[src]
pub const FRAC_PI_2: Self
[src]
pub const FRAC_PI_3: Self
[src]
pub const FRAC_PI_4: Self
[src]
pub const FRAC_PI_6: Self
[src]
pub const FRAC_PI_8: Self
[src]
pub const LN_10: Self
[src]
pub const LN_2: Self
[src]
pub const LOG10_2: Self
[src]
pub const LOG10_E: Self
[src]
pub const LOG2_10: Self
[src]
pub const LOG2_E: Self
[src]
pub const PI: Self
[src]
pub const SQRT_2: Self
[src]
pub const TAU: Self
[src]
impl Interval
[src]
pub fn ceil(self) -> Self
[src]
pub fn floor(self) -> Self
[src]
pub fn round_ties_to_away(self) -> Self
[src]
pub fn round_ties_to_even(self) -> Self
[src]
pub fn sign(self) -> Self
[src]
pub fn trunc(self) -> Self
[src]
impl Interval
[src]
impl Interval
[src]
pub fn inf(self) -> f64
[src]
pub fn mag(self) -> f64
[src]
pub fn mid(self) -> f64
[src]
pub fn mig(self) -> f64
[src]
pub fn rad(self) -> f64
[src]
pub fn sup(self) -> f64
[src]
pub fn wid(self) -> f64
[src]
impl Interval
[src]
pub fn overlap(self, rhs: Self) -> OverlappingState
[src]
impl Interval
[src]
pub fn convex_hull(self, rhs: Self) -> Self
[src]
pub fn intersection(self, rhs: Self) -> Self
[src]
Trait Implementations
impl Add<Interval> for Interval
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
impl AddAssign<Interval> for Interval
[src]
fn add_assign(&mut self, rhs: Self)
[src]
impl Clone for Interval
[src]
impl Copy for Interval
[src]
impl Debug for Interval
[src]
impl Display for Interval
[src]
impl Div<Interval> for Interval
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self
[src]
impl DivAssign<Interval> for Interval
[src]
fn div_assign(&mut self, rhs: Self)
[src]
impl Eq for Interval
[src]
impl FromStr for Interval
[src]
type Err = IntervalError<Self>
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, IntervalError<Self>>
[src]
impl LowerExp for Interval
[src]
impl LowerHex for Interval
[src]
impl Mul<Interval> for Interval
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl MulAssign<Interval> for Interval
[src]
fn mul_assign(&mut self, rhs: Self)
[src]
impl Neg for Interval
[src]
impl PartialEq<Interval> for Interval
[src]
impl Sub<Interval> for Interval
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self
[src]
impl SubAssign<Interval> for Interval
[src]
fn sub_assign(&mut self, rhs: Self)
[src]
impl TryFrom<(f64, f64)> for Interval
[src]
Auto Trait Implementations
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnwindSafe for Interval
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Az for T
[src]
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> CheckedAs for T
[src]
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
T: CheckedCast<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> OverflowingAs for T
[src]
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
T: OverflowingCast<Dst>,
impl<T> SaturatingAs for T
[src]
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
T: SaturatingCast<Dst>,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WrappingAs for T
[src]
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
T: WrappingCast<Dst>,