|
accelerInt
v0.1
|
Header definition for rational approximation to matrix exponential. More...

Go to the source code of this file.
Functions | |
| void | cf (int, double *, double *, double *, double *) |
| Function that calculates the poles and residuals of best rational (partial fraction) approximant to the matrix exponential. More... | |
Header definition for rational approximation to matrix exponential.
Contains main and linear algebra functions.
Definition in file cf.h.
| void cf | ( | int | n, |
| double * | poles_r, | ||
| double * | poles_i, | ||
| double * | res_r, | ||
| double * | res_i | ||
| ) |
Function that calculates the poles and residuals of best rational (partial fraction) approximant to the matrix exponential.
Complex math Fast Fourier tranform functionsUses the Carathéodory-Fejér method; based on the MATLAB code in L.N. Trefethen, J.A.C. Weideman, T. Schmelzer, "Talbot quadratures and rational approximations," BIT Numer. Math. 46 (2006) 653–670.
| [in] | n | size of approximation (n, n) |
| [out] | poles_r | array with real parts of poles, size n |
| [out] | poles_i | array with imaginary parts of poles, size n |
| [out] | res_r | array with real parts of residuals, size n |
| [out] | res_i | array with imaginary parts of residuals, size n |
1.8.14