Skip to main content

shichi

Function shichi 

Source
pub fn shichi<T: SiciArg>(z: T) -> (T, T)
Expand description

Hyperbolic sine and cosine integrals.

Corresponds to scipy.special.shichi.

§Definitions

$$ \begin{align*} \Shi(z) &= \int_0^z {\sinh t \over t} \dd t \\ \Chi(z) &= \gamma + \ln(z) + \int_0^z {\cosh t - 1 \over t} \dd t \end{align*} $$

where $\gamma$ is Euler’s constant and $\ln$ is the principal branch of the logarithm.

§Arguments

  • $z$ - real- or complex-valued argument

§Returns

  • $\Shi(z)$ - Hyperbolic sine integral
  • $\Chi(z)$ - Hyperbolic cosine integral

§See also

  • sici: $\Si(z)$ and $\Ci(z)$
  • exp1: Exponential integral $E_1$
  • expi: Exponential integral $Ei$