summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-15 14:16:15 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-15 14:16:15 -0700
commit1a6b95273628d898226eb448c8b671dc33f3c495 (patch)
tree08ebde756da3214142acaaa15ef45a1eea7e9970 /inc
parent3f1f18b149788fe69180dc2a348fd32425bb9a3f (diff)
downloadcmath-1a6b95273628d898226eb448c8b671dc33f3c495.tar.gz
cmath-1a6b95273628d898226eb448c8b671dc33f3c495.zip
compute dominant eigenvalue
Diffstat (limited to 'inc')
-rw-r--r--inc/lizfcm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/lizfcm.h b/inc/lizfcm.h
index 2e12a50..85a29bb 100644
--- a/inc/lizfcm.h
+++ b/inc/lizfcm.h
@@ -40,6 +40,7 @@ extern Matrix_double *gaussian_elimination(Matrix_double *m);
extern Array_double *solve_matrix_gaussian(Matrix_double *m, Array_double *b);
extern Array_double *m_dot_v(Matrix_double *m, Array_double *v);
extern Matrix_double *m_dot_m(Matrix_double *a, Matrix_double *b);
+extern Matrix_double *transpose(Matrix_double *m);
extern Array_double *col_v(Matrix_double *m, size_t x);
extern Matrix_double *copy_matrix(Matrix_double *m);
extern Matrix_double *add_column(Matrix_double *m, Array_double *col);
@@ -72,4 +73,7 @@ extern double fixed_point_secant_bisection_method(double (*f)(double),
double x_0, double x_1,
double tolerance,
size_t max_iterations);
+
+extern double dominant_eigenvalue(Matrix_double *m, Array_double *v,
+ double tolerance, size_t max_iterations);
#endif // LIZFCM_H