pg_utils.numerics.special.eval_jacobi_nrange

pg_utils.numerics.special.eval_jacobi_nrange(n_min: int, n_max: int, alpha: float, beta: float, z: ndarray) ndarray[source]

Evaluate Jacobi polynomials for a range of degrees

Parameters:
  • n_min (int) – minimum degree

  • n_max (int) – maximum degree. It is required that n_max >= n_min and n_max >= 0 (non-negative)

  • alpha (float) – alpha index for Jacobi polynomials

  • beta (float) – beta index for Jacobi polynomials

  • z (np.ndarray) – 1-D array of grid points where the Jacobi polynomials are to be evaluated; assumed to be within interval [-1, +1]

Returns:

Array with shape (n_max - n_min + 1, z.size), values of the Jacobi polynomials at grid points