hmf.core._kernels.mass_function.gauss_points

hmf.core._kernels.mass_function.gauss_points(a: ArrayLike, b: ArrayLike) → ndarray[tuple[Any, ...], dtype[float64]][source]

The Gauss-Legendre points on intervals [a, b].

Parameters:
  • a – The ends of the intervals (e.g. in ln m): arrays that broadcast together.

  • b – The ends of the intervals (e.g. in ln m): arrays that broadcast together.

Returns:

The points, with a last axis of length GAUSS_ORDER added to the broadcast shape of a and b.

Return type:

numpy.ndarray