accelerInt  v0.1
Functions | Variables
phiAHessenberg.c File Reference

Computes various matrix exponential functions on the Krylov Hessenberg matricies. More...

#include <stdlib.h>
#include <complex.h>
#include "header.h"
#include "lapack_dfns.h"
#include "complexInverse.h"
#include "solver_options.h"
#include "solver_props.h"
Include dependency graph for phiAHessenberg.c:

Go to the source code of this file.

Functions

int phi2Ac_variable (const int m, const double *A, const double c, double *phiA)
 Compute the 2nd order Phi (exponential) matrix function. More...
 
int phiAc_variable (const int m, const double *A, const double c, double *phiA)
 Compute the first order Phi (exponential) matrix function. More...
 
int expAc_variable (const int m, const double *A, const double c, double *phiA)
 Compute the zeroth order Phi (exponential) matrix function. This is the regular matrix exponential. More...
 

Variables

double complex poles [N_RA]
 
double complex res [N_RA]
 

Detailed Description

Computes various matrix exponential functions on the Krylov Hessenberg matricies.

Definition in file phiAHessenberg.c.

Function Documentation

◆ expAc_variable()

int expAc_variable ( const int  m,
const double *  A,
const double  c,
double *  phiA 
)

Compute the zeroth order Phi (exponential) matrix function. This is the regular matrix exponential.

Computes \(\phi_0(c*A)\)

Parameters
[in]mThe Hessenberg matrix size (mxm)
[in]AThe input Hessenberg matrix
[in]cThe scaling factor
[out]phiAThe resulting exponential matrix

Definition at line 140 of file phiAHessenberg.c.

◆ phi2Ac_variable()

int phi2Ac_variable ( const int  m,
const double *  A,
const double  c,
double *  phiA 
)

Compute the 2nd order Phi (exponential) matrix function.

Computes \(\phi_2(c*A)\)

Parameters
[in]mThe Hessenberg matrix size (mxm)
[in]AThe input Hessenberg matrix
[in]cThe scaling factor
[out]phiAThe resulting exponential matrix

Definition at line 27 of file phiAHessenberg.c.

◆ phiAc_variable()

int phiAc_variable ( const int  m,
const double *  A,
const double  c,
double *  phiA 
)

Compute the first order Phi (exponential) matrix function.

Computes \(\phi_1(c*A)\)

Parameters
[in]mThe Hessenberg matrix size (mxm)
[in]AThe input Hessenberg matrix
[in]cThe scaling factor
[out]phiAThe resulting exponential matrix

Definition at line 83 of file phiAHessenberg.c.

Variable Documentation

◆ poles

double complex poles[N_RA]

Definition at line 17 of file rational_approximant.c.

◆ res

double complex res[N_RA]

Definition at line 18 of file rational_approximant.c.