Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hozer07/cpp-mini-projects
https://github.com/hozer07/cpp-mini-projects
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hozer07/cpp-mini-projects
- Owner: hozer07
- Created: 2021-01-12T17:35:36.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-18T08:02:11.000Z (over 3 years ago)
- Last Synced: 2023-11-13T12:36:25.682Z (about 1 year ago)
- Language: C++
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpp-mini-projects
1- Gaussian Elimination with Partial PivotingSolves a matrix equation by using Gaussian elimination. Reads the square matrix from "A.txt" and constants from "b.txt".
Solves for x in Ax = b2- Secant and Bisection Methods for finding a root of a polynomial
Implements these 2 methods to find a root between two initial guesses.
3 - Computing Eigenvalues and Eigenvectors using Normalized Power Iteration together with Deflation
Computes 2 greatest eigenvalues in absolute value and the eigenvector corresponding to the largest eigenvalue. Takes inputs at command line in the form "A.txt 0.0001 x.txt", where "A.txt" is the input file that contains input square matrix, 0.0001 is the tolerance for power iteration and "x.txt" is the file to write the output.