IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 25, 2004, 3:28:34 PM (22 years ago)
Author:
Paul Price
Message:

First go at defining polynomials

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibADD.tex

    r303 r306  
    434434quadratic which returns the 50\% value.
    435435
     436
     437\section{Polynomials}
     438
     439We will employ Chebyshev polynomials (NR \S 5.8) to approximate functions:
     440\begin{equation}
     441f(x) = \Sum_{i=0}^{n} c_i T_i(x)
     442\end{equation}
     443These have some desirable features:
     444\begin{itemize}
     445\item They are bounded on $-1 < x < 1$, with the maxima and minima
     446over this range being 1 and -1, respectively;
     447\item Truncation of the higher-order terms leaves one with the most accurate
     448lower-order polynomial representation of the desired function.
     449\end{itemize}
     450
     451The first few Chebyshev polynomials are:
     452\begin{equation}
     453T_0(x) = 1
     454
     455T_1(x) = x
     456
     457T_2(x) = 2x^2 - 1
     458
     459T_3(x) = 4x^3 - 3x
     460
     461T_4(x) = 8x^4 - 8x^2 + 1
     462\end{equation}
     463Chebyshev polynomials follow the recurrence relation:
     464\begin{equation}
     465T_{n+1} = 2xT_n - T_{n-1}
     466\end{equation}
     467
     468Practically, Chebyshev polynomials should be evaluated using Clenshaw's recurrence
     469formula (NR \S 5.5):
     470\begin{equation}
     471d_j = 2xd_{j+1} - d_{j+2} + c_j
     472
     473f(x) = x*d_1 - d_2 + 1/2 c_0
     474\end{equation}
     475
     476It shall be the responsibility of the user to convert the domain into the range
     477$-1 < x < 1$.
     478
     479\subsection{Multi-dimensional polynomials}
     480
     481Multi-dimensional polynomials shall be composed of multiplications of 1D polynomials.
     482
     483
    436484\end{document}
Note: See TracChangeset for help on using the changeset viewer.