1 #ifndef NPSTAT_RECURRENCECOEFFS_HH_
2 #define NPSTAT_RECURRENCECOEFFS_HH_
19 #include "npstat/nm/Recurrence.hh"
26 template <
class MeasurePt>
27 void calcRecurrenceCoeffs(
const std::vector<MeasurePt>& measure,
28 unsigned maxdeg,
long double norm,
30 std::vector<Recurrence>* rcoeffs);
32 template <
class MeasurePt>
33 void calcRecurrenceStieltjes(
const std::vector<MeasurePt>& measure,
34 unsigned maxdeg,
long double norm,
35 std::vector<Recurrence>* rcoeffs);
37 template <
class MeasurePt>
38 void calcRecurrenceLanczos(
const std::vector<MeasurePt>& measure,
39 unsigned maxdeg,
long double norm,
40 std::vector<Recurrence>* rcoeffs);
42 template <
class MeasurePt>
43 std::pair<long double,long double> monicInnerProducts(
44 const std::vector<Recurrence>& rcoeffs,
45 const std::vector<MeasurePt>& measure,
46 unsigned degree,
long double norm);
48 long double monicpoly(
const std::vector<Recurrence>& rcoeffs,
49 unsigned degree,
long double x);
53 #include "npstat/nm/RecurrenceCoeffs.icc"
Enumeration of methods used to create orthogonal polynomials with discrete weights.
Definition: AbsArrayProjector.hh:14
OrthoPolyMethod
Definition: OrthoPolyMethod.hh:20