Skip to content

A software to write an optimized code that calculates inverse and determinant of N by N matrix.

License

Notifications You must be signed in to change notification settings

willnode/N-Matrix-Programmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-Matrix-Programmer

A program to create a program that calculates inverse and determinant of N by N matrix.

UPDATE (2022): I build a collection of libraries that does this for you: https://github.com/willnode/matrix-inversion

Screenshot

Background

This program is created for programmers who want to write the program which will do inverse and determinant of N by N matrix.

For those who need it, it creates the code for you automatically in an instant, therefore saves you hours (even days) of time.

The output syntaxes and N-order can be changed via code or command-line arguments.

Output samples

Here's one of output in valid C# code: 1x1 2x2 3x3 4x4 5x5 6x6 7x7 8x8 9x9 10x10.

Warning

The computation time (including output code size and processing memory) is O(N!N^3) as its complexity always increased over N.

However, for N>=4 The output steps is cached in local variables progressively for every (N-1), therefore the computation time is only O(N!), making the most efficient code that you'll ever see.

License

The program and its generated code are both licensed as MIT

About

A software to write an optimized code that calculates inverse and determinant of N by N matrix.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published