typedef typename Types<N,T,C>::iterator iterator;
typedef typename Types<N,T,C>::const_iterator const_iterator;
-
private:
/**
* Constructor. Take a pointer to the table object to know about the
ExcIndexRange (i, 0, this->table_size[0]));
Assert (j < this->table_size[1],
ExcIndexRange (j, 0, this->table_size[1]));
- return this->values[i*this->table_size[1]+j];
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(i)*this->table_size[1]+j];
}
ExcIndexRange (i, 0, this->table_size[0]));
Assert (j < this->table_size[1],
ExcIndexRange (j, 0, this->table_size[1]));
- return this->values[i*this->table_size[1]+j];
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(i)*this->table_size[1]+j];
}
Table<2,T>::el (const unsigned int i,
const unsigned int j) const
{
- return this->values[i*this->table_size[1]+j];
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(i)*this->table_size[1]+j];
}
Table<2,T>::el (const unsigned int i,
const unsigned int j)
{
- return this->values[i*this->table_size[1]+j];
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(i)*this->table_size[1]+j];
}
ExcIndexRange (i, 0, this->table_size[1]));
Assert (j < this->table_size[0],
ExcIndexRange (j, 0, this->table_size[0]));
- return this->values[j*this->table_size[1]+i];
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(j)*this->table_size[1]+i];
}
ExcIndexRange (i, 0, this->table_size[1]));
Assert (j < this->table_size[0],
ExcIndexRange (j, 0, this->table_size[0]));
- return this->values[j*this->table_size[1]+i];
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(j)*this->table_size[1]+i];
}
TransposeTable<T>::el (const unsigned int i,
const unsigned int j) const
{
- return this->values[j*this->table_size[1]+i];
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(j)*this->table_size[1]+i];
}
TransposeTable<T>::el (const unsigned int i,
const unsigned int j)
{
- return this->values[j*this->table_size[1]+i];
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[size_type(j)*this->table_size[1]+i];
}
ExcIndexRange (j, 0, this->table_size[1]));
Assert (k < this->table_size[2],
ExcIndexRange (k, 0, this->table_size[2]));
- return this->values[(i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[(size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k];
}
ExcIndexRange (j, 0, this->table_size[1]));
Assert (k < this->table_size[2],
ExcIndexRange (k, 0, this->table_size[2]));
- return this->values[(i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[(size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k];
}
ExcIndexRange (k, 0, this->table_size[2]));
Assert (l < this->table_size[3],
ExcIndexRange (l, 0, this->table_size[3]));
- return this->values[((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l];
}
ExcIndexRange (k, 0, this->table_size[2]));
Assert (l < this->table_size[3],
ExcIndexRange (l, 0, this->table_size[3]));
- return this->values[((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l];
}
ExcIndexRange (l, 0, this->table_size[3]));
Assert (m < this->table_size[4],
ExcIndexRange (m, 0, this->table_size[4]));
- return this->values[(((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[(((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l)
*this->table_size[4] + m];
ExcIndexRange (l, 0, this->table_size[3]));
Assert (m < this->table_size[4],
ExcIndexRange (m, 0, this->table_size[4]));
- return this->values[(((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[(((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l)
*this->table_size[4] + m];
ExcIndexRange (m, 0, this->table_size[4]));
Assert (n < this->table_size[5],
ExcIndexRange (n, 0, this->table_size[5]));
- return this->values[((((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[((((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l)
*this->table_size[4] + m)
ExcIndexRange (m, 0, this->table_size[4]));
Assert (n < this->table_size[5],
ExcIndexRange (n, 0, this->table_size[5]));
- return this->values[((((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[((((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l)
*this->table_size[4] + m)
ExcIndexRange (n, 0, this->table_size[5]));
Assert (o < this->table_size[6],
ExcIndexRange (o, 0, this->table_size[6]));
- return this->values[(((((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[(((((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l)
*this->table_size[4] + m)
ExcIndexRange (n, 0, this->table_size[5]));
Assert (o < this->table_size[5],
ExcIndexRange (o, 0, this->table_size[6]));
- return this->values[(((((i*this->table_size[1]+j)
+
+ typedef typename AlignedVector<T>::size_type size_type;
+ return this->values[(((((size_type(i)*this->table_size[1]+j)
*this->table_size[2] + k)
*this->table_size[3] + l)
*this->table_size[4] + m)