{"action":"created","issue":{"url":"https://api.github.com/repos/markrogoyski/math-php/issues/13","repository_url":"https://api.github.com/repos/markrogoyski/math-php","labels_url":"https://api.github.com/repos/markrogoyski/math-php/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/markrogoyski/math-php/issues/13/comments","events_url":"https://api.github.com/repos/markrogoyski/math-php/issues/13/events","html_url":"https://github.com/markrogoyski/math-php/issues/13","id":166905123,"number":13,"title":"Matrix Math","user":{"login":"Beakerboy","id":8106249,"avatar_url":"https://avatars.githubusercontent.com/u/8106249?v=3","gravatar_id":"","url":"https://api.github.com/users/Beakerboy","html_url":"https://github.com/Beakerboy","followers_url":"https://api.github.com/users/Beakerboy/followers","following_url":"https://api.github.com/users/Beakerboy/following{/other_user}","gists_url":"https://api.github.com/users/Beakerboy/gists{/gist_id}","starred_url":"https://api.github.com/users/Beakerboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Beakerboy/subscriptions","organizations_url":"https://api.github.com/users/Beakerboy/orgs","repos_url":"https://api.github.com/users/Beakerboy/repos","events_url":"https://api.github.com/users/Beakerboy/events{/privacy}","received_events_url":"https://api.github.com/users/Beakerboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-21T20:02:01Z","updated_at":"2016-08-08T16:11:03Z","closed_at":null,"body":"I don't know much about licensing...Can we just pull in the functions from the  [PEAR Math Matrix Library](https://pear.php.net/package/Math_Matrix)  as a starting point? Regression functions will be much better with the addition of Matrix functions. Simple Linear Regression is just a simplification of Multiple Linear Regression. Polynomial fit will be arbitrarily easy.\r\nI've used this library before, and my only issue with it as-is is it modifies $this when performing operations like invert() and mult() instead of returning a new object. This means you can't chain operations like $X->Transpose()->mult($X);\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/markrogoyski/math-php/issues/comments/238286846","html_url":"https://github.com/markrogoyski/math-php/issues/13#issuecomment-238286846","issue_url":"https://api.github.com/repos/markrogoyski/math-php/issues/13","id":238286846,"user":{"login":"markrogoyski","id":10004372,"avatar_url":"https://avatars.githubusercontent.com/u/10004372?v=3","gravatar_id":"","url":"https://api.github.com/users/markrogoyski","html_url":"https://github.com/markrogoyski","followers_url":"https://api.github.com/users/markrogoyski/followers","following_url":"https://api.github.com/users/markrogoyski/following{/other_user}","gists_url":"https://api.github.com/users/markrogoyski/gists{/gist_id}","starred_url":"https://api.github.com/users/markrogoyski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markrogoyski/subscriptions","organizations_url":"https://api.github.com/users/markrogoyski/orgs","repos_url":"https://api.github.com/users/markrogoyski/repos","events_url":"https://api.github.com/users/markrogoyski/events{/privacy}","received_events_url":"https://api.github.com/users/markrogoyski/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T16:11:03Z","updated_at":"2016-08-08T16:11:03Z","body":"I've slowly been working on adding the matrix operations by working it out. I added LU Decomposition, which will be a step in adding solving linear equations and doing inverse and determinant etc. It's been a long time since I've studied linear algebra so I've been relearning as I go.\r\nI'd prefer that all code be original, and if you don't mind waiting, I'll try to get it done. Or, if you want to take a stab at it, that's cool too. I don't think there is anything preventing you from looking at someone else's code to learn the general logic of how something works (This is general math after all), and then write your own implementation.\r\nOtherwise, if you want to start with the other person's code and modify it from there, we will have to include the license. Since this project is already MIT and I already have an MIT license in the root directory I don't think we need a second license file, since it isn't like we are incorporating GPL code or something, so I think we can give the original source credit in the method's Docbloc comments and that should suffice. If you know of some projects that do the same thing that we can verify on how to do it that would be helpful. Another option is to have the other author contribute here and do a pull request.\r\n\r\nBtw, back when you first started contributing I added your name to the authors section of the composer file. For example, when you look at the project on any page that parses the composer manifest, such as Packagist, you will see it appear:\r\nhttps://packagist.org/packages/markrogoyski/math-php"}}
{"actor":{"display_login":"markrogoyski"}}