Skip to main content

sici

Function sici 

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

Sine and cosine integrals.

Corresponds to scipy.special.sici.

§Definitions

$$ \begin{align*} \Si(z) &= \int_0^z {\sin t \over t} \dd t \\ \Ci(z) &= \gamma + \ln(z) + \int_0^z {\cos 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

  • $\Si(z)$ - Sine integral
  • $\Ci(z)$ - Cosine integral

§See also

  • shichi: $\Shi(z)$ and $\Chi(z)$
  • exp1: Exponential integral $E_1$
  • expi: Exponential integral $Ei$