source: ntrip/trunk/BNC/src/PPP/lambda.h@ 10805

Last change on this file since 10805 was 10791, checked in by mervart, 3 months ago

BNC Multifrequency and PPPAR Client (initial version)

File size: 1.3 KB
Line 
1#ifndef LAMBDA_H
2#define LAMBDA_H
3
4#include <newmat.h>
5
6namespace BNC_PPP {
7
8 class Lambda {
9 public:
10 static void search(ColumnVector aFlt, const SymmetricMatrix& QaFlt,
11 ColumnVector& aFix, SymmetricMatrix& covBie);
12
13 private:
14 class Info {
15 public:
16 Matrix aFix;
17 Matrix zFix;
18 ColumnVector zBie;
19 ColumnVector wgt;
20 };
21
22 static double erf(double xx);
23
24 static double normcdf(double xx, double mu = 0.0, double sigma = 1.0);
25
26 static void ldldecom(const SymmetricMatrix& QQ, LowerTriangularMatrix& LL, DiagonalMatrix& DD);
27
28 static void decorrel(const SymmetricMatrix& QaFlt, const ColumnVector& aFlt,
29 SymmetricMatrix& QzFlt, Matrix& ZZ, LowerTriangularMatrix& LL,
30 DiagonalMatrix& DD, ColumnVector& zFlt, Matrix& iZt);
31
32 static void ssearch(const ColumnVector& zFlt, const LowerTriangularMatrix& LL,
33 const DiagonalMatrix& DD, int ncands, Matrix& zFix, ColumnVector& sqnorm);
34
35 static inline double nint(double val);
36
37 static inline void swap(double& a, double& b);
38
39 static inline double sign(double a);
40
41 static void BIE(const ColumnVector& zFlt, const LowerTriangularMatrix& LL,
42 const DiagonalMatrix& DD, Info& info);
43 };
44
45}
46
47#endif
Note: See TracBrowser for help on using the repository browser.