def roots_chebys(n, mu=False):
 (x, w, m) = roots_chebyu(n, True)
 x *= 2
 w *= 2
 m *= 2
 if mu:
  return (x, w, m)
 else:
  return (x, w)

def roots_chebys ( n , mu = False ) : ( x , w , m ) = roots_chebyu ( n , True ) x *= 2 w *= 2 m *= 2 if mu : return ( x , w , m ) else : return ( x , w )
gauss-chebyshev quadrature .