# heun_d function

Doubly confluent Heun function: the solution that is 1 with slope 0 at z = 1, for |z - 1| \< 1.

## How to write it

### heun_d(q, alpha, delta, gamma, sigma, z)

Solves z^2 y'' + (delta + gamma z + sigma z^2) y' + (alpha z - q) y = 0.

**q**

The accessory parameter. Takes an expression.

**alpha**

A parameter of the equation. Takes an expression.

**delta**

A parameter of the equation. Takes an expression.

**gamma**

A parameter of the equation. Takes an expression.

**sigma**

A parameter of the equation. Takes an expression.

**z**

The argument. Takes an expression.

## Examples

- $\displaystyle \operatorname{heun\_d}(1, 1, 1, 1, 1, 1.5) \approx 0.9898547798143198$

  `numeric(heun_d(1, 1, 1, 1, 1, 1.5))`

  In the solver, `numeric(heun_d(1, 1, 1, 1, 1, 1.5))` gives `0.9898547798143198`.

  [Open in the solver](https://hilberon.com/?q=numeric%28heun_d%281%2C%201%2C%201%2C%201%2C%201%2C%201.5%29%29)

## Functions its examples use

- [numeric](https://hilberon.com/library/numeric)

  Approximate a number with decimals.

## Related functions

- [heun_d_prime](https://hilberon.com/library/heun_d_prime)

  Derivative of heun_d with respect to z; diff of heun_d writes it this way.
- [heun_c_prime](https://hilberon.com/library/heun_c_prime)

  Derivative of heun_c with respect to z; diff of heun_c writes it this way.
- [heun_d_second](https://hilberon.com/library/heun_d_second)

  Doubly confluent Heun function: the solution that is 0 with slope 1 at z = 1, for |z - 1| \< 1.
- [heun_c](https://hilberon.com/library/heun_c)

  Confluent Heun function: the solution of the confluent Heun equation that is 1 at zero, for |z| \< 1.
- [heun_d_second_prime](https://hilberon.com/library/heun_d_second_prime)

  Derivative of heun_d_second with respect to z; diff of heun_d_second writes it this way.
- [heun_b_prime](https://hilberon.com/library/heun_b_prime)

  Derivative of heun_b with respect to z; diff of heun_b writes it this way.

---
Source: https://hilberon.com/library/heun_d
