Changeset 8956 in ntrip for trunk/BNC/src/PPP/pppFilter.h
- Timestamp:
- Jun 23, 2020, 11:58:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.h
r8915 r8956 22 22 t_irc processEpoch(int num); 23 23 24 void datumTransformation( );24 void datumTransformation(const ColumnVector& xFltOld, const SymmetricMatrix& QFltOld); 25 25 26 26 const ColumnVector& x() const {return _xFlt;} … … 75 75 }; 76 76 77 class t_datumTrafo {77 class t_datumTrafo { 78 78 public: 79 79 t_datumTrafo () {initIndices();} … … 82 82 bool firstSystem() {return _firstSys;} 83 83 void updateIndices(int maxObs) { 84 if ( _firstSys) {84 if (firstSystem()) { 85 85 initIndices(); 86 86 } … … 94 94 _AA2.ReSize(maxObs, numPar); _AA2 = 0.0; 95 95 } 96 void prepareAA( Matrix& AA, int _numEpoProcessing, int nPar) {97 Matrix & Prep =_AA2;98 if ( _numEpoProcessing == 1) {99 Prep = _AA1;96 void prepareAA(const Matrix& AA, int numEpoProcessing, int nPar) { 97 Matrix* Prep = &_AA2; 98 if (numEpoProcessing == 1) { 99 Prep = &_AA1; 100 100 } 101 Prep .SubMatrix(_firstRow, _lastRow, 1, nPar) =AA;101 Prep->SubMatrix(_firstRow, _lastRow, 1, nPar) << AA; 102 102 } 103 Matrix varCov(const SymmetricMatrix& QFlt) { 103 104 Matrix computeTrafoMatrix() { 104 105 Matrix D21 = (_AA2.t() * _AA2).i() * _AA2.t() * _AA1; 105 return D21 * QFlt * D21.t(); 106 return D21; 107 } 108 109 static void printMatrix(const Matrix& X, int nRow, int nCol) { 110 for (int rr = 0; rr < nRow; rr++) { 111 for (int cc = 0; cc < nCol; cc++) { 112 cout << setw(7) << setprecision(4) << X[rr][cc] << " "; 113 } 114 cout << endl; } 115 cout << endl; 106 116 } 107 117 int _firstRow; … … 130 140 void predictCovCrdPart(const SymmetricMatrix& QFltOld); 131 141 142 t_irc addInfiniteNoise(t_pppParam::e_type para); 143 132 144 bncTime _epoTime; 133 145 t_pppParlist* _parlist;
Note:
See TracChangeset
for help on using the changeset viewer.