IT++ Logo Newcom Logo

poly.h

Go to the documentation of this file.
00001 
00033 #ifndef POLY_H
00034 #define POLY_H
00035 
00036 #include <itpp/base/vec.h>
00037 
00038 
00039 namespace itpp {
00040 
00047 
00048   void poly(const vec &r, vec &p);
00049   inline vec poly(const vec &r) { vec temp; poly(r, temp); return temp; }
00050   void poly(const cvec &r, cvec &p);
00051   inline cvec poly(const cvec &r) { cvec temp; poly(r, temp); return temp; }
00053   
00054 
00061 
00062   void roots(const vec &p, cvec &r);
00063   inline cvec roots(const vec &p) { cvec temp; roots(p, temp); return temp; }
00064   void roots(const cvec &p, cvec &r);
00065   inline cvec roots(const cvec &p) { cvec temp; roots(p, temp); return temp; }
00067   
00068 
00079 
00080   vec polyval(const vec &p, const vec &x);
00081   cvec polyval(const vec &p, const cvec &x);
00082   cvec polyval(const cvec &p, const vec &x);
00083   cvec polyval(const cvec &p, const cvec &x);
00085 
00086 } // namespace itpp
00087 
00088 #endif // #ifndef POLY_H
SourceForge Logo

Generated on Wed Apr 18 11:19:58 2007 for IT++ by Doxygen 1.5.2