public static double ZernikeR(
int n,
int m,
double rho
)
Public Shared Function ZernikeR (
n As Integer,
m As Integer,
rho As Double
) As Double
public:
static double ZernikeR(
int n,
int m,
double rho
)
static member ZernikeR :
n : int *
m : int *
rho : float -> float
Zernike polynomials are orthononal on the interval [0,1] with the weight ρ.
They are often used in optics to characterize the imperfections in a lens. In this context, the amplitude of each is associated with a name given in the following table.
n | m | name |
---|---|---|
1 | 1 | tilt |
2 | 0 | defocus |
2 | 2 | astigmatism |
3 | 1 | coma |
3 | 3 | trefoil |
ArgumentOutOfRangeException | n is negative, or m lies outside {0 .. n}, or rho lies outside [0, 1]. |