Changeset 8915 in ntrip for trunk/BNC/src/PPP/pppFilter.h
- Timestamp:
- Apr 9, 2020, 10:31:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.h
r8912 r8915 75 75 }; 76 76 77 class t_datumTrafo{ 78 public: 79 t_datumTrafo () {initIndices();} 80 void initIndices() {_firstRow = 1; _lastRow = 0;} 81 void setFirstSystem(bool firstSys) {_firstSys = firstSys;} 82 bool firstSystem() {return _firstSys;} 83 void updateIndices(int maxObs) { 84 if (_firstSys) { 85 initIndices(); 86 } 87 else { 88 _firstRow += maxObs; 89 } 90 _lastRow += maxObs; 91 }; 92 void initAA(int maxObs, int numPar) { 93 _AA1.ReSize(maxObs, numPar); _AA1 = 0.0; 94 _AA2.ReSize(maxObs, numPar); _AA2 = 0.0; 95 } 96 void prepareAA(Matrix& AA, int _numEpoProcessing, int nPar) { 97 Matrix& Prep = _AA2; 98 if (_numEpoProcessing == 1) { 99 Prep = _AA1; 100 } 101 Prep.SubMatrix(_firstRow, _lastRow, 1, nPar) = AA; 102 } 103 Matrix varCov(const SymmetricMatrix& QFlt) { 104 Matrix D21 = (_AA2.t() * _AA2).i() * _AA2.t() * _AA1; 105 return D21 * QFlt * D21.t(); 106 } 107 int _firstRow; 108 int _lastRow; 109 Matrix _AA1; 110 Matrix _AA2; 111 bool _firstSys; 112 }; 113 77 114 t_irc processSystem(const std::vector<t_lc::type>& LCs, 78 115 const std::vector<t_pppSatObs*>& obsVector, … … 93 130 void predictCovCrdPart(const SymmetricMatrix& QFltOld); 94 131 95 void initDatumTransformation(int numOfAllUsedLCs);96 97 132 bncTime _epoTime; 98 133 t_pppParlist* _parlist; 99 134 t_pppObsPool* _obsPool; 135 t_datumTrafo* _datumTrafo; 100 136 SymmetricMatrix _QFlt; 101 Matrix _AA1;102 Matrix _AA2;103 137 ColumnVector _xFlt; 104 138 ColumnVector _x0; 105 139 t_slip _slips[t_prn::MAXPRN+1]; 106 140 int _numSat; 107 int _numOfEpochProcessing; 141 int _numEpoProcessing; 142 int _numAllUsedLCs; 108 143 t_dop _dop; 109 144 bncTime _firstEpoTime;
Note:
See TracChangeset
for help on using the changeset viewer.