R/orthogonalPolynomials.R

Defines functions `orthogonalPolynomials`

`orthogonalPolynomials` <-
function(w,x,p) {
  z <- weightedGramSchmidt(outer(x,0:p,"^"),w)$pol[,2:(p+1)]
}

Try the homals package in your browser

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

homals documentation built on June 10, 2022, 5:09 p.m.