This repository aimed to creating programming implementation of various methods of Computational Mathematics
Repository has several directories with solutions for certain theme. These directories are:
-
SLAE - System of Linear Algebraic Equations. This directory contains methods of exact and numeric solving of SLAE. There are:
- Gauss method (exact) [C++, Python]
- Seidel method (numeric or approximate) [C++, Python]
You can use these solutions in several ways:
-
Just copy the source code of needed methods.
-
Clone the whole repo to your computer:
git clone https://github.com/MatheMateCS/Computational-Mathematics
- If you use Python solutions, just create main.py in root directory of repo and then write appropriate imports in it, such as:
from SLAE.slae import * gauss()
- If you use C++ solutions, create main.cpp in root directory, include in it appropriate headers from directories:
#include "SLAE/slae.h" int main() { gauss(); }
And then build the project with cmake builder, for example create CMakeLists.txt:
cmake_minimum_required(VERSION 3.29) project(Computational-Mathematics) set(CMAKE_CXX_STANDARD 14) add_executable(Computational-Mathematics SLAE/slae.h SLAE/gauss.cpp main.cpp )