{"id":22248293,"url":"https://github.com/nesktf/metnum","last_synced_at":"2025-03-25T11:43:19.407Z","repository":{"id":265499261,"uuid":"896129907","full_name":"nesktf/metnum","owner":"nesktf","description":"Numerical methods in C++17","archived":false,"fork":false,"pushed_at":"2024-11-29T17:58:02.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T10:43:08.559Z","etag":null,"topics":["armadillo","college-assignment","cpp","cpp17","gnuplot","numerical-methods"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nesktf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-29T15:54:44.000Z","updated_at":"2024-12-12T13:45:37.000Z","dependencies_parsed_at":"2024-11-29T17:29:00.288Z","dependency_job_id":null,"html_url":"https://github.com/nesktf/metnum","commit_stats":null,"previous_names":["nesktf/metnum"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nesktf%2Fmetnum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nesktf%2Fmetnum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nesktf%2Fmetnum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nesktf%2Fmetnum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nesktf","download_url":"https://codeload.github.com/nesktf/metnum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458112,"owners_count":20618693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["armadillo","college-assignment","cpp","cpp17","gnuplot","numerical-methods"],"created_at":"2024-12-03T06:14:56.393Z","updated_at":"2025-03-25T11:43:19.379Z","avatar_url":"https://github.com/nesktf.png","language":"C++","readme":"# metnum\nA bunch of numerical methods that I implemented in C++17 for some college assignments\n\nAll methods were taken from the book \"Métodos numéricos para ingenieros - Quinta Edición\" by\nSteven C. Chapra \u0026 Raymond P. Canale\n\nThe excercises where probably taken from there too, i didn't check lmao\n\n## Method list\nRoot finding\n- [Bisection method](https://en.wikipedia.org/wiki/Bisection_method)\n- [Regula Falsi](https://en.wikipedia.org/wiki/Regula_falsi)\n- [Fixed point iteration](https://en.wikipedia.org/wiki/Fixed-point_iteration)\n- [Newton's method](https://en.wikipedia.org/wiki/Newton's_method)\n- [Secant method](https://en.wikipedia.org/wiki/Secant_method)\n\nSystems of linear equations solving\n- [Gaussian and Gauss-Jordan elimination](https://en.wikipedia.org/wiki/Gaussian_elimination)\n- [Jacobi method](https://en.wikipedia.org/wiki/Jacobi_method)\n- [Gauss-Seidel method](https://en.wikipedia.org/wiki/Gauss%E2%80%93Seidel_method)\n\nOrdinary Differential Equation solving\n- [Euler method](https://en.wikipedia.org/wiki/Euler_method)\n- [4th order Runge-Kutta method](https://en.wikipedia.org/wiki/Runge%E2%80%93Kutta_methods)\n\nPolynomial interpolation\n- [Lagrange polynomial](https://en.wikipedia.org/wiki/Lagrange_polynomial)\n\nIntegration\n- [Trapezoidal rule](https://en.wikipedia.org/wiki/Trapezoidal_rule)\n- [Simpson's 1/3 and 3/8 rules](https://en.wikipedia.org/wiki/Simpson%27s_rule)\n\n## Building\nTested on Debian 12 Bookworm and Arch Linux. You will need the following dependencies:\n\n```sh\n$ sudo apt install libarmadillo-dev liblaplack-dev libopenblas-dev\n```\nYou will also need gnuplot if you want to plot the ODEs (uncomment the PLOT_THINGS define)\n\nThen build and execute the project by doing the following:\n\n```sh\n$ cmake -B build -DCMAKE_BUILD_TYPE=Release\n$ make -C build -j4\n$ ./build/metnum\n```\n\n## Libraries\n- [armadillo](https://arma.sourceforge.net/) \n- [gnuplot-cpp](https://github.com/martinruenz/gnuplot-cpp) \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesktf%2Fmetnum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnesktf%2Fmetnum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesktf%2Fmetnum/lists"}