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§
Sourcefn unchecked_sinh(self) -> Self
fn unchecked_sinh(self) -> Self
Computes the hyperbolic sine without validation.
Sourcefn unchecked_asinh(self) -> Self
fn unchecked_asinh(self) -> Self
Computes the inverse hyperbolic sine without validation.
Sourcefn unchecked_cosh(self) -> Self
fn unchecked_cosh(self) -> Self
Computes the hyperbolic cosine without validation.
Sourcefn unchecked_acosh(self) -> Self
fn unchecked_acosh(self) -> Self
Computes the inverse hyperbolic cosine without validation.
Sourcefn unchecked_tanh(self) -> Self
fn unchecked_tanh(self) -> Self
Computes the hyperbolic tangent without validation.
Sourcefn unchecked_atanh(self) -> Self
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.