Changeset 9434 in ntrip for trunk/BNC/newmat/newmatap.h
- Timestamp:
- May 19, 2021, 1:32:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/newmat/newmatap.h
r8901 r9434 26 26 void QRZ(Matrix&, UpperTriangularMatrix&); 27 27 28 void QRZ(const Matrix&, Matrix&, Matrix&); 29 30 inline void QRZT(Matrix& X, Matrix& Y, LowerTriangularMatrix& L, Matrix& M) 31 { QRZT(X, L); QRZT(X, Y, M); } 32 33 inline void QRZ(Matrix& X, Matrix& Y, UpperTriangularMatrix& U, Matrix& M) 34 { QRZ(X, U); QRZ(X, Y, M); } 28 void QRZ(const Matrix&, Matrix&, Matrix&); 35 29 36 30 inline void HHDecompose(Matrix& X, LowerTriangularMatrix& L) … … 44 38 void updateQRZ(Matrix& X, UpperTriangularMatrix& U); 45 39 46 void updateQRZ(const Matrix& X, Matrix& MX, Matrix& MU);47 48 void updateQRZ(UpperTriangularMatrix& X, UpperTriangularMatrix& U);49 50 void updateQRZ(const UpperTriangularMatrix& X, Matrix& MX, Matrix& MU);51 52 40 inline void UpdateQRZT(Matrix& X, LowerTriangularMatrix& L) 53 41 { updateQRZT(X, L); } … … 55 43 inline void UpdateQRZ(Matrix& X, UpperTriangularMatrix& U) 56 44 { updateQRZ(X, U); } 57 58 inline void UpdateQRZ(UpperTriangularMatrix& X, UpperTriangularMatrix& U)59 { updateQRZ(X, U); }60 61 inline void UpdateQRZ(const UpperTriangularMatrix& X, Matrix& MX, Matrix& MU)62 { updateQRZ(X, MX, MU); }63 64 inline void UpdateQRZ(const Matrix& X, Matrix& MX, Matrix& MU)65 { updateQRZ(X, MX, MU); }66 67 45 68 46 // Matrix A's first n columns are orthonormal … … 78 56 79 57 80 // produces the Cholesky decomposition of A + x.t() * x 81 // where A = chol.t() * choland x is a RowVector58 // produces the Cholesky decomposition of A + x.t() * x where A = chol.t() * chol 59 // and x is a RowVector 82 60 void update_Cholesky(UpperTriangularMatrix& chol, RowVector x); 83 61 inline void UpdateCholesky(UpperTriangularMatrix& chol, const RowVector& x) 84 62 { update_Cholesky(chol, x); } 85 63 86 // produces the Cholesky decomposition of A - x.t() * x 87 // where A = chol.t() * choland x is a RowVector64 // produces the Cholesky decomposition of A - x.t() * x where A = chol.t() * chol 65 // and x is a RowVector 88 66 void downdate_Cholesky(UpperTriangularMatrix &chol, RowVector x); 89 67 inline void DowndateCholesky(UpperTriangularMatrix &chol, const RowVector& x)
Note:
See TracChangeset
for help on using the changeset viewer.