accelerInt  v0.1
Functions
cf.h File Reference

Header definition for rational approximation to matrix exponential. More...

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Header definition for rational approximation to matrix exponential.

Author
Kyle E. Niemeyer
Date
07/19/2012

Contains main and linear algebra functions.

Definition in file cf.h.

Function Documentation

◆ cf()

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.

Parameters
[in]nsize of approximation (n, n)
[out]poles_rarray with real parts of poles, size n
[out]poles_iarray with imaginary parts of poles, size n
[out]res_rarray with real parts of residuals, size n
[out]res_iarray with imaginary parts of residuals, size n

Definition at line 41 of file cf.c.