[][src]Trait mathru::elementary::Hyperbolic

pub trait Hyperbolic {
    pub fn sinh(self) -> Self;
pub fn cosh(self) -> Self;
pub fn tanh(self) -> Self;
pub fn coth(self) -> Self;
pub fn sech(self) -> Self;
pub fn csch(self) -> Self;
pub fn arsinh(self) -> Self;
pub fn arcosh(self) -> Self;
pub fn artanh(self) -> Self;
pub fn arcoth(self) -> Self;
pub fn arsech(self) -> Self;
pub fn arcsch(self) -> Self; }

Required methods

pub fn sinh(self) -> Self[src]

Hyperbolic sine

pub fn cosh(self) -> Self[src]

Hyperbolic cosine

pub fn tanh(self) -> Self[src]

Hyperbolic tangens

pub fn coth(self) -> Self[src]

Hyperbolic cotangens

pub fn sech(self) -> Self[src]

Hyperbolic secant

pub fn csch(self) -> Self[src]

Hyperbolic cosecant

pub fn arsinh(self) -> Self[src]

Inverse hyperbolic sine

pub fn arcosh(self) -> Self[src]

Inverse hyperbolic cosine

pub fn artanh(self) -> Self[src]

Inverse hyperbolic tangens

pub fn arcoth(self) -> Self[src]

Inverse hyperbolic cosecant

pub fn arsech(self) -> Self[src]

Inverse hyperbolic secant

pub fn arcsch(self) -> Self[src]

Inverse hyperbolic cosecant

Loading content...

Implementations on Foreign Types

impl Hyperbolic for f32[src]

pub fn sinh(self) -> Self[src]

Hyperbolic sine

pub fn cosh(self) -> Self[src]

Hyperbolic cosine

pub fn tanh(self) -> Self[src]

Hyperbolic tangens

Arguments

  • self :

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 0.0_f64;

let f: f64 = x.tanh();

pub fn coth(self) -> Self[src]

Hyperbolic cotangens

Arguments

  • self : != 0.0

Panic

iff self == 0.0

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 1.0_f64;

let f: f64 = x.coth();

pub fn sech(self) -> Self[src]

Hyperbolic secant

Arguments

  • self :

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 0.0_f64;

let f: f64 = x.sech();

pub fn csch(self) -> Self[src]

Hyperbolic cosecant

Arguments

  • self : != 0.0

Panics

if self == 0

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 1.0_f64;

let f: f64 = x.csch();

pub fn arsinh(self) -> Self[src]

Hyperbolic inverse sine

pub fn arcosh(self) -> Self[src]

Hyperbolic inverse cosine

pub fn artanh(self) -> Self[src]

Hyperbolic inverse tangens

pub fn arcoth(self) -> Self[src]

Hyperbolic inverse cotan

Arguments

  • self -1.0 > self, self > 1.0

Panics

if -1.0 <= self && self <= 1.0

Example

use mathru::{
    algebra::abstr::Field,
    elementary::{Exponential, Hyperbolic},
};

let x: f64 = 2.0_f64;
let f: f64 = x.arcoth();

pub fn arsech(self) -> Self[src]

Hyperbolic inverse secant

Arguments

  • self 0.0 < self <= 1.0

Panics

if 0.0 >= self || self > 1.0

Example

use mathru::elementary::{Exponential, Hyperbolic};

let x: f64 = 0.5_f64;
let f: f64 = x.arsech();
let g: f64 = (1.0 / x).arcosh();

pub fn arcsch(self) -> Self[src]

Hyperbolic inverse cosecant

Arguments

  • self <> 0.0

Panics

iff self = 0.0

Example

use mathru::{
    algebra::abstr::Field,
    elementary::{Exponential, Hyperbolic},
};

let x: f64 = 2.0_f64;
let f: f64 = x.arcsch();

impl Hyperbolic for f64[src]

pub fn sinh(self) -> Self[src]

Hyperbolic sine

pub fn cosh(self) -> Self[src]

Hyperbolic cosine

pub fn tanh(self) -> Self[src]

Hyperbolic tangens

Arguments

  • self :

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 0.0_f64;

let f: f64 = x.tanh();

pub fn coth(self) -> Self[src]

Hyperbolic cotangens

Arguments

  • self : != 0.0

Panic

iff self == 0.0

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 1.0_f64;

let f: f64 = x.coth();

pub fn sech(self) -> Self[src]

Hyperbolic secant

Arguments

  • self :

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 0.0_f64;

let f: f64 = x.sech();

pub fn csch(self) -> Self[src]

Hyperbolic cosecant

Arguments

  • self : != 0.0

Panics

if self == 0

Example

use mathru::elementary::Hyperbolic;

let x: f64 = 1.0_f64;

let f: f64 = x.csch();

pub fn arsinh(self) -> Self[src]

Hyperbolic inverse sine

pub fn arcosh(self) -> Self[src]

Hyperbolic inverse cosine

pub fn artanh(self) -> Self[src]

Hyperbolic inverse tangens

pub fn arcoth(self) -> Self[src]

Hyperbolic inverse cotan

Arguments

  • self -1.0 > self, self > 1.0

Panics

if -1.0 <= self && self <= 1.0

Example

use mathru::{
    algebra::abstr::Field,
    elementary::{Exponential, Hyperbolic},
};

let x: f64 = 2.0_f64;
let f: f64 = x.arcoth();

pub fn arsech(self) -> Self[src]

Hyperbolic inverse secant

Arguments

  • self 0.0 < self <= 1.0

Panics

if 0.0 >= self || self > 1.0

Example

use mathru::elementary::{Exponential, Hyperbolic};

let x: f64 = 0.5_f64;
let f: f64 = x.arsech();
let g: f64 = (1.0 / x).arcosh();

pub fn arcsch(self) -> Self[src]

Hyperbolic inverse cosecant

Arguments

  • self <> 0.0

Panics

iff self = 0.0

Example

use mathru::{
    algebra::abstr::Field,
    elementary::{Exponential, Hyperbolic},
};

let x: f64 = 2.0_f64;
let f: f64 = x.arcsch();
Loading content...

Implementors

Loading content...