{"id":20087713,"url":"https://github.com/tohrxyz/matrices","last_synced_at":"2025-07-09T07:07:19.065Z","repository":{"id":200366612,"uuid":"705359085","full_name":"tohrxyz/matrices","owner":"tohrxyz","description":"Hobby educational implementation of matrix operations in TypeScript","archived":false,"fork":false,"pushed_at":"2023-10-15T20:12:41.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T12:06:44.367Z","etag":null,"topics":["matrix","matrix-multiplication","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tohrxyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-15T19:37:41.000Z","updated_at":"2023-10-15T19:38:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"0826e46f-9046-497b-b2bd-fe05b7bf6323","html_url":"https://github.com/tohrxyz/matrices","commit_stats":null,"previous_names":["tohrxyz/matrices"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tohrxyz%2Fmatrices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tohrxyz%2Fmatrices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tohrxyz%2Fmatrices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tohrxyz%2Fmatrices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tohrxyz","download_url":"https://codeload.github.com/tohrxyz/matrices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241523941,"owners_count":19976424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["matrix","matrix-multiplication","typescript"],"created_at":"2024-11-13T16:06:16.016Z","updated_at":"2025-03-02T14:42:01.572Z","avatar_url":"https://github.com/tohrxyz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# matrices\nHobby educational implementation of matrix operations in TypeScript (I was bored and curious)\n\n# How to use\nInstall node modules\n```sh\n$ npm install\n```\n\n## Matrix Multiplication\nTo use matrix multiplication program, you need to pass numbers through CLI arguments.\n\nCurrently only `2x2 * 2x2` is supported.\n\n```sh\n$ npx ts-node matrixMultiply.ts 23 42 54 23 51 95 23 58\n```\nThis is equivalent of two matrices as follows:\n\n`matrix 1` = \n [23, 42],\n [54, 23]\n\n`matrix 2` =\n [51, 96],\n [23, 58]\n\n### Example output\n```sh\nfirst matrix:  [ [ 23, 42 ], [ 54, 23 ] ]\nsecond matrix:  [ [ 51, 95 ], [ 23, 58 ] ]\n\n\nmultiplied matrix:  [ [ 2139 ], [ 4621 ], [ 3283 ], [ 6464 ] ]\nin 1180167 nanoseconds (~1 milliseconds)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftohrxyz%2Fmatrices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftohrxyz%2Fmatrices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftohrxyz%2Fmatrices/lists"}