xtensor-stack / xtensor

C++ tensors with broadcasting and lazy computing
BSD 3-Clause "New" or "Revised" License
3.33k stars 398 forks source link

functions on xtensor_fixed enhancements #891

Closed wolfv closed 6 years ago

wolfv commented 6 years ago

We have the cool xtensor fixed -- now it's time to do some flashy things with it :)

The cool thing for most of these will be that we can allocate the required memory statically.

Some things we could do:

wolfv commented 6 years ago

We should also propagate the xtensor_fixed shape in xfunction, so that xt::eval(xf1 + xf2) results in a xtensorf of the correct shape.

This might involve metaprogramming to determine broadcastability at compile time, as well as the resulting shape.

wolfv commented 6 years ago

gonna close this with the merge of #922 and open another issue for the view things