diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-11-27 14:06:16 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-11-27 14:06:16 -0700 |
commit | 793c01c9bd61a5b461b44fc7ede04cc1dd90a4ec (patch) | |
tree | a444a84b1d6bdd7f0642304b9e429903e1c0e1ac /inc | |
parent | 76e00682b2fcc557f24af9db7629d1c868bdf93c (diff) | |
download | cmath-793c01c9bd61a5b461b44fc7ede04cc1dd90a4ec.tar.gz cmath-793c01c9bd61a5b461b44fc7ede04cc1dd90a4ec.zip |
add shifted eigenvalue procedure and unit test
Diffstat (limited to 'inc')
-rw-r--r-- | inc/lizfcm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/lizfcm.h b/inc/lizfcm.h index 295aab0..625e6bc 100644 --- a/inc/lizfcm.h +++ b/inc/lizfcm.h @@ -76,6 +76,9 @@ extern double fixed_point_secant_bisection_method(double (*f)(double), extern double dominant_eigenvalue(Matrix_double *m, Array_double *v, double tolerance, size_t max_iterations); +extern double shift_inverse_power_eigenvalue(Matrix_double *m, Array_double *v, + double shift, double tolerance, + size_t max_iterations); extern double least_dominant_eigenvalue(Matrix_double *m, Array_double *v, double tolerance, size_t max_iterations); |