orthogonal_complement SciMax Toolbox orthopoly_returns_intervals

SciMax Toolbox >> orthopoly_recur

orthopoly_recur

Maxima Function

Calling Sequence

orthopoly_recur (f, args)

Description

Returns a recursion relation for the orthogonal function family f with arguments args. The recursion is with respect to the polynomial degree.

(%i1) orthopoly_recur (legendre_p, [n, x]);
                (2 n - 1) P     (x) x + (1 - n) P     (x)
                           n - 1                 n - 2
(%o1)   P (x) = -----------------------------------------
         n                          n

The second argument to orthopoly_recur must be a list with the correct number of arguments for the function f; if it isn't, Maxima signals an error.

(%i1) orthopoly_recur (jacobi_p, [n, x]);
Function jacobi_p needs 4 arguments, instead it received 2
 -- an error.  Quitting.  To debug this try debugmode(true);

Additionally, when f isn't the name of one of the families of orthogonal polynomials, an error is signalled.

(%i1) orthopoly_recur (foo, [n, x]);
A recursion relation for foo isn't known to Maxima
 -- an error.  Quitting.  To debug this try debugmode(true);
orthogonal_complement SciMax Toolbox orthopoly_returns_intervals