spycial.cospi

spycial.cospi = <numba._DUFunc 'cospi'>

Compute \(\cos(\pi x)\).

Parameters:
  • x (array-like) – Points on the real line or complex plane
  • out (ndarray, optional) – Output array for the values of cospi at x
Returns:

Values of cospi at x

Return type:

ndarray