5 releases
| new 0.2.2 | Dec 16, 2025 |
|---|---|
| 0.2.1 | Dec 14, 2021 |
| 0.2.0 | Feb 5, 2021 |
| 0.1.1 | Feb 4, 2021 |
| 0.1.0 | Feb 4, 2021 |
#2711 in Math
Used in crseo
1MB
356 lines
zernike
Zernike polynomials
Computes regular Zernike polynomials or Zernike polynomials orthonormalized on a regular grid
lib.rs:
Zernike polynomials
Computes the Zernike polynomials according to Noll ordering:
| j | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | ... |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n | 0 | 1 | 1 | 2 | 2 | 2 | 3 | 3 | 3 | 3 | 4 | 4 | 4 | 4 | 4 | 5 | 5 | 5 | 5 | 5 | 5 | ... |
| m | 0 | 1 | 1 | 0 | 2 | 2 | 1 | 1 | 3 | 3 | 0 | 2 | 2 | 4 | 4 | 1 | 1 | 3 | 3 | 5 | 5 | ... |
where n, m, and j are the radial order, the azimuthal order and the polynomial index, respectively