[][src]Struct inari::Interval

#[repr(C)]pub struct Interval { /* fields omitted */ }

Implementations

impl Interval[src]

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

Returns the absolute value of self.

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]

Returns self * rhs + addend.

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

Returns the multiplicative inverse of self.

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

Returns the square of self.

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

Returns the principal square root of self.

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 fn to_be_bytes(self) -> [u8; 16][src]

pub fn to_le_bytes(self) -> [u8; 16][src]

pub fn to_ne_bytes(self) -> [u8; 16][src]

pub fn try_from_be_bytes(bytes: [u8; 16]) -> Result<Self>[src]

pub fn try_from_le_bytes(bytes: [u8; 16]) -> Result<Self>[src]

pub fn try_from_ne_bytes(bytes: [u8; 16]) -> Result<Self>[src]

impl Interval[src]

pub const EMPTY: Self[src]

pub const ENTIRE: Self[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 acos(self) -> Self[src]

Returns the inverse cosine of self.

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

Returns the inverse hyperbolic cosine of self.

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

Returns the inverse sine of self.

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

Returns the inverse hyperbolic sine of self.

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

Returns the inverse tangent of self.

pub fn atan2(self, rhs: Self) -> Self[src]

For self (y) and rhs (x), returns the counterclockwise angle of the point (x, y) measured from the positive x-axis in the Euclidean plane.

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

Returns the inverse hyperbolic tangent of self.

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

Returns the cosine of self.

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

Returns the hyperbolic cosine of self.

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

Returns the exponential of self.

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

Returns self raised to the power of 10.

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

Returns self raised to the power of 2.

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

Returns the natural logarithm of self.

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

Returns the base-10 logarithm of self.

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

Returns the base-2 logarithm of self.

pub fn pow(self, rhs: Self) -> Self[src]

Returns self raised to the power of rhs.

pub fn pown(self, rhs: i32) -> Self[src]

Returns self raised to the power of rhs, where rhs is an integer.

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

Returns the sine of self.

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

Returns the hyperbolic sine of self.

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

Returns the tangent of self.

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

Returns the hyperbolic tangent of self.

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]

pub fn inf(self) -> f64[src]

Returns the lower bound of self. If self is empty, f64::INFINITY is returned.

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]

Returns the upper bound of self. If self is empty, f64::NEG_INFINITY is returned.

pub fn wid(self) -> f64[src]

impl Interval[src]

pub fn overlap(self, rhs: Self) -> OverlappingState[src]

Returns the overlapping state of self and rhs.

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.

impl AddAssign<Interval> for Interval[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.

impl DivAssign<Interval> for Interval[src]

impl Eq for Interval[src]

impl FromStr for Interval[src]

type Err = IntervalError<Self>

The associated error which can be returned from parsing.

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.

impl MulAssign<Interval> for Interval[src]

impl Neg for Interval[src]

type Output = Self

The resulting type after applying the - operator.

impl PartialEq<Interval> for Interval[src]

impl Sub<Interval> for Interval[src]

type Output = Self

The resulting type after applying the - operator.

impl SubAssign<Interval> for Interval[src]

impl TryFrom<(f64, f64)> for Interval[src]

type Error = IntervalError<Self>

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

impl<T> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

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

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<T> WrappingAs for T[src]