Skip to content

GuntaButya/Matrix.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Matrix.NET

A Light Weight Matrix based on the Code of darkdragon-001

Original code can be viewed here: https://github.com/darkdragon-001/LightweightMatrixCSharp

Blog here: http://blog.ivank.net/lightweight-matrix-class-in-c-strassen-algorithm-lu-decomposition.html

Improvements I have made:

Very much easier to access and Index a Row or a Column:

// Test on Matrix: 10 Columns in each Row
Matrix M = new Matrix(3, 10);
M.Row[0] = new double[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
double[] ColZero = M.Column[0];
        
M.Row[1] = new double[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
M.Row[2] = new double[] { 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 };
        
double[] RowZero = M.Row[0];
double[] RowOne = M.Row[1];
double[] RowTwo = M.Row[2];

double[] ColNine = M.Column[0];

Some simple Comments added. Not yet Complete.

I have changed some Fields to Properties now instead. I believe this is faster and more efficent.

About

A Light Weight Matrix based on the Code of darkdragon-001 https://github.com/darkdragon-001/LightweightMatrixCSharp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages