Trait float::Trig [−][src]
pub trait Trig {
fn sin(self) -> Self;
fn cos(self) -> Self;
fn tan(self) -> Self;
fn asin(self) -> Self;
fn acos(self) -> Self;
fn atan(self) -> Self;
fn atan2(self, other: Self) -> Self;
fn sinh(self) -> Self;
fn cosh(self) -> Self;
fn tanh(self) -> Self;
fn asinh(self) -> Self;
fn acosh(self) -> Self;
fn atanh(self) -> Self;
}Basic trigonometry functions
Required Methods
fn sin(self) -> Self
Returns sine of self.
fn cos(self) -> Self
Returns cosine of self.
fn tan(self) -> Self
Returns tangent of self.
fn asin(self) -> Self
Returns inverse sine of self.
fn acos(self) -> Self
Returns inverse cosine of self.
fn atan(self) -> Self
Returns inverse tangent of self.
fn atan2(self, other: Self) -> Self
Returns the four quadrant arctangent of self (y) and other (x).
fn sinh(self) -> Self
Returns hyperbolic sine of self.
fn cosh(self) -> Self
Returns hyperbolic cosine of self.
fn tanh(self) -> Self
Returns hyperbolic tangent of self.
fn asinh(self) -> Self
Returns inverse hyperbolic sine of self.
fn acosh(self) -> Self
Returns inverse hyperbolic cosine of self.
fn atanh(self) -> Self
Returns inverse hyperbolic tangent of self.
Implementations on Foreign Types
impl Trig for f32[src]
impl Trig for f32fn sin(self) -> f32[src]
fn sin(self) -> f32fn cos(self) -> f32[src]
fn cos(self) -> f32fn tan(self) -> f32[src]
fn tan(self) -> f32fn asin(self) -> f32[src]
fn asin(self) -> f32fn acos(self) -> f32[src]
fn acos(self) -> f32fn atan(self) -> f32[src]
fn atan(self) -> f32fn atan2(self, other: f32) -> f32[src]
fn atan2(self, other: f32) -> f32fn sinh(self) -> f32[src]
fn sinh(self) -> f32fn cosh(self) -> f32[src]
fn cosh(self) -> f32fn tanh(self) -> f32[src]
fn tanh(self) -> f32fn asinh(self) -> f32[src]
fn asinh(self) -> f32fn acosh(self) -> f32[src]
fn acosh(self) -> f32fn atanh(self) -> f32[src]
fn atanh(self) -> f32impl Trig for f64[src]
impl Trig for f64fn sin(self) -> f64[src]
fn sin(self) -> f64fn cos(self) -> f64[src]
fn cos(self) -> f64fn tan(self) -> f64[src]
fn tan(self) -> f64fn asin(self) -> f64[src]
fn asin(self) -> f64fn acos(self) -> f64[src]
fn acos(self) -> f64fn atan(self) -> f64[src]
fn atan(self) -> f64fn atan2(self, other: f64) -> f64[src]
fn atan2(self, other: f64) -> f64fn sinh(self) -> f64[src]
fn sinh(self) -> f64fn cosh(self) -> f64[src]
fn cosh(self) -> f64fn tanh(self) -> f64[src]
fn tanh(self) -> f64fn asinh(self) -> f64[src]
fn asinh(self) -> f64fn acosh(self) -> f64[src]
fn acosh(self) -> f64fn atanh(self) -> f64[src]
fn atanh(self) -> f64