No description
  • Python 90%
  • Nix 10%
Find a file
2025-03-31 00:55:43 +02:00
images first commit 2025-03-31 00:23:33 +02:00
res first commit 2025-03-31 00:23:33 +02:00
problem-statement.pdf first commit 2025-03-31 00:23:33 +02:00
README.md switch to LD 2025-03-31 00:55:43 +02:00
requirements.txt add dependency howto 2025-03-31 00:53:04 +02:00
script.py switch to LD 2025-03-31 00:55:43 +02:00
shell.nix switch to LD 2025-03-31 00:55:43 +02:00

LSTQR vs CG

This small python script compare the Least Square method to the Conjugate Gradient method in the context given in the problem-statement file.

How to use

Install dependency

Two options:

  • Either use pip: pip install -r requirements.txt
  • Use nix: nix-shell if nix is installed on your machine

Launch the script

Simply run python script.py

Results:

Result plot