{"id":22248291,"url":"https://github.com/beliumgl/matrixcpp","last_synced_at":"2025-10-05T10:17:00.859Z","repository":{"id":265866637,"uuid":"896767938","full_name":"beliumgl/matrixcpp","owner":"beliumgl","description":"MatrixCPP is a simple C++11 project for performing basic matrix operations such as addition, subtraction, and multiplication.","archived":false,"fork":false,"pushed_at":"2024-12-10T09:37:25.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T10:43:08.438Z","etag":null,"topics":["cmake","cpp","cpp11","cpp11-library","matrix","matrix-calculations","matrix-library","matrix-multiplication"],"latest_commit_sha":null,"homepage":"","language":"C++","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/beliumgl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T08:54:47.000Z","updated_at":"2024-12-10T09:37:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"8808ec49-5c77-4c91-96f8-fbf744d24b15","html_url":"https://github.com/beliumgl/matrixcpp","commit_stats":null,"previous_names":["beliumgl/matrixcpp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beliumgl%2Fmatrixcpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beliumgl%2Fmatrixcpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beliumgl%2Fmatrixcpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beliumgl%2Fmatrixcpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beliumgl","download_url":"https://codeload.github.com/beliumgl/matrixcpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458111,"owners_count":20618693,"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":["cmake","cpp","cpp11","cpp11-library","matrix","matrix-calculations","matrix-library","matrix-multiplication"],"created_at":"2024-12-03T06:14:55.827Z","updated_at":"2025-10-05T10:17:00.854Z","avatar_url":"https://github.com/beliumgl.png","language":"C++","readme":"# MatrixCPP\n\n![Stars](https://img.shields.io/github/stars/beliumgl/sudokusolver?style=social)\n![Forks](https://img.shields.io/github/forks/beliumgl/sudokusolver?style=social)\n\nMatrixCPP is a simple C++11 project for performing basic matrix operations such as addition, subtraction, and multiplication.\n\n# Requirements\n\n- C++11 or later\n- Git (optional, for cloning the repository)\n\n## Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/beliumgl/matrixcpp.git\n   cd matrixcpp\n2. **Create a build directory**:\n   ```bash\n   mkdir build\n   cd build\n3. **Run CMake to configure the project and build it to static library**:\n   ```bash\n   cmake ..\n   cmake --build .\n\n# Usage\n```cpp\n#include \"matrixcpp.hpp\"\n#include \u003ciostream\u003e\n\nint main() {\n    try {\n        Matrix\u003cint\u003e m1({{1, 2}, {3, 4}});\n        Matrix\u003cint\u003e m2({{5, 6}, {7, 8}});\n        \n        Matrix\u003cint\u003e result = m1 + m2;\n\n        for (const auto\u0026 row : result.content) {\n            for (int value : row) {\n                std::cout \u003c\u003c value \u003c\u003c \" \";\n            }\n            std::cout \u003c\u003c std::endl;\n        }\n    } catch (const std::invalid_argument\u0026 e) {\n        std::cerr \u003c\u003c \"Error: \" \u003c\u003c e.what() \u003c\u003c std::endl;\n    }\n\n    return 0;\n}\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeliumgl%2Fmatrixcpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeliumgl%2Fmatrixcpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeliumgl%2Fmatrixcpp/lists"}