59 void CRationalApproximation::init()
69 SG_ADD(&
m_shifts,
"complex_shifts",
"Complex shifts in the linear system",
72 SG_ADD(&
m_weights,
"complex_weights",
"Complex weights of the linear system",
76 "Constant multiplier in the rational approximation",
119 "Minimum eigenvalue is negative, please provide a Hermitian matrix\n");
126 compute_shifts_weights_const();
140 int32_t num_shifts=
static_cast<index_t>(-1.5*(log_cond_number+6.0)
146 void CRationalApproximation::compute_shifts_weights_const()
208 SG_WARNING(
"Operator function is undefined!\n")