Example #1
0
void CrossHypotheses::ResetRelevantResiduals() {
  ResetModPredictions();
  // basic residuals are obviously predicted - normalized under each hypothesis
  for (unsigned int i_hyp=0; i_hyp<mod_predictions.size(); i_hyp++) {
    for (unsigned int t_flow=0; t_flow<test_flow.size(); t_flow++) {
      int j_flow = test_flow[t_flow];
      residuals[i_hyp][j_flow] = mod_predictions[i_hyp][j_flow]-normalized[i_hyp][j_flow];
    }
  }
}
Example #2
0
void CrossHypotheses::ResetRelevantResiduals() {
  ResetModPredictions();
  ComputeResiduals();
}