IMP Reference Guide
develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
|
Store an array of values of the same type. More...
#include <IMP/ConstVector.h>
Store an array of values of the same type.
Items must be comparable and hashable and the arrays cannot be changed after creation.
Definition at line 27 of file ConstVector.h.
Public Member Functions | |
ConstVector (unsigned int sz, Data fill) | |
template<class It > | |
ConstVector (It b, It e) | |
template<class Vector > | |
ConstVector (const Vector &i) | |
Data | operator[] (unsigned int i) const |
void | show (std::ostream &out=std::cout) const |
unsigned int | size () const |