Trait vecmath::traits::Trig[][src]

pub trait Trig {
Show methods pub fn sin(self) -> Self;
pub fn cos(self) -> Self;
pub fn tan(self) -> Self;
pub fn asin(self) -> Self;
pub fn acos(self) -> Self;
pub fn atan(self) -> Self;
pub fn atan2(self, other: Self) -> Self;
pub fn sinh(self) -> Self;
pub fn cosh(self) -> Self;
pub fn tanh(self) -> Self;
pub fn asinh(self) -> Self;
pub fn acosh(self) -> Self;
pub fn atanh(self) -> Self;
}
[]

Basic trigonometry functions

Required methods

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

Returns sine of self.

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

Returns cosine of self.

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

Returns tangent of self.

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

Returns inverse sine of self.

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

Returns inverse cosine of self.

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

Returns inverse tangent of self.

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

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

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

Returns hyperbolic sine of self.

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

Returns hyperbolic cosine of self.

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

Returns hyperbolic tangent of self.

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

Returns inverse hyperbolic sine of self.

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

Returns inverse hyperbolic cosine of self.

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

Returns inverse hyperbolic tangent of self.

Implementations on Foreign Types

impl Trig for f64[src][]

impl Trig for f32[src][]

Implementors