26     double *poles_r = (
double *) calloc (
N_RA, 
sizeof(
double));
    27     double *poles_i = (
double *) calloc (
N_RA, 
sizeof(
double));
    28     double *res_r = (
double *) calloc (
N_RA, 
sizeof(
double));
    29     double *res_i = (
double *) calloc (
N_RA, 
sizeof(
double));
    31     cf (
N_RA, poles_r, poles_i, res_r, res_i);
    33     for (
int i = 0; i < 
N_RA; ++i)
    35         poles[i] = poles_r[i] + poles_i[i] * _Complex_I;
    36         res[i] = res_r[i] + res_i[i] * _Complex_I;
 
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 t...
 
A file generated by Scons that specifies various options to the solvers. 
 
void find_poles_and_residuals()
get poles and residues for rational approximant to matrix exponential 
 
double complex poles[N_RA]
 
Header definition for rational approximation to matrix exponential.