IMP Reference Guide
2.22.0
The Integrative Modeling Platform
|
A class to store a fixed array of same-typed values. More...
#include <IMP/Array.h>
A class to store a fixed array of same-typed values.
Only the constructor with the correct number of arguments for the dimensionality can be used.
Elements can be accessed using [] notation or std::get. The latter is more efficient when the index is a constant, since the bounds check can be done at compile time rather than runtime, e.g. x = std::get<0>(array) is more efficient than x = array[0].
Public Types | |
typedef Storage::const_iterator | const_iterator |
typedef Storage::iterator | iterator |