{"id":17038101,"url":"https://github.com/imciner2/chopblas","last_synced_at":"2026-02-24T21:33:28.586Z","repository":{"id":38796964,"uuid":"490769136","full_name":"imciner2/ChopBLAS","owner":"imciner2","description":"Basic linear algebra routines implemented using the chop rounding function","archived":false,"fork":false,"pushed_at":"2023-02-14T17:03:09.000Z","size":1779,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T10:23:15.862Z","etag":null,"topics":["arithmetic","bfloat16","half-precision","matlab","matrix","rounding","stochastic-rounding"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imciner2.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":"2022-05-10T16:03:27.000Z","updated_at":"2023-02-18T13:28:39.000Z","dependencies_parsed_at":"2024-11-29T15:33:34.656Z","dependency_job_id":"1f000f36-ec36-4c77-a929-44f9d56543d3","html_url":"https://github.com/imciner2/ChopBLAS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imciner2%2FChopBLAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imciner2%2FChopBLAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imciner2%2FChopBLAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imciner2%2FChopBLAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imciner2","download_url":"https://codeload.github.com/imciner2/ChopBLAS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251326849,"owners_count":21571636,"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":["arithmetic","bfloat16","half-precision","matlab","matrix","rounding","stochastic-rounding"],"created_at":"2024-10-14T08:55:58.146Z","updated_at":"2026-02-24T21:33:23.563Z","avatar_url":"https://github.com/imciner2.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChopBLAS - A Matlab library for mixed-precision and stochastically rounded linear algebra\n\n[![CI](https://github.com/imciner2/ChopBLAS/actions/workflows/ci.yml/badge.svg)](https://github.com/imciner2/ChopBLAS/actions/workflows/ci.yml)\n![License](https://img.shields.io/github/license/imciner2/ChopBLAS)\n\nChopBLAS is a MATLAB library that implements the functions contained inside the BLAS (Basic Linear Algebra Subsystem) specification\nwith each operation rounded using the [chop](https://github.com/higham/chop) MATLAB library.\nThis allows for the easy simulation of linear algebra operations/algorithms in low precision floating-point and with stochastic rounding.\n\n## BLAS Functions\n\n### Level 1\n\n| Function | Operation                                | Description                                                             |\n|----------|:-----------------------------------------|:------------------------------------------------------------------------|\n| chscal   | $x_{out} = \\alpha x$                     | Scale all entries of the vector $x$ by $\\alpha$                         |\n| chaxpy   | $x_{out} = \\alpha x + y$                 | Add the scaled vector $x$ to the vector $y$                             |\n| chdot    | $x_{out} = x'y$                          | Compute the dot product between $x$ and $y$                             |\n| chnrm2   | $x_{out} = \\lVert x \\rVert_{2}$          | Compute the 2-norm of the vector $x$                                    |\n| chasum   | $x_{out} = \\sum_{i} \\lvert x_{i} \\rvert$ | Compute the sum of the absolute value of the elements of the vector $x$ |\n\n### Level 2\n\n| Function | Operation                                                             | Description                                                           |\n|----------|:----------------------------------------------------------------------|:----------------------------------------------------------------------|\n| chgemv   | $x_{out} = \\alpha A x + \\beta y$ or $x_{out} = \\alpha A' x + \\beta y$ | Compute the matrix-vector product $Ax + y$                             |\n| chtrmv   | $x_{out} = A x$ or $x_{out} = A' x$                                   | Compute the matrix-vector product $Ax$ when $A$ is a triangular matrix      |\n| chtrsv   | Find $x$ in $A x = b$ or $A' x = b$                                   | Compute the solution to the triangular system of equations given by $A$ and $b$ when $A$ is a triangular matrix |\n| chger    | $X = \\alpha x y^{T} + A$                                              | Compute the rank-1 update of $A$ using the outer product between $x$ and $y$ |\n\n## License\n\nThis library is licensed under the BSD 2-Clause license, provided inside the `LICENSE` file in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimciner2%2Fchopblas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimciner2%2Fchopblas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimciner2%2Fchopblas/lists"}