Function parpe::checkGradientForAnalyticalParameters

Function Documentation

void parpe::checkGradientForAnalyticalParameters(std::vector<double> const &gradient, std::vector<int> const &analyticalIndices, double threshold)

If sensitivities are computed w.r.t. analytically computed parameters (which is unnecessary), this function checks they are below the given threshold.

Parameters:
  • gradient

  • analyticalIndices

  • threshold