I want the following functions from [login to view URL] converted into C, and documented well. [login to view URL] (OTHPL) Evaluate a sequence of orthogonal polynomials and their derivatives, including Chebyshev, Laguerre, and Hermite polynomials. [login to view URL] (LEGZO) Evaluate the nodes and weights for Gauss-Legendre quadrature. [login to view URL] (LAGZO) Evaluate the nodes and weights for Gauss-Laguerre quadrature. [login to view URL] (HERZO) Evaluate the nodes and weights for Gauss-Hermite quadrature. The hard work here is in the documentation, which should include the main equations behind these function and where appropriate figures.
## Deliverables
I want the following functions from [login to view URL] converted into C, and documented well. [login to view URL] (OTHPL) Evaluate a sequence of orthogonal polynomials and their derivatives, including Chebyshev, Laguerre, and Hermite polynomials. [login to view URL] (LEGZO) Evaluate the nodes and weights for Gauss-Legendre quadrature. [login to view URL] (LAGZO) Evaluate the nodes and weights for Gauss-Laguerre quadrature. [login to view URL] (HERZO) Evaluate the nodes and weights for Gauss-Hermite quadrature. The hard work here is in the documentation, which should include the main equations behind these function and where appropriate figures. These function should be converted into high quality C/C++, the simple use of f2c, will not be accepted. *** The submitted module should contain both Documentation and 'reasonable' (i.e. >10 lines) code comments with all equations in Latex. All code should conform to the minimal coding standard as defined on the [login to view URL] website ([login to view URL]) *** Each function must include: -A worked example of its usage -Brief Description. This is typically a single line and very broadly describes the module. This description is used for all functions, class, etc, within a module. This brief description will be used in whenever groups of functions are listed (in a catalogues or index), and should therefore broadly summarise the usage of the function. For example: Calculates the start and end of summer time in the specified year and region. -Detailed Description. This is a descriptive explanation of the module. This should clearly and concisely describe all the features of your program, including any restrictions or limitation that it may have. When submitting a module, comments in this section should follow this general form: {Unique Detailed Description for module} \note {any special restrictions of your function} \param {details of 1st parameters used} \param {details of 2nd parameters used} \param {etc...} \return {details of any return values} \author {you} \todo {further improvement that could be done} \par References: {any references used} -Example Usage. An example should be given that can be easily compiled and run, demonstrating the features of the modules. Output from this small example should also be given - this helps developers check that they have correctly compiled and executed your program. \par Example: \code {working example} \endcode Output: \code {output from working example} \endcode Actual documentation examples can be viewd on the CodeCogs website ([login to view URL]). A good example is: [login to view URL] For good documentation also see the following sources: - Abramowitz, M. and I.A. Stegun, Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series #55, Dover Publications, 1965, sections 9.1.1, 9.1.89 and 9.12, formulas 9.1.10 and 9.2.5. - Numerical Recipres in C. - [login to view URL] - [login to view URL]
## Platform
Any C compiler