Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Polynomial problems.
Posted:
Jun 16, 1996 2:14 AM


I have a set of orthogonal polynomials in x,y,z, which is GramScmidt orthogonalized with respect to integration over the unit sphere. 1. How can I generate a C function to compute my polynomials? (Prototype double mypoly(double x,double y, double z,int index)). 2. How can I find a set of sampling points and weights to compute the scalar products with respect to a function I wan't to approximate. I'm seeking an optimal set of points. 3. The scalar product used is computationally very expensive. Is there any way to optimize the GramSmidt orthogonalization operator, to allow computing higher order polynomials in a reasonable time. (Scalar product is similar to this twodimensional example: Integrate[(#1 #2)/.{x>r Cos[fi], y> r Sin[fi]}*r,{r,0,1},{fi,0,2Pi}]&)   Tommy Nordgren "Home is not where you are born, Royal Institute of Technology but where your heart finds peace." Stockholm Tommy Nordgren  The dying old crone f85tno@nada.kth.se 



