# Kronecker delta (kronecker_delta)

Kronecker delta: 1 when the arguments are equal, otherwise 0.

## How to write it

### kronecker_delta(a, b)

**a**

A value. Takes an expression.

**b**

A value. Takes an expression.

## Examples

- $\displaystyle \delta_{1, 1} = 1$

  `kronecker_delta(1, 1)`

  In the solver, `kronecker_delta(1, 1)` gives `1`.

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

## Related functions

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

  Laguerre polynomial.
- [jacobi_sn](https://hilberon.com/library/jacobi_sn)

  Jacobi sine amplitude.
- [lambert_w](https://hilberon.com/library/lambert_w)

  Lambert W function: the inverse of w exp(w), on its principal branch.
- [jacobi_dn](https://hilberon.com/library/jacobi_dn)

  Jacobi delta amplitude.
- [legendre_p](https://hilberon.com/library/legendre_p)

  Legendre polynomial.
- [jacobi_cn](https://hilberon.com/library/jacobi_cn)

  Jacobi cosine amplitude.

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