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§