Package com.polytechnik.utils
Interface ThreeTermRecurrenceCalculatable
- All Known Implementing Classes:
RecurrenceAB
,RecurrenceABWithMultiplicationCached
public interface ThreeTermRecurrenceCalculatable
Three term recurrence coefficients.
The definitions as in
Walter Gautschi, "Orthogonal Polynomials:Computation and approximation", page
12.
Here a[k]=sqrt(beta_k) and b[k]=alfa_k;
the recurrence is the same as in
RecurrenceAB#getConfederateMatrix
:
\[ x*p_{k}=a_{k+1}p_{k+1}+b_{k}p_{k}+a_{k}p_{k-1} \]-
Method Summary
-
Method Details
-
getAk
double getAk(int k) -
getBk
double getBk(int k) -
numAk
int numAk()The number ofa_k
available, there is one lessb_k
available.
-