34 Indices(
int size) { ind.resize(size); }
35 Indices(std::vector<int> ind_) : ind(std::move(ind_)) {
38 Indices(std::initializer_list<int> il) : ind(il) {
41 int size()
const {
return ind.size(); }
45 for(
size_t i=1; i<ind.size(); i++) {
54 for(
size_t i=1; i<ind.size(); i++) {
64 void set(
int i,
int ind_) {
68 const int& operator[](
int i)
const {
return ind[i]; }
Namespace fmatvec.
Definition: _memory.cc:28