orthax.orthweight

orthax.orthweight(x, rec)Source

Weight function of orthogonal polynomials.

Parameters:

x (array_like) – Values at which the weight function will be computed.

Returns:

w (ndarray) – The weight function at x.