matrix determinant in 3*3 d
-
hi i want to know the matrix determinant yes there is a cofactor method of determinant in3d matrix i think so is there any code for this and if there is 2d what is the code for 2d matrix determinant matrix determinant
You can declare your matrix like so:
double[] matrix = new double[3, 3];
See the pseudo-code at http://www.geocities.com/SiliconValley/Park/3230/misc/misc20010513-0000.html[^] for an example of how to calculate the determinant
Microsoft MVP, Visual C# My Articles
-
hi i want to know the matrix determinant yes there is a cofactor method of determinant in3d matrix i think so is there any code for this and if there is 2d what is the code for 2d matrix determinant matrix determinant
Also, there is a pretty good article and matrix class here on CodeProject that may be of some use: http://www.codeproject.com/csharp/PsDotNetMatrix.asp[^].
Microsoft MVP, Visual C# My Articles