Trait Trigonometry

Source
pub trait Trigonometry {
    type Out: NumberInstance;

    // Required methods
    fn asin(self) -> Self::Out;
    fn sin(self) -> Self::Out;
    fn asinh(self) -> Self::Out;
    fn sinh(self) -> Self::Out;
    fn acos(self) -> Self::Out;
    fn cos(self) -> Self::Out;
    fn acosh(self) -> Self::Out;
    fn cosh(self) -> Self::Out;
    fn atan(self) -> Self::Out;
    fn tan(self) -> Self::Out;
    fn atanh(self) -> Self::Out;
    fn tanh(self) -> Self::Out;
}
Expand description

Trigonometric functions.

Required Associated Types§

Required Methods§

Source

fn asin(self) -> Self::Out

Arcsine

Source

fn sin(self) -> Self::Out

Sine

Source

fn asinh(self) -> Self::Out

Hyperbolic arcsine

Source

fn sinh(self) -> Self::Out

Hyperbolic sine

Source

fn acos(self) -> Self::Out

Hyperbolic arccosine

Source

fn cos(self) -> Self::Out

Cosine

Source

fn acosh(self) -> Self::Out

Hyperbolic arccosine

Source

fn cosh(self) -> Self::Out

Hyperbolic cosine

Source

fn atan(self) -> Self::Out

Arctangent

Source

fn tan(self) -> Self::Out

Tangent

Source

fn atanh(self) -> Self::Out

Hyperbolic arctangent

Source

fn tanh(self) -> Self::Out

Hyperbolic tangent

Implementors§