MPSolve 3.2.1
Loading...
Searching...
No Matches
mps_secular_equation Struct Reference

Secular equation data. More...

#include <secular-equation.h>

Public Attributes

struct mps_polynomial __base_class__
 
struct mps_secular_equation_double_buffer db
 
cplx_t * afpc
 Vector of $a_i$ as complex floating point numbers.
 
cdpe_t * adpc
 Same as afpc, but the dpe version.
 
cplx_t * bfpc
 Vector with the values of $b_i$ as complex floating point numbers.
 
cdpe_t * bdpc
 Same as bfpc, but the dpe version.
 
mpc_t * ampc
 Same as afpc, but the multiprecision version.
 
pthread_mutex_t * ampc_mutex
 Mutexes thatn need to be locked to ensure consistent access to ampc[j] variable.
 
mpc_t * bmpc
 Same as bfpc, but the multiprecision version.
 
pthread_mutex_t * bmpc_mutex
 Mutexes that need to be locked to ensure consistent access to bmpc[j] variable.
 
double * aafpc
 Moduli of the floating point a_i coefficients of the secular equation.
 
double * abfpc
 Moduli of the floating point b_i coefficients of the secular equation.
 
rdpe_t * aadpc
 DPE Moduli of the CDPE of Multiprecision a_i coefficients of the secular equation.
 
rdpe_t * abdpc
 DPE Moduli of the CDPE of Multiprecision b_i coefficients of the secular equation.
 
mpc_t * initial_ampc
 Initial multiprecision coefficients saved for latter regeneration in mps_secular_ga_regenerate_coefficients().
 
mpc_t * initial_bmpc
 Initial multiprecision coefficients saved for latter regeneration in mps_secular_ga_regenerate_coefficients().
 
mpq_t * initial_ampqrc
 Initial rational coefficients, if rational input is selected. This value is the real part of the $a_i$ coefficients.
 
mpq_t * initial_bmpqrc
 Initial rational coefficients, if rational input is selected. This value is the real part of the $b_i$ coefficients.
 
mpq_t * initial_ampqic
 Initial rational coefficients, if rational input is selected. This value is the imaginary part of the $a_i$ coefficients.
 
mpq_t * initial_bmpqic
 Initial rational coefficients, if rational input is selected. This value is the imaginary part of the $b_i$ coefficients.
 
pthread_mutex_t precision_mutex
 This mutex is locked while changing precision.
 

Detailed Description

Secular equation data.

A secular equation is an equation in the form

\[
  \sum_{i = 1}^{n} \frac{a_i}{z - b_i} = 1
\]

and this struct holds the values of the parameters $a_i$ and $b_i$.


The documentation for this struct was generated from the following file: