RawScalarTrigonometric

Trait RawScalarTrigonometric 

Source
pub trait RawScalarTrigonometric {
    // Required methods
    fn unchecked_sin(self) -> Self;
    fn unchecked_asin(self) -> Self;
    fn unchecked_cos(self) -> Self;
    fn unchecked_acos(self) -> Self;
    fn unchecked_tan(self) -> Self;
    fn unchecked_atan(self) -> Self;
}
Expand description

Trait for unchecked trigonometric operations.

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

Required Methods§

Source

fn unchecked_sin(self) -> Self

Computes the sine without validation.

Source

fn unchecked_asin(self) -> Self

Computes the arcsine without validation.

Source

fn unchecked_cos(self) -> Self

Computes the cosine without validation.

Source

fn unchecked_acos(self) -> Self

Computes the arccosine without validation.

Source

fn unchecked_tan(self) -> Self

Computes the tangent without validation.

Source

fn unchecked_atan(self) -> Self

Computes the arctangent 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 RawScalarTrigonometric for f64

Source§

fn unchecked_sin(self) -> Self

Source§

fn unchecked_asin(self) -> Self

Source§

fn unchecked_cos(self) -> Self

Source§

fn unchecked_acos(self) -> Self

Source§

fn unchecked_tan(self) -> Self

Source§

fn unchecked_atan(self) -> Self

Source§

impl RawScalarTrigonometric for Complex<f64>

Source§

fn unchecked_sin(self) -> Self

Source§

fn unchecked_asin(self) -> Self

Source§

fn unchecked_cos(self) -> Self

Source§

fn unchecked_acos(self) -> Self

Source§

fn unchecked_tan(self) -> Self

Source§

fn unchecked_atan(self) -> Self

Source§

impl RawScalarTrigonometric for Complex

Source§

fn unchecked_sin(self) -> Self

Source§

fn unchecked_asin(self) -> Self

Source§

fn unchecked_cos(self) -> Self

Source§

fn unchecked_acos(self) -> Self

Source§

fn unchecked_tan(self) -> Self

Source§

fn unchecked_atan(self) -> Self

Source§

impl RawScalarTrigonometric for Float

Source§

fn unchecked_sin(self) -> Self

Source§

fn unchecked_asin(self) -> Self

Source§

fn unchecked_cos(self) -> Self

Source§

fn unchecked_acos(self) -> Self

Source§

fn unchecked_tan(self) -> Self

Source§

fn unchecked_atan(self) -> Self

Implementors§