{"id":29163992,"url":"https://github.com/yuukitoriyama/gyolets","last_synced_at":"2026-07-17T03:04:10.206Z","repository":{"id":49417876,"uuid":"373124412","full_name":"YuukiToriyama/gyolets","owner":"YuukiToriyama","description":"行列の簡約化ができます！途中式も出力可能。LaTeX形式での書き出しもできます！","archived":false,"fork":false,"pushed_at":"2021-06-20T18:04:07.000Z","size":904,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T11:17:03.441Z","etag":null,"topics":["cli","matrix","reduction"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@toriyama/gyolets","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YuukiToriyama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-02T10:20:04.000Z","updated_at":"2023-02-14T03:26:57.000Z","dependencies_parsed_at":"2022-07-26T18:02:25.154Z","dependency_job_id":null,"html_url":"https://github.com/YuukiToriyama/gyolets","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/YuukiToriyama/gyolets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuukiToriyama%2Fgyolets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuukiToriyama%2Fgyolets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuukiToriyama%2Fgyolets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuukiToriyama%2Fgyolets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YuukiToriyama","download_url":"https://codeload.github.com/YuukiToriyama/gyolets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuukiToriyama%2Fgyolets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262915657,"owners_count":23383847,"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":["cli","matrix","reduction"],"created_at":"2025-07-01T06:39:29.839Z","updated_at":"2025-10-18T00:02:19.547Z","avatar_url":"https://github.com/YuukiToriyama.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Gyolets logo](./logo.svg)\n# gyolets\n## Abstract\n行列の簡約化を行なうライブラリです。  \nCLIツールとして使えるほか、ライブラリとして他のプログラムやWebアプリに組み込んで使うこともできます。  \n\n## Usage\n### CLI\n#### Installation\n```bash\n$ npm install -g @toriyama/gyolets\n```\n#### `-m, --matrix \u003cnumber[][]\u003e`\n```bash\n$ gyolets -m \"[[1,2,3], [4,5,6], [7,8,9]]\"\n```\n```terminal\n1\t0\t-1\n0\t1\t2\n0\t0\t0\n```\n#### `-v, --verbose`\n```bash\n$ gyolets -v -m \"[[1,2,3], [4,5,6], [7,8,9]]\" \n```\n```terminal\n1       2       3\n4       5       6\n7       8       9\n[ [ 1, 2 ] ]\n1       2       3\n0       1       2\n7       8       9\n[ [ 1, 3 ] ]\n1       2       3\n0       1       2\n0       1       2\n[ [ 2, 1 ] ]\n1       0       -1\n0       1       2\n0       1       2\n[ [ 2, 3 ] ]\n1       0       -1\n0       1       2\n0       0       0\n[]\n1       0       -1\n0       1       2\n0       0       0\n```\n#### `-l, --latex \u003cstring\u003e`\n```bash\n$ gyolets -l -v -m \"[[2,2,1,1,0,0], [3,1,-1,0,1,0], [4,3,1,0,0,1]]\"\n```\n```latex\n\\begin{bmatrix}\n        2 \u0026 2 \u0026 1 \u0026 1 \u0026 0 \u0026 0 \\\\\n        3 \u0026 1 \u0026 -1 \u0026 0 \u0026 1 \u0026 0 \\\\\n        4 \u0026 3 \u0026 1 \u0026 0 \u0026 0 \u0026 1 \\\\\n\\end{bmatrix}\n\\begin{bmatrix}\n        2 \u0026 2 \u0026 1 \u0026 1 \u0026 0 \u0026 0 \\\\\n        0 \u0026 4 \u0026 5 \u0026 3 \u0026 -2 \u0026 0 \\\\\n        4 \u0026 3 \u0026 1 \u0026 0 \u0026 0 \u0026 1 \\\\\n\\end{bmatrix}\n\\begin{bmatrix}\n        2 \u0026 2 \u0026 1 \u0026 1 \u0026 0 \u0026 0 \\\\\n        0 \u0026 4 \u0026 5 \u0026 3 \u0026 -2 \u0026 0 \\\\\n        0 \u0026 1 \u0026 1 \u0026 2 \u0026 0 \u0026 -1 \\\\\n\\end{bmatrix}\n\\begin{bmatrix}\n        4 \u0026 0 \u0026 -3 \u0026 -1 \u0026 2 \u0026 0 \\\\\n        0 \u0026 4 \u0026 5 \u0026 3 \u0026 -2 \u0026 0 \\\\\n        0 \u0026 1 \u0026 1 \u0026 2 \u0026 0 \u0026 -1 \\\\\n\\end{bmatrix}\n\\begin{bmatrix}\n        4 \u0026 0 \u0026 -3 \u0026 -1 \u0026 2 \u0026 0 \\\\\n        0 \u0026 4 \u0026 5 \u0026 3 \u0026 -2 \u0026 0 \\\\\n        0 \u0026 0 \u0026 1 \u0026 -5 \u0026 -2 \u0026 4 \\\\\n\\end{bmatrix}\n\\begin{bmatrix}\n        1 \u0026 0 \u0026 0 \u0026 -4 \u0026 -1 \u0026 3 \\\\\n        0 \u0026 4 \u0026 5 \u0026 3 \u0026 -2 \u0026 0 \\\\\n        0 \u0026 0 \u0026 1 \u0026 -5 \u0026 -2 \u0026 4 \\\\\n\\end{bmatrix}\n\\begin{bmatrix}\n        1 \u0026 0 \u0026 0 \u0026 -4 \u0026 -1 \u0026 3 \\\\\n        0 \u0026 1 \u0026 0 \u0026 7 \u0026 2 \u0026 -5 \\\\\n        0 \u0026 0 \u0026 1 \u0026 -5 \u0026 -2 \u0026 4 \\\\\n\\end{bmatrix}\n\\begin{bmatrix}\n        1 \u0026 0 \u0026 0 \u0026 -4 \u0026 -1 \u0026 3 \\\\\n        0 \u0026 1 \u0026 0 \u0026 7 \u0026 2 \u0026 -5 \\\\\n        0 \u0026 0 \u0026 1 \u0026 -5 \u0026 -2 \u0026 4 \\\\\n\\end{bmatrix}\n```\n\n### JavaScript\n```bash\nnpm install @toriyama/gyolets\n```\n```javascript\nimport Gyolets from \"@toriyama/gyolets\";\nconst mat = new Gyolets([\n\t[1, 2, 3],\n\t[4, 5, 6],\n\t[7, 8, 9]\n], {row: 3, column: 3});\nconst reducedMat = mat.reduction({\n\trapid: true,\n\tverbose: false\n});\nconsole.log(reducedMat.toString());\n```\n```console\n1\t0\t-1\n0\t1\t2\n0\t0\t0\n```\n\n## Docs\nFor more details, see [https://yuukitoriyama.github.io/gyolets/](https://yuukitoriyama.github.io/gyolets/)\n\n## License\nMIT License\n\n## Contribution\n不具合などあればご気軽にIssueから！  \nこんな機能がほしい！などのコメントもお待ちしています。\n\n## Author\nYUUKIToriyama","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuukitoriyama%2Fgyolets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuukitoriyama%2Fgyolets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuukitoriyama%2Fgyolets/lists"}