{"id":13453515,"url":"https://github.com/boostorg/ublas","last_synced_at":"2025-04-09T07:03:56.834Z","repository":{"id":6832279,"uuid":"8080609","full_name":"boostorg/ublas","owner":"boostorg","description":"Boost.uBlas","archived":false,"fork":false,"pushed_at":"2025-03-15T16:57:49.000Z","size":49133,"stargazers_count":114,"open_issues_count":60,"forks_count":151,"subscribers_count":14,"default_branch":"develop","last_synced_at":"2025-04-02T05:56:16.289Z","etag":null,"topics":["boost","linear-algebra","matrix","tensor","ublas","vector"],"latest_commit_sha":null,"homepage":"https://www.boost.org/doc/libs/release/libs/numeric/ublas","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/boostorg.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","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":"2013-02-07T20:04:10.000Z","updated_at":"2025-02-12T09:52:03.000Z","dependencies_parsed_at":"2024-01-18T17:43:22.205Z","dependency_job_id":"6ccc033e-8e6d-448d-b998-b12cbde314d0","html_url":"https://github.com/boostorg/ublas","commit_stats":null,"previous_names":[],"tags_count":110,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fublas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fublas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fublas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fublas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boostorg","download_url":"https://codeload.github.com/boostorg/ublas/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247994120,"owners_count":21030050,"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":["boost","linear-algebra","matrix","tensor","ublas","vector"],"created_at":"2024-07-31T08:00:41.888Z","updated_at":"2025-04-09T07:03:56.813Z","avatar_url":"https://github.com/boostorg.png","language":"C++","readme":"Boost Linear and Multilinear Algebra Library \n=====\n\n[![Language](https://img.shields.io/badge/C%2B%2B-20-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization)\n[![License](https://img.shields.io/badge/license-BSL-blue.svg)](https://opensource.org/licenses/BSL-1.0)\n[![Documentation](https://img.shields.io/badge/ublas-documentation-blue.svg)](https://www.boost.org/doc/libs/1_69_0/libs/numeric/ublas/doc/index.html)\n[![Wiki](https://img.shields.io/badge/ublas-wiki-blue.svg)](https://github.com/boostorg/ublas/wiki)\n[![Mailing List](https://img.shields.io/badge/ublas-mailing%20list-4eb899.svg)](https://lists.boost.org/mailman/listinfo.cgi/ublas)\n[![Discussions](https://img.shields.io/badge/ublas-discussions-blue)](https://github.com/boostorg/ublas/discussions)\n[![Gitter](https://img.shields.io/badge/ublas-chat%20on%20gitter-4eb899.svg)](https://gitter.im/boostorg/ublas)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](https://github.com/boostorg/ublas/wiki/Code-of-Conduct)\n\n[![Windows](https://github.com/boostorg/ublas/actions/workflows/windows.yml/badge.svg)](https://github.com/boostorg/ublas/actions/workflows/windows.yml)\n[![Linux](https://github.com/boostorg/ublas/actions/workflows/linux.yml/badge.svg)](https://github.com/boostorg/ublas/actions/workflows/linux.yml)\n[![Apple MacOS](https://github.com/boostorg/ublas/actions/workflows/apple.yml/badge.svg)](https://github.com/boostorg/ublas/actions/workflows/apple.yml)\n[![Clang Sanitizer](https://github.com/boostorg/ublas/actions/workflows/sanitizer.yml/badge.svg)](https://github.com/boostorg/ublas/actions/workflows/sanitizer.yml)\n[![Clang Tidy](https://github.com/boostorg/ublas/actions/workflows/clangtidy.yml/badge.svg)](https://github.com/boostorg/ublas/actions/workflows/clangtidy.yml)\n[![Codecov](https://codecov.io/gh/boostorg/ublas/branch/master/graph/badge.svg)](https://codecov.io/gh/boostorg/ublas/branch/master) \n\nBoost.uBlas is a header-only library and part of the [Boost C++ libraries](http://github.com/boostorg).\nIt provides a set of basic linear and multilinear algebra operations with tensors, matrices and vectors.\nuBLAS is documented at [boost.org](https://www.boost.org/doc/libs/1_69_0/libs/numeric/ublas/doc/index.html) or in [docs](https://github.com/BoostGSoC21/ublas/blob/develop/doc/ublas.adoc).\nSimple examples of the tensor extension is provided by the [wiki page](https://github.com/boostorg/ublas/wiki/Tensor).\n\n## Simple Example\n\n```cpp\n#include \u003cboost/numeric/ublas/tensor.hpp\u003e \n#include \u003ciostream\u003e\n\nint main()\n{\n  using namespace boost::numeric::ublas::index;\n  using tensor  = boost::numeric::ublas::tensor_dynamic\u003cfloat\u003e;\n  auto ones     = boost::numeric::ublas::ones\u003cfloat\u003e{};\n\n  tensor A = ones(3,4,5);\n  tensor B = ones(4,6,3,2);\n\n  tensor C = 2*ones(5,6,2) + A(_i,_j,_k)*B(_j,_l,_i,_m) + 5;\n  \n  // Matlab Compatible Formatted Output\n  std::cout \u003c\u003c \"C=\" \u003c\u003c C \u003c\u003c \";\" \u003c\u003c std::endl;\n}\n```\n\n## Requirements\n* Boost.uBlas requires a C++20 compatible compiler\n  * gcc version \u003e= 10.x.x\n  * clang version \u003e= 10.x.x \n  * msvc version \u003e= 14.28\n* Unit-tests require Boost.Test\n\n## Discussions and Questions\n* Be sure to have read our [code of conduct](https://github.com/boostorg/ublas/wiki/Code-of-Conduct) and Boost's [discussion policy](http://www.boost.org/community/policy.html)\n* Contributors and maintainers mainly use [Discussions](https://github.com/boostorg/ublas/discussions) (previously [Gitter](https://gitter.im/boostorg/ublas)) to discuss library design or governance topics. \n* Users of the library can choose between the following platforms preferably [Gitter](https://gitter.im/boostorg/ublas), the [Boost developers mailing list](https://lists.boost.org/mailman/listinfo.cgi/ublas) using the `[ublas]` tag at the beginning of the subject line or [Stackoverflow](http://stackoverflow.com/questions/ask?tags=c%2B%2B,boost,boost-ublas) using `boost-ublas` or `ublas` tags\n* Contact the maintainers [Cem](https://gitter.im/bassoy), [David](https://gitter.im/yimyom) or [Stefan](https://gitter.im/stefanseefeld) if you have suggestions\n\n## Contribution\n* Be sure that you have read our [contribution guidelines](https://github.com/boostorg/ublas/wiki/Guidelines-for-Contribution) and our [code of conduct](https://github.com/boostorg/ublas/wiki/Code-of-Conduct) \n* If you want to report a bug, create an [issue](https://github.com/boostorg/ublas/issues) \n* If you want to submit a patch, create pull request against **develop** branch.\n\n## Directories\n\n| Name         | Purpose                 |\n| ------------ | ----------------------- |\n| `doc`        | documentation           |\n| `examples`   | example files           |\n| `include`    | headers                 |\n| `test`       | unit tests              |\n| `benchmarks` | timing and benchmarking |\n","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Fublas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboostorg%2Fublas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Fublas/lists"}