- Term 1:
S1T0_types_convertionsS1T1_compute_functionS1T2_solve_linear_systemS1T3_newton_method
- Term 2:
S2T1_optimizationS2T2_interpolationS2T3_approximation
- Term 3:
S3T1_integrationS3T2_solve_ode
Each task should be solved in Python>=3.6, look corresponding folders for code examples and test scripts. You should write the code that solves the problem and is verified by test script. Check readme.md files in subfolders for details (in Russian!).
<TASK_NAME>/__init__.pypy/__init__.pytest_<subtask_name>.py- test script that checks your solutions. You have several options to run it:python -m pytest path/to/test_<task_name>.pypytest path/to/test_<task_name>.py- PyCharm: see below
<subtask_name>.py- dummy code, you should replace it with yours.
- Install Anaconda with Python>=3.6: https://www.anaconda.com/products/individual
- Install PyCharm: https://www.jetbrains.com/ru-ru/pycharm/download
- Get the project in one of these ways:
- Download: get https://github.com/sedefe/chm/archive/master.zip and unpack it.
- Clone: in Git Bash (https://git-scm.com/downloads) execute
git clone https://github.com/sedefe/chm.git.
- In Pycharm open the project in main folder (
chm/orchm-master/). - Set the path to Anaconda interpreter: (
File->Settings->Project->Project Interpreter). - Set pytest as a Default test runner (
File->Settings->Tools->Python Integrated Tools). - Choose any
test_*.pyfile and press greenRun ...button at anydef test_*():row.
Github has issues with showing notebooks. You may use https://nbviewer.jupyter.org/ instead and paste the link to .ipynb file there.
For example, https://nbviewer.jupyter.org/github/sedefe/chm/blob/master/S2T2_interpolation/notebooks/hermite-interpolation.ipynb
Feel free to ask:
- sagoyewatha@mail.ru
- [Term 1] https://t.me/chm_1sem
- [Term 2] https://t.me/chm_2sem
- [Term 3] https://t.me/chm_3sem