xtensor icon indicating copy to clipboard operation
xtensor copied to clipboard

Better documention of xview::data()

Open tsoj opened this issue 2 years ago • 1 comments

The current documentation is "auto data() -> ... Return the pointer to the underlying buffer." For people using this library for the first time it may be easy to misunderstand this as that the first element in the buffer equals the first element of the view.

tsoj avatar Oct 02 '23 13:10 tsoj

Hi! It would be great if you would be willing to open a PR!

tdegeus avatar Oct 10 '23 13:10 tdegeus