Changeset 5918 in ntrip for trunk/BNC


Ignore:
Timestamp:
Aug 12, 2014, 5:14:03 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r5915 r5918  
    495495//
    496496////////////////////////////////////////////////////////////////////////////
     497double t_pppSatObs::maxRes(t_lc::type tLC) const {
     498
     499  ColumnVector res(4);
     500  res(1) = OPT->_maxResL1;
     501  res(2) = OPT->_maxResL1;
     502  res(3) = OPT->_maxResC1;
     503  res(4) = OPT->_maxResC1;
     504
     505  ColumnVector coeff(4);
     506  lc(tLC, res(1), res(2), res(3), res(4), &coeff);
     507
     508  ColumnVector sp = SP(res, coeff); // Schur product
     509
     510  return sp.norm_Frobenius();
     511}
     512
     513//
     514////////////////////////////////////////////////////////////////////////////
    497515void t_pppSatObs::setRes(t_lc::type tLC, double res) {
    498516  _res[tLC] = res;
Note: See TracChangeset for help on using the changeset viewer.