GithubHelp home page GithubHelp logo

riklund / matrixutils Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 993 KB

Some utilities for creating binary matrices from other binary formats, and performing a Jacobi eigenvalue calculation.

License: Other

C++ 88.39% Shell 11.61%

matrixutils's Introduction

#Matrix utility software

Consists of three different subprograms:

##Purify Takes two binary square matrix objects of the form gF + dI where g and d are scalars, F is a full matrix and I is a diagonal matrix, and creates a binary object which can be used to construct other matrix of the form gF + dI for any g.

###Format of input matrix: In order, the content of an input binary file should be the following:

  1. Two unsigned integers, n and m, describing the dimensions of the matrix. Requirement: n = m since the matrix should be square.
  2. n*n complex, the content of the matrix, row by row.
  3. An unsigned long long with the value 38198464.

##ConstructMatrix Operates on the output from Purify to construct a matrix on the form gF + dI.

##Jacobi Operates on the output from ConstructMatrix, and finds the eigenvalue and eigenvector with the largest overlap of a vector with a component in a given direction.

#Note

At no point in any of the programs the full matrices are loaded into memory. If the matrices are of dimension n x n, the memory usage is O(n) with a small constant factor.

matrixutils's People

Contributors

riklund avatar tarrasch avatar

Watchers

 avatar  avatar

Forkers

tarrasch

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.