- Timestamp:
- Dec 1, 2009, 2:46:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2065 r2066 185 185 double tropDelay = delay_saast(satData->eleSat); 186 186 187 cout << "tropDelay " << tropDelay << endl;188 189 187 return satData->rho + _xcBanc(4) - satData->clk + tropDelay; 190 188 } … … 200 198 double hh = 50.0 * exp(-6.396e-4 * height); 201 199 double ee = hh / 100.0 * exp(-37.2465 + 0.213166*TT - 0.000256908*TT*TT); 200 201 cout << "Ele: " << 180.0 * Ele / M_PI << " " << height << " " 202 << pp << " " << TT << " " << hh << " " << ee << endl; 202 203 203 204 double h_km = height / 1000.0; … … 230 231 unsigned nObs = epoData->size(); 231 232 233 // Create First-Design Matrix 234 // -------------------------- 232 235 _AA.ReSize(nObs, nPar); // variance-covariance matrix 233 236 _ll.ReSize(nObs); // tems observed-computed … … 251 254 } 252 255 256 // Compute Least-Squares Solution 257 // ------------------------------ 253 258 _QQ.ReSize(nPar); 254 259 _QQ << _AA.t() * _AA; … … 256 261 _dx = _QQ * _AA.t() * _ll; 257 262 263 // Compute Residuals 264 // ----------------- 265 ColumnVector vv = _AA * _dx - _ll; 266 267 cout << setprecision(3) << vv.t(); 268 cout.flush(); 269 270 // Set Solution Vector 271 // ------------------- 258 272 _xx.ReSize(nPar); 259 260 273 unsigned iPar = 0; 261 274 QListIterator<bncParam*> itPar(_params);
Note:
See TracChangeset
for help on using the changeset viewer.