Trait TanH

Source
pub trait TanH {
    // Required method
    fn tanh_(self) -> Self;
}
Expand description

This trait provides the interface for the hyperbolic tangent function.

Required Methods§

Source

fn tanh_(self) -> Self

Computes the tangent of self, rounding to the nearest.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TanH for f64

Source§

fn tanh_(self) -> Self

Computes the hyperbolic tangent of self, rounding to the nearest.

Source§

impl TanH for Complex<f64>

Source§

fn tanh_(self) -> Self

Computes the hyperbolic tangent of self, rounding to the nearest.

Implementors§