RawScalarHyperbolic

Trait RawScalarHyperbolic 

Source
pub trait RawScalarHyperbolic {
    // Required methods
    fn unchecked_sinh(self) -> Self;
    fn unchecked_asinh(self) -> Self;
    fn unchecked_cosh(self) -> Self;
    fn unchecked_acosh(self) -> Self;
    fn unchecked_tanh(self) -> Self;
    fn unchecked_atanh(self) -> Self;
}
Expand description

Trait for unchecked hyperbolic operations.

Provides hyperbolic sine, cosine, tangent and their inverse functions without validation.

Required Methods§

Source

fn unchecked_sinh(self) -> Self

Computes the hyperbolic sine without validation.

Source

fn unchecked_asinh(self) -> Self

Computes the inverse hyperbolic sine without validation.

Source

fn unchecked_cosh(self) -> Self

Computes the hyperbolic cosine without validation.

Source

fn unchecked_acosh(self) -> Self

Computes the inverse hyperbolic cosine without validation.

Source

fn unchecked_tanh(self) -> Self

Computes the hyperbolic tangent without validation.

Source

fn unchecked_atanh(self) -> Self

Computes the inverse hyperbolic tangent without validation.

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 RawScalarHyperbolic for f64

Source§

fn unchecked_sinh(self) -> Self

Source§

fn unchecked_asinh(self) -> Self

Source§

fn unchecked_cosh(self) -> Self

Source§

fn unchecked_acosh(self) -> Self

Source§

fn unchecked_tanh(self) -> Self

Source§

fn unchecked_atanh(self) -> Self

Source§

impl RawScalarHyperbolic for Complex<f64>

Source§

fn unchecked_sinh(self) -> Self

Source§

fn unchecked_asinh(self) -> Self

Source§

fn unchecked_cosh(self) -> Self

Source§

fn unchecked_acosh(self) -> Self

Source§

fn unchecked_tanh(self) -> Self

Source§

fn unchecked_atanh(self) -> Self

Source§

impl RawScalarHyperbolic for Complex

Source§

fn unchecked_sinh(self) -> Self

Source§

fn unchecked_asinh(self) -> Self

Source§

fn unchecked_cosh(self) -> Self

Source§

fn unchecked_acosh(self) -> Self

Source§

fn unchecked_tanh(self) -> Self

Source§

fn unchecked_atanh(self) -> Self

Source§

impl RawScalarHyperbolic for Float

Source§

fn unchecked_sinh(self) -> Self

Source§

fn unchecked_asinh(self) -> Self

Source§

fn unchecked_cosh(self) -> Self

Source§

fn unchecked_acosh(self) -> Self

Source§

fn unchecked_tanh(self) -> Self

Source§

fn unchecked_atanh(self) -> Self

Implementors§