My Project
|
vandermonde system solver for interpolating polynomials from their values More...
#include <mpr_numeric.h>
Public Member Functions | |
vandermonde (const long _cn, const long _n, const long _maxdeg, number *_p, const bool _homog=true) | |
~vandermonde () | |
number * | interpolateDense (const number *q) |
Solves the Vandermode linear system \sum_{i=1}^{n} x_i^k-1 w_i = q_k, k=1,..,n. More... | |
poly | numvec2poly (const number *q) |
Private Member Functions | |
void | init () |
Private Attributes | |
long | n |
long | cn |
long | maxdeg |
long | l |
number * | p |
number * | x |
bool | homog |
vandermonde system solver for interpolating polynomials from their values
Definition at line 28 of file mpr_numeric.h.
vandermonde::vandermonde | ( | const long | _cn, |
const long | _n, | ||
const long | _maxdeg, | ||
number * | _p, | ||
const bool | _homog = true |
||
) |
Definition at line 35 of file mpr_numeric.cc.
vandermonde::~vandermonde | ( | ) |
Definition at line 46 of file mpr_numeric.cc.
|
private |
Definition at line 53 of file mpr_numeric.cc.
number * vandermonde::interpolateDense | ( | const number * | q | ) |
Solves the Vandermode linear system \sum_{i=1}^{n} x_i^k-1 w_i = q_k, k=1,..,n.
Any computations are done using type number to get high pecision results.
q | n-tuple of results (right hand of equations) |
Definition at line 146 of file mpr_numeric.cc.
poly vandermonde::numvec2poly | ( | const number * | q | ) |
Definition at line 93 of file mpr_numeric.cc.
|
private |
Definition at line 50 of file mpr_numeric.h.
|
private |
Definition at line 57 of file mpr_numeric.h.
|
private |
Definition at line 52 of file mpr_numeric.h.
|
private |
Definition at line 51 of file mpr_numeric.h.
|
private |
Definition at line 49 of file mpr_numeric.h.
|
private |
Definition at line 54 of file mpr_numeric.h.
|
private |
Definition at line 55 of file mpr_numeric.h.