/**
* Help function for unroll.
*/
- void unroll_recursion(Vector<double> &result,
- const unsigned int &start_index) const;
+ void unroll_recursion(Vector<double> &result,
+ unsigned int &start_index) const;
// make the following class a
// friend to this class. in principle,
* case, even if it should be
* public for your compiler.
*/
- void unroll_recursion (Vector<double> &result,
- const unsigned int &start_index) const;
+ void unroll_recursion (Vector<double> &result,
+ unsigned int &start_index) const;
private:
/**
template <int rank_, int dim>
void
-Tensor<rank_, dim>::unroll_recursion (Vector<double> &result,
- const unsigned int &index) const
+Tensor<rank_, dim>::unroll_recursion (Vector<double> &result,
+ unsigned int &index) const
{
for (unsigned i=0; i<dim; ++i)
{
template<int dim>
void
-Tensor<1,dim>::unroll_recursion (Vector<double> &result,
- const unsigned int &index) const
+Tensor<1,dim>::unroll_recursion (Vector<double> &result,
+ unsigned int &index) const
{
for (unsigned i=0; i<dim; ++i)
result(index++) = operator[](i);