#include <recursion.h>
Public Member Functions | |
virtual double | a (const unsigned int k) const =0 |
virtual double | b (const unsigned int k) const =0 |
virtual double | c (const unsigned int k) const =0 |
double | operator() (const unsigned int n) const |
evaluation of p_n | |
double | forwardSummation (const Vector< double > &coeffs) const |
(trivial) forward summation | |
double | adjointSummation (const Vector< double > &coeffs) const |
adjoint summation | |
Protected Attributes | |
double | p0_ |
first two entries of the recursion | |
double | p1_ |
base class for inhomogeneous three-term recursions of the form p_k = a_k * p_{k-1} + b_k * p_{k-2} + c_k, k=2,3,...
double MathTL::Recursion::adjointSummation | ( | const Vector< double > & | coeffs | ) | const |
adjoint summation
adjoint summation of {k=0}^n * p_k remarks: