Function update_iterator

Function Documentation

int update_iterator(std::vector<int> &nextPos, std::vector<int> &jumpFrom, int &jump, const int &cutoff, const int &dim)

Updates the iterators needed for the calculation of the Hermite multidimensional functions

index necessary for knowing which elements are needed from the input vector y and matrix R

Parameters
  • nextPos: a vector of integers

  • jumpFrom: a vector of integers

  • jump: integer specifying whether to jump to the next index

  • cutoff: integer specifying the cuotff dimension of the R matrix