def dgen1(**kwargs): from spyctral.laguerre.quad import gq from spyctral.laguerre.eval import laguerre_polynomial [r,w] = gq(**kwargs) ps = laguerre_polynomial(r,range(N),alpha=alpha,scale=scale,shift=shift) return [w,ps]
def dgen1(**kwargs): from spyctral.laguerre.eval import laguerre_polynomial [x,w] = gq(**kwargs) ps = laguerre_polynomial(x,range(2*N),alpha=alpha,scale=scale,shift=shift) ps[:,0] = 0 return [w,ps]