Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.Net Matrix [closed]

Tags:

.net

matrix

Is there a standard .Net matrix class? I cannot find it if there is.

If not, why not? It sounds like something people would need very frequently. Are there any non-standard libs you could recommend?


2 Answers

The XNA Framework has a Matrix structure. I'm not aware of any part of the main framework that has a Matrix class though.

http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.matrix.aspx

like image 84
Dan Herbert Avatar answered Dec 07 '25 16:12

Dan Herbert


I don't believe there is, partially because any array can technically be called a "Matrix" if it is a single dimension array of length n, it is an n x 1 matrix. There is also the question of whether you'd want the matrix to hold integers, doubles, or other numerical values that may play a role in some Matrix functions.

There do exist various places like here and here that may bundle some Matrix classes with other Linear Algebra functions.

like image 41
JB King Avatar answered Dec 07 '25 17:12

JB King