Skip to content

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

Open
MarkRedeman wants to merge 1 commit intorockbot:masterfrom
MarkRedeman:patch-1
Open

Fix for creating square matrices and added identity property to the Matrix function#13
MarkRedeman wants to merge 1 commit intorockbot:masterfrom
MarkRedeman:patch-1

Conversation

@MarkRedeman
Copy link

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).

…atrix function

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).
@rockbot
Copy link
Owner

rockbot commented Sep 26, 2013

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments