Go to the documentation of this file.
33#include <itpp/itexports.h>
46ITPP_EXPORT
void poly(
const vec &r, vec &p);
47inline vec
poly(
const vec &r) { vec temp;
poly(r, temp);
return temp; }
48ITPP_EXPORT
void poly(
const cvec &r, cvec &p);
49inline cvec
poly(
const cvec &r) { cvec temp;
poly(r, temp);
return temp; }
61ITPP_EXPORT
void roots(
const vec &p, cvec &r);
62inline cvec
roots(
const vec &p) { cvec temp;
roots(p, temp);
return temp; }
63ITPP_EXPORT
void roots(
const cvec &p, cvec &r);
64inline cvec
roots(
const cvec &p) { cvec temp;
roots(p, temp);
return temp; }
80ITPP_EXPORT vec
polyval(
const vec &p,
const vec &x);
81ITPP_EXPORT cvec
polyval(
const vec &p,
const cvec &x);
82ITPP_EXPORT cvec
polyval(
const cvec &p,
const vec &x);
83ITPP_EXPORT cvec
polyval(
const cvec &p,
const cvec &x);
106ITPP_EXPORT
double cheb(
int n,
double x);
131ITPP_EXPORT vec
cheb(
int n,
const vec &x);
156ITPP_EXPORT mat
cheb(
int n,
const mat &x);
double cheb(int n, double x)
Chebyshev polynomial of the first kind.
vec polyval(const vec &p, const vec &x)
Evaluate polynomial.
void poly(const vec &r, vec &p)
Create a polynomial of the given roots.
void roots(const vec &p, cvec &r)
Calculate the roots of the polynomial.
Templated Vector Class Definitions.
Generated on Tue Aug 17 2021 10:59:15 for IT++ by Doxygen 1.12.0