This project has moved and is read-only. For the latest updates, please go here.

Identity Matrix

Mar 13, 2013 at 7:29 PM
Sorry I'm new so I posted the issue below in the issue tracker but maybe it's the wrong place

Dear all,

it looks to me that in the constructors of the matrix there is not the possibility to define a new square matrix as an identity matrix, a type of matrix that sometimes you need to use .
Sorry if I've miised that there is a compact way in VS2008 to do it so far I'm using:
Dim MK As SquareMatrix
MK = New SquareMatrix(3)
For i As Integer = 0 To 2
MK(i, i) = 1
BestRegards EB