R/LaguerrePolyCoeff.r

Defines functions LaguerrePolyCoeff

LaguerrePolyCoeff <- function(degree,alpha){
	if (degree == 0){
		value <- c(1.0, 0.0, 0.0)
	} else {
		a <- -1.0/degree
		b <- (2.0*degree-1.0+alpha)/degree
		c <- -(degree-1.0+alpha)/degree
		value <- c(a,b,c)
	}
	return (value)
}

Try the GPC package in your browser

Any scripts or data that you put into this service are public.

GPC documentation built on May 30, 2017, 12:50 a.m.