2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-01-28 07:42:14 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Cem Bassoy
231ba5f730 refactor(core): simplify and eliminate auxiliary tensor types (#115)
Auxiliary functions for extents and strides were using different
functions. Additionally, many tags were used to distinguish between
different tensor types. This patch simplifies interfaces of different
core functions and unifies functions that can process different types of
extent and stride types.
2021-09-09 11:34:14 +02:00
amitsingh19975
8938db5ce5 Decoupling the tensor into three tensor different tensor types (#81)
* decomposing tensor class into seperate modules according to the extents type

* stabilizing and updating test. Adding support for the operations b/w different types of tensor

* updating examples

* changing tabs to spaces

* added constexpr, removed resize from tensor and changed the array_type to container_type

* changing tag names and refactoring code

* adding and updating examples

* adding new line at the end of file

* refactoring code, fixing bugs and adding few new examples

* refactoring examples

* fixing gcc-7 issue where it is unable to use deduction guide when initilized

* adding constexpr and inline

* adding noexcept

* adding is_static_rank_v

* removing extents.hpp and decoupling test_extents and test_strides

* refactoring code and adding constexpr with [[nodiscard]] to the functions

* refactoring code.

* adding missing iterator header

* changing helper function name
2020-05-03 16:14:22 +02:00
Cem Bassoy
1e71db9cda tensor gsoc 2018. last changes for merge. 2019-02-25 17:05:02 +01:00
Cem Bassoy
6a731af7de tensor gsoc 2018. einstein notation added. 2019-02-18 22:45:38 +01:00