xtensor
xtensor copied to clipboard
missing documentation for indexed access?
Possibly I missed it, but I have been looking for documentation on how to access a single element of an xtensor. I found xt::indexed_view(x, {{1,2}}) but it was only in some examples I found that x(1,2) works as well.
Try x[{1,2}]