Skip to main content

Hyperbolic

Trait Hyperbolic 

Source
pub trait Hyperbolic: Real {
    // Required methods
    fn sinh(self) -> Self;
    fn cosh(self) -> Self;
    fn tanh(self) -> Self;
    fn asinh(self) -> Self;
    fn acosh(self) -> Self;
    fn atanh(self) -> Self;
}
Expand description

Hyperbolic functions.

Required Methods§

Source

fn sinh(self) -> Self

Hyperbolic sine.

Source

fn cosh(self) -> Self

Hyperbolic cosine.

Source

fn tanh(self) -> Self

Hyperbolic tangent.

Source

fn asinh(self) -> Self

Inverse hyperbolic sine.

Source

fn acosh(self) -> Self

Inverse hyperbolic cosine.

Source

fn atanh(self) -> Self

Inverse hyperbolic tangent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Hyperbolic for f32

Source§

fn sinh(self) -> Self

Source§

fn cosh(self) -> Self

Source§

fn tanh(self) -> Self

Source§

fn asinh(self) -> Self

Source§

fn acosh(self) -> Self

Source§

fn atanh(self) -> Self

Source§

impl Hyperbolic for f64

Source§

fn sinh(self) -> Self

Source§

fn cosh(self) -> Self

Source§

fn tanh(self) -> Self

Source§

fn asinh(self) -> Self

Source§

fn acosh(self) -> Self

Source§

fn atanh(self) -> Self

Implementors§