Skip to content

This repository contains an academic project for the numerical analysis module.

Notifications You must be signed in to change notification settings

MuhamedAyoub/numerical-analysis-project

Repository files navigation

About

A project for Analyse Numérique, contains sample use cases of algorithms studied in the course

  • Chapter 1: root finding algorithms (newton-raphson, dichotomie, point milieu) Used For: Detection of collisions between objects
  • Chapter 2: Solving Linear Systems of Equations (lu, gauss, cholesky)
  • Chapter 3: Solving Lineas Systems Of Equations (Numeric) (jacobi, gauss-seidel, relaxation) Used For: Finding the origin of a given vector can be applied in reversing the orientation of an image
  • Chapter 4: Finding Eigen Values(puissance itérée, déflation, jacobi et rotation de givens) Used For: Image compression
  • Chapter 5: interpolation (lagrange, différences divisés, différences finis) Used For: Creating smooth animations from keyframes
  • Chapter 6: numerical integration (trapézes, simpson, trapézes composites, simpson composites) Used For: Image blurring

Note

  • Chapter 1 and 5 are put into one project as they are both utilized
  • the source code of the algorithms is located under server/src

Dependencies

R

install plumber, magick

Python

run pip install -r requirements.py.txt located on each folder make sure to install numpy and matplotlib using pip install numpy matplotlib

Website

run npm install on the root folder

How to execute

Starting web site

run npm run dev and visit the website at the specified address Chapter 2 is on the Web site

Python Scripts

for Chapter 1-5 run in the animation folder python animaton.py for Chapter 3 run plot.py after setting the input in input.json if you prefer, else input the data after running the script

R scripts

for Chapter 6 run Rscript console.r [image path] [sigma (default = 1)]

Samples

sample are provided with each chapter's code for ease of viewing

About

This repository contains an academic project for the numerical analysis module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published