Trait ha_ndarray::Trig

source ·
pub trait Trig {
    // Required methods
    fn sin(self) -> Self;
    fn asin(self) -> Self;
    fn sinh(self) -> Self;
    fn cos(self) -> Self;
    fn acos(self) -> Self;
    fn cosh(self) -> Self;
    fn tan(self) -> Self;
    fn atan(self) -> Self;
    fn tanh(self) -> Self;
}
Expand description

Trigonometric operations on a scalar value

Required Methods§

source

fn sin(self) -> Self

Compute the sine of this value.

source

fn asin(self) -> Self

Compute the arcsine of this value.

source

fn sinh(self) -> Self

Compute the hyperbolic sine of this value.

source

fn cos(self) -> Self

Compute the cosine of this value.

source

fn acos(self) -> Self

Compute the arccosine of this value.

source

fn cosh(self) -> Self

Compute the hyperbolic cosine of this value.

source

fn tan(self) -> Self

Compute the tangent of this value.

source

fn atan(self) -> Self

Compute the arctangent of this value.

source

fn tanh(self) -> Self

Compute the hyperbolic tangent of this value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Trig for f32

source§

fn sin(self) -> Self

source§

fn asin(self) -> Self

source§

fn sinh(self) -> Self

source§

fn cos(self) -> Self

source§

fn acos(self) -> Self

source§

fn cosh(self) -> Self

source§

fn tan(self) -> Self

source§

fn atan(self) -> Self

source§

fn tanh(self) -> Self

source§

impl Trig for f64

source§

fn sin(self) -> Self

source§

fn asin(self) -> Self

source§

fn sinh(self) -> Self

source§

fn cos(self) -> Self

source§

fn acos(self) -> Self

source§

fn cosh(self) -> Self

source§

fn tan(self) -> Self

source§

fn atan(self) -> Self

source§

fn tanh(self) -> Self

Implementors§