{"id":19463691,"url":"https://github.com/4s4v1n/matrix","last_synced_at":"2026-06-13T03:04:37.817Z","repository":{"id":143557756,"uuid":"481647191","full_name":"4s4v1n/Matrix","owner":"4s4v1n","description":"Implementation of matrices in C++ with standart operations. ","archived":false,"fork":false,"pushed_at":"2022-09-02T19:19:16.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T13:29:17.856Z","etag":null,"topics":["cpp","matrix","oop"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4s4v1n.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}},"created_at":"2022-04-14T15:02:44.000Z","updated_at":"2022-09-02T19:18:21.000Z","dependencies_parsed_at":"2023-10-21T16:21:34.466Z","dependency_job_id":null,"html_url":"https://github.com/4s4v1n/Matrix","commit_stats":null,"previous_names":["4s4v1n/matrix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/4s4v1n/Matrix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FMatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FMatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FMatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FMatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4s4v1n","download_url":"https://codeload.github.com/4s4v1n/Matrix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FMatrix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cpp","matrix","oop"],"created_at":"2024-11-10T18:11:51.303Z","updated_at":"2026-06-13T03:04:37.804Z","avatar_url":"https://github.com/4s4v1n.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matrix \n\n![matix](./images/matrix.png)\n\n## This project presents the implementation of matrices in the form of a class, and operations on matrices in the form of objects of this class\n\nThe concept of a matrix is implemented using the `Matrix` class\n\nThis class contains fields `_matrix` - data, `_rows` - rows, `_cols` - columns\n\n## All operations are implemented as public methods\n\n 1) `bool eq_matrix(const Matrix\u0026 other)` - matrix comparison\n 2) `void sum_matrix(const Matrix\u0026 other)` - addition of the current matrix to another\n 3) `void sub_matrix(const Matrix\u0026 other)` - difference of the current matrix with another\n 4) `void mul_number(const double num)` - multiplication of a matrix by a number\n 5) `void mul_matrix(const Matrix\u0026 other)` - multiplying a matrix by another matrix\n 6) `Matrix transpose()` - calculating the transposed matrix from the current one\n 7) `Matrix calc_complements()` - calculation of the matrix of algebraic additions from the current one\n 8) `double determinant()` - determinant calculation\n 9) `Matrix inverse_matrix()` - calculation of the inverse matrix for the current\n\n## Additionally, for simplified use of methods - operator overloading is implemented\n\n 1) `Matrix operator+(const Matrix\u0026 other)` - sum of two matrices (A * B)\n 2) `Matrix operator-(const Matrix\u0026 other)` - difference of two matrices (A - B) \n 3) `Matrix operator*(const Matrix\u0026 other)` - product of two matrices (A * B)\n 4) `Matrix operator*(const double num)` - product of a matrix and a number (A * x)\n 5) `bool operator==(const Matrix\u0026 other)` - equality of two matrices (A == B)\n 6) `void operator=(const Matrix\u0026 other)` - assigning values from one matrix to another (A = B)\n 7) `void operator+=(const Matrix\u0026 other)` - addition of one matrix to another (A += B)\n 8) `void operator-=(const Matrix\u0026 other)` - subtracting one matrix from another (A -= B)\n 9) `void operator*=(const Matrix\u0026 other)` - multiplying a matrix by another matrix (A*= B)\n 10) `void operator*=(const double num)` - multiplication of a matrix by a number (A*= x)\n 11) `double\u0026 operator()(const int i, const int j)` - getting a reference to a matrix element by index A(i, j)\n\n\nThe library is built using makefile with g++ version 9.4.0, on Linux. Unit tests are written in gtest.All source materials and makefile are in the src folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4s4v1n%2Fmatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4s4v1n%2Fmatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4s4v1n%2Fmatrix/lists"}