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

Function Documentation

template<class T>
void amici::addSlice(std::vector<T> const &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