IT++ Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
poly.h
Go to the documentation of this file.
1 
29 #ifndef POLY_H
30 #define POLY_H
31 
32 #include <itpp/base/vec.h>
33 
34 
35 namespace itpp
36 {
37 
46 void poly(const vec &r, vec &p);
47 inline vec poly(const vec &r) { vec temp; poly(r, temp); return temp; }
48 void poly(const cvec &r, cvec &p);
49 inline cvec poly(const cvec &r) { cvec temp; poly(r, temp); return temp; }
61 void roots(const vec &p, cvec &r);
62 inline cvec roots(const vec &p) { cvec temp; roots(p, temp); return temp; }
63 void roots(const cvec &p, cvec &r);
64 inline cvec roots(const cvec &p) { cvec temp; roots(p, temp); return temp; }
80 vec polyval(const vec &p, const vec &x);
81 cvec polyval(const vec &p, const cvec &x);
82 cvec polyval(const cvec &p, const vec &x);
83 cvec polyval(const cvec &p, const cvec &x);
106 double cheb(int n, double x);
107 
131 vec cheb(int n, const vec &x);
132 
156 mat cheb(int n, const mat &x);
157 } // namespace itpp
158 
159 #endif // #ifndef POLY_H
SourceForge Logo

Generated on Fri Mar 21 2014 17:14:14 for IT++ by Doxygen 1.8.1.2