Skip to content

Repository with implementations of numerical algorithms on Python / C++, used in homework for Numerical Methods course in HSE University Applied Math BSc.

Notifications You must be signed in to change notification settings

rmnigm/numerical-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

numerical-methods

build status

What is it

This is a repository containing numerical algorithms, written in Python and C++. They are used in homework for Numerical Methods course in 3rd year of Applied Math undergraduate program in HSE University. Homeworks are mostly annotated in russian.

Homework topics:

  1. Numerical precision, computer representation of numbers
  2. Solving nonlinear equations
  3. Numerical precision for matrix operations
  4. Solving systems of nonlinear equations
  5. Solving systems of linear equations with iterative methods
  6. Function approximation
  7. Solving ordinary differential equations
  8. Skipped that one.
  9. Function optimization
  10. Solving partial differential equations

How to setup (Unix)

  • Clone repository to local machine

  • Install Pyenv using this guide and install Poetry

  • Install Python, used in project

    $ pyenv install 3.10.6

    If any problems happen - this guide can help.

  • Create virtual environment with Poetry and install requirements:

    $ cd <path to cloned repo>
    $ poetry install
  • Use Poetry tools for running scripts and testing:

    $ poetry run python <script>.py

And you are perfect, congratulations!

C++ files building

Right now most of the cpp files are easily compilable without any need to start a project, if you have G++ installed.

  $ g++ <file>.cpp -o <executable_name>
  $ sh ./<executable_name>

About

Repository with implementations of numerical algorithms on Python / C++, used in homework for Numerical Methods course in HSE University Applied Math BSc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published