Template Function amici::addSlice(const std::vector<T>&, gsl::span<T>)

Function Documentation

template<class T>
void amici::addSlice(const std::vector<T> &s, gsl::span<T> b)

local helper function to add the computed slice to provided buffer (vector/span)

Parameters
  • s – computed value

  • b – buffer to which values are to be written