Comments (1)
A new access method looks better to me. I think users would prefer to type:
auto v = my_array.element(my_index.begin(), my_index.end());
rather than
auto v = my_array[std::make_pair(my_index.begin(), my_index.end())];
at
is not a good name for this, since it is usually used for checked access, element
sounds good.
from xtensor.
Related Issues (20)
- Buggy behaviour of non-contiguous xadaptor and scalar assignment
- saturation arithmetic?
- Tensor View Operations Slower Than Manual Looping
- How can I compile xtensor with gcc-7.5 HOT 5
- Avoiding template explosion on views HOT 4
- Performance issue possibly related to returning C-style adaptor from function HOT 1
- Non-conformant testing of template-template-args c++ standard feature HOT 1
- transpose slower than numpy
- xt::variance crashes HOT 2
- Unexpected value of `xt::get_rank<xt::xtensor_adaptor>`.
- Support for iterating over elements of a specified axis. HOT 2
- Can't check equality of shapes of xtensor_fixed and xscalar
- Output of example in ReadMe file is not matching with the current master HOT 2
- Support of dumping 1D expressions
- *** stack smashing detected ***: terminated
- xtensor::optimize breaks compilation on ARM macOS HOT 2
- Example code from the page "Extending xtensor" gives "incomplete type"? HOT 1
- [CI] GCC 11 Failing on Master HOT 1
- [Question] How can I convert an xtensor xarray into std::vector HOT 8
- Divergence in default rounding of `xt::round()` from `np.round()` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xtensor.