Git Product home page Git Product logo

matrix's Introduction

Sparse Matrices · GitHub license mac version

The motivation behind this project is to understand the fundamentals behind the time and space complexity of algebraic routines on sparse matrices, given different conditions. A major part of this project is understanding the im- portance of preconditioning, where the use of different preconditioners, which are the different sparse matrix representations; as well as multi-threading and parallelism, can lead to a significant reduction routine computation times.

Information regarding OpenMP multi-threading and the different sparse matrix representations have been covered in detail in the report.

Installation

Use the provided Makefile to compile the program which will create an executable matrix program.

make install

Usage

The program must be run with parameters. There are a few optional and required parameters. View the CLA usage below.

matrix {routines} [options] -f matrix1 [matrix2]

Routines:

  • --sm scalar perform scalar multiplcation with value scalar
  • --tr compute the matrix trace value
  • --ad perform matrix addition on two matrices, matrix2 must be specified
  • --ts transpose the given matrix
  • --mm perform matrix multiplication on two matrices, matrix2 must be specified

Options:

  • -t threads specify the number of execution threads to use
  • -l if present, results will be logged to an output file
  • -s if present, results will not contain the matrix data

This program has been tested on Mac environments.

Authors

License

This project is licensed under the MIT License.

matrix's People

Contributors

brucehow avatar

Stargazers

 avatar

Watchers

 avatar  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.