ublas icon indicating copy to clipboard operation
ublas copied to clipboard

Boost.uBlas

Results 61 ublas issues
Sort by recently updated
recently updated
newest added

Intrmediate pull request

Pull request for work done during GSoC21, Implementation of subtensor as tensors with subtensor_engine. Behave like tensors in expressions and obey all operators. Future Work - [ ] Subtensor iterator...

Dear everyone, I hope you are doing well. I stumbled across an oddity using ublas::vector which I am not able to explain. Any information as to why this happens and...

bug
question

The strides giving wrong strides for static extents, which is not consistent with the other extents types. ```cpp namespace ublas = boost::numeric::ublas; using e_t = ublas::extents; auto s = to_strides_v;...

bug

This exception is raised because the static rank extents for result type are not filled with one but instead default initialized to zero, making the extents invalid. ```cpp auto A...

bug

As of now, the rank one tensor does not allow to be transposed. ```cpp auto const n = extents{3}; auto a = tensor_dynamic{n, 1.f}; auto c = tensor_dynamic{n}; std::vector pi{3};...

enhancement

The static tensor does not check for out of range error, which makes the read and writes of invalid memory or segmentation fault easier. ```cpp auto t = tensor_static{4.f}; t.at(1,2,3)...

enhancement

Right now, the static tensor gets confused about which strides type it should use for rank one extents because of the ambiguity between the `extents_static_rank` and `extents_static`. This ambiguity occurs...

bug

The configuration [file](https://github.com/boostorg/ublas/blob/develop/.clang-tidy) excludes clang-tidy checks ```bash google-readability-braces-around-statements google-explicit-constructor hicpp-vararg cppcoreguidelines-pro-type-vararg ``` We should include them. - `google-readability-braces-around-statements` requires simple refactoring - `google-explicit-constructor` needs significant rework also in the test...

enhancement

Lambda function https://github.com/boostorg/ublas/blob/32795e124ba66192f4ee3a4aaea0b76ae38a340a/include/boost/numeric/ublas/tensor/functions.hpp#L359 performs a wrong computation of the resulting static shape invoked in line https://github.com/boostorg/ublas/blob/32795e124ba66192f4ee3a4aaea0b76ae38a340a/examples/tensor/multiply_tensors_product_function.cpp#L312

bug