vektor icon indicating copy to clipboard operation
vektor copied to clipboard

Fix for creating square matrices and added identity property to the Matrix function

Open MarkRedeman opened this issue 11 years ago • 1 comments

The Matrix constructor used the (undefined) cols variable when creating the appropriate array instead of this.cols.

There was a isIdentity parameter in the Matrix constructor but it wasn't used. I added the Matrix.identity(size).

MarkRedeman avatar Sep 25 '13 10:09 MarkRedeman

Hi - thanks!! Please add some tests for your code - it'll not only make sure your code works the way you think it does, but it'll also help newcomers know how to use the functionality you've provided :-)

Holler if you have questions!

rockbot avatar Sep 26 '13 19:09 rockbot