Tom de Geus

Results 225 comments of Tom de Geus

That was part of the reason that I started on it, to learn the internals. At the same time, if you already have it, or allocated time for it, I...

@spectre-ns would you be willing to help with this contribution?

Honestly, I don't remember. Normally making this class should not be very hard as is subclasses classes that provide almost everything. I can look in the next two weeks, but...

I think it should be perfectly implementable. Note, however, that according to the documentation you link there is copying involved each time. So I guess that is is quite a...

A problem is that I think there is no way to trim away memory in `xtensor` : https://xtensor.readthedocs.io/en/latest/quickref/basic.html?highlight=resize#resize I actually forgot why that is. Do you remember @JohanMabille ?

@JohanMabille So that is what I don't get. If storage is contiguous, and data is stored as a `std::vector`, then shrinking should preserve data (and even pointers to it I...

That is indeed perfectly ok, but my question arose from the docs : I got the impression that *even in 1d* items are not guaranteed to be preserved, which I...

In that case sorry for reporting a know issue ;) Don't worry nothing urgent/important. Just reporting in order to help the project

I mean that it would be great if a CMake target be defined that contains the path where the header is installed. This way one can use CMake to configure,...