{"id":25461634,"url":"https://github.com/zonel/matrix2dlib","last_synced_at":"2026-05-06T08:31:38.700Z","repository":{"id":167873601,"uuid":"619131063","full_name":"zonel/Matrix2DLib","owner":"zonel","description":"🧮 class that allows you to define and implement the functionality of a 2D matrices. It provides a convenient and efficient way to work with matrices, supporting various operations and calculations.","archived":false,"fork":false,"pushed_at":"2023-05-21T11:22:19.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T12:07:41.033Z","etag":null,"topics":["csharp","dotnet","matrix"],"latest_commit_sha":null,"homepage":"","language":"C#","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/zonel.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-26T11:13:50.000Z","updated_at":"2023-05-21T11:25:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"c906237c-bd18-4e17-a472-cd0dc7b28219","html_url":"https://github.com/zonel/Matrix2DLib","commit_stats":null,"previous_names":["zoneel/matrix2dlib","zonel/matrix2dlib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zonel/Matrix2DLib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonel%2FMatrix2DLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonel%2FMatrix2DLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonel%2FMatrix2DLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonel%2FMatrix2DLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonel","download_url":"https://codeload.github.com/zonel/Matrix2DLib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonel%2FMatrix2DLib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32684598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csharp","dotnet","matrix"],"created_at":"2025-02-18T05:31:12.208Z","updated_at":"2026-05-06T08:31:38.683Z","avatar_url":"https://github.com/zonel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matrix2D\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n\n**Matrix2D is a class that allows you to define and implement the functionality of a 2D matrices. This class provides a convenient and efficient way to work with matrices, supporting various operations and calculations.**\n\n## Features\n\n- Define and manipulate 2D arrays easily with the Matrix2D class.\n- Implements overloads for `ToString()`, `IEquatable\u003cMatrix2D\u003e`, and all arithmetic operators such as `+`, `-`, and `*`.\n- Custom functions like `Determinant(A)` and `Det()` are provided to calculate the determinant of the matrix.\n\n## Installation\n\nYou can simply clone the repository or download the source code and include it in your project.\n\n```bash\ngit clone https://github.com/zoneel/Matrix2D.git\n```\n\n## Usage\n\nFirst, include the Matrix2D class in your project:\n\n```csharp\nusing Matrix2D;\n```\n\nTo create a new matrix, initialize an instance of the Matrix2D class:\n\n```csharp\nMatrix2D matrix = new Matrix2D(a,b,c,d);\n```\n\nPerform operations on the matrix using the available methods and operators:\n\n```csharp\nMatrix2D matrixA = new Matrix2D(1,2,3,4);\nMatrix2D matrixB = new Matrix2D(5,6,7,8);\nMatrix2D result = matrixA + matrixB;\n```\n\nYou can also use the provided custom functions to calculate the determinant:\n\n```csharp\nMatrix2D matrix = new Matrix2D(7,2,4,5);\ndouble determinant = matrix.Determinant();\n```\n\n## Examples\n\nHere are a few examples to illustrate the usage of the Matrix2D class:\n\n```csharp\nMatrix2D matrixA = new Matrix2D(1,2,3,4);\nmatrixA.A = 1;\nmatrixA.B = 2;\nmatrixA.C = 3;\nmatrixA.D = 4;\n\nMatrix2D matrixB = new Matrix2D(1,2,3,4);\nmatrixA.A = 1;\nmatrixA.B = 2;\nmatrixA.C = 3;\nmatrixA.D = 4;\n\nMatrix2D result = matrixA + matrixB;\n\nConsole.WriteLine(result.ToString());\n```\n\nOutput:\n\n```\n[[1, 2], [3, 4]]\n```\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n**Note:** **This project is for educational purposes and may not be suitable for production environments.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonel%2Fmatrix2dlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonel%2Fmatrix2dlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonel%2Fmatrix2dlib/lists"}