Git Product home page Git Product logo

maitreyeepaliwal / solving-system-of-linear-equations-in-parallel-and-serial Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 13 KB

Implentation of Back Substitution, Conjugate Gradient and Gauss Seidel using OpenMP parallelization

License: MIT License

C 100.00%
back-substitution conjugate-gradient gauss-seidel linear-equations linear-equation-solver parallel-computing parallel-programming openmp openmp-parallelization linear-algebra

solving-system-of-linear-equations-in-parallel-and-serial's Introduction

Linear-equations-solving-using-parallelism

Implentation of Back Substitution, Conjugate Gradient and Gauss Seidel using OpenMP parallelization

Solving large systems of linear equations in serial is time consuming and slow process.
Prallelizing the algorithms using suitable parallel constructs can provide the correct solutions with a lesser time complexity.

This project presents parallel and serial implementation of three algorithms for solving system of linear equations:

  1. Back Substitution,
  2. Conjugate Gradient and
  3. Gauss Seidel

In this project, OpenMP is used for parallelizing the algorithms.
For all the 3 algos, serial and parallel implementations is provided. Execution time for each of the 6 functions(serial and parallel implementations of the three algos) is calculated to determine and henceforth compare the efficiency of the three algorithms.

Two code files: required.c and random.c are basically the same implementation, but random.c considered a random matrix input, while required.c considers specific input matrix considering the limitations of the algorithms.

solving-system-of-linear-equations-in-parallel-and-serial's People

Contributors

maitreyeepaliwal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.