def _get_legen(x, n_coeff=100):
 return legendre.legvander(x, (n_coeff - 1))

def _get_legen ( x , n_coeff = 100 ) : return legendre . legvander ( x , ( n_coeff - 1 ) )
get legendre polynomials expanded about x .