{"id":19266984,"url":"https://github.com/mljs/matrix-convolution","last_synced_at":"2025-10-15T05:41:25.211Z","repository":{"id":9918206,"uuid":"63046434","full_name":"mljs/matrix-convolution","owner":"mljs","description":"Matrix convolution.","archived":false,"fork":false,"pushed_at":"2022-03-04T07:38:03.000Z","size":1225,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-12T16:12:52.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mljs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-07-11T07:26:18.000Z","updated_at":"2024-12-12T22:09:11.000Z","dependencies_parsed_at":"2022-08-07T05:15:16.043Z","dependency_job_id":null,"html_url":"https://github.com/mljs/matrix-convolution","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fmatrix-convolution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fmatrix-convolution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fmatrix-convolution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fmatrix-convolution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mljs","download_url":"https://codeload.github.com/mljs/matrix-convolution/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250120056,"owners_count":21378130,"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":[],"created_at":"2024-11-09T20:08:51.986Z","updated_at":"2025-10-15T05:41:19.989Z","avatar_url":"https://github.com/mljs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ml-matrix-convolution\n\n[![NPM version][npm-image]][npm-url]\n[![build status][ci-image]][ci-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![npm download][download-image]][download-url]\n\nMatrix convolution.\n\n## Installation\n\n```console\nnpm i ml-matrix-convolution\n```\n\n```js\nconst MatrixConvolution = require('ml-matrix-convolution');\n\nlet matrix = [\n  [1, 1, 1, 1, 1],\n  [1, 1, 1, 1, 1],\n  [1, 1, 1, 1, 1],\n  [1, 1, 1, 1, 1],\n  [1, 1, 1, 1, 1],\n];\n\nlet kernel = [\n  [1, 1, 1],\n  [1, 1, 1],\n  [1, 1, 1],\n];\n\nlet conv1 = MatrixConvolution.direct(matrix, kernel);\n\nlet conv2 = MatrixConvolution.fft(matrix, kerne11);\n\nconsole.log({ conv1, conv2 }); // both should be equal\n```\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-matrix-convolution.svg\n[npm-url]: https://npmjs.org/package/ml-matrix-convolution\n[codecov-image]: https://img.shields.io/codecov/c/github/mljs/matrix-convolution.svg\n[codecov-url]: https://codecov.io/gh/mljs/matrix-convolution\n[ci-image]: https://github.com/mljs/matrix-convolution/workflows/Node.js%20CI/badge.svg?branch=master\n[ci-url]: https://github.com/mljs/matrix-convolution/actions?query=workflow%3A%22Node.js+CI%22\n[download-image]: https://img.shields.io/npm/dm/ml-matrix-convolution.svg\n[download-url]: https://npmjs.org/package/ml-matrix-convolution\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fmatrix-convolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmljs%2Fmatrix-convolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fmatrix-convolution/lists"}