GithubHelp home page GithubHelp logo

taihulight / coppersmith-winograd-algorithm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xg-pro/coppersmith-winograd-algorithm

0.0 1.0 0.0 820 KB

Trying to create an algorithm for the Coppersmith Winograd Algorithm, regarding NXN arrays

License: GNU General Public License v3.0

C 30.99% CMake 18.19% C++ 42.10% Makefile 8.71%

coppersmith-winograd-algorithm's Introduction

Coppersmith-Winograd-Algorithm

Trying to create a C interpretation for the Coppersmith-Winograd Algorithm, regarding NxN arrays.

First version:

    Initial prototype rounds were of O(n!) complexity, able to calculate a max of n=18 arrays before crashing.

Current Prototype:

    Current complexity is O(~n^3), after implementing LU decomposition.

Goal:

    Final target complexity is O(~n^2.374), which is the current best known complexity in theory for galactic algorithms.

UPDATE:

    After implementing lower and upper triangular arrays, the algorithm is able to perform a maximum of n=~25 before crashing. Further research into the topic is needed

UPDATE 2:

    Completed implementation of LU Decomposition and re-organised definition of variables. Current maximum amount of N is ~250, since above that, the number returned for the value of its determinant is higher than the value IEEE754 supports. As such, further implementation will regard time management and theory upon this maximum N and iterated a lot of times to get a distinguishable result on time measurement between different solution implementation (see clock_t and chrono). Current complexity reached is calculated at n^3 at worst.
    Will currently also pursue the implementation of the algorithm in multiplication of NxN arrays instead of just determinants. A scientific paper and report is now in writing and research and will be processed and posted here. Further arrangements are needed in the code for this to occur as well as junk clearance (compiler problems and IDE dissonances between the 2 parties caused this).

coppersmith-winograd-algorithm's People

Contributors

dimyfantidis avatar xg-pro avatar

Watchers

James Cloos 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.