Trait float::Trig[][src]

pub trait Trig {
Show methods 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[src]

Returns sine of self.

fn cos(self) -> Self[src]

Returns cosine of self.

fn tan(self) -> Self[src]

Returns tangent of self.

fn asin(self) -> Self[src]

Returns inverse sine of self.

fn acos(self) -> Self[src]

Returns inverse cosine of self.

fn atan(self) -> Self[src]

Returns inverse tangent of self.

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

Returns the four quadrant arctangent of self (y) and other (x).

fn sinh(self) -> Self[src]

Returns hyperbolic sine of self.

fn cosh(self) -> Self[src]

Returns hyperbolic cosine of self.

fn tanh(self) -> Self[src]

Returns hyperbolic tangent of self.

fn asinh(self) -> Self[src]

Returns inverse hyperbolic sine of self.

fn acosh(self) -> Self[src]

Returns inverse hyperbolic cosine of self.

fn atanh(self) -> Self[src]

Returns inverse hyperbolic tangent of self.

Loading content...

Implementations on Foreign Types

impl Trig for f32[src]

impl Trig for f64[src]

Loading content...

Implementors

Loading content...