Changeset 8901 in ntrip for trunk/BNC/newmat/newmatap.h
- Timestamp:
- Mar 18, 2020, 11:06:13 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/newmat/newmatap.h
r2013 r8901 26 26 void QRZ(Matrix&, UpperTriangularMatrix&); 27 27 28 void QRZ(const Matrix&, Matrix&, Matrix&); 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); } 29 35 30 36 inline void HHDecompose(Matrix& X, LowerTriangularMatrix& L) … … 38 44 void updateQRZ(Matrix& X, UpperTriangularMatrix& U); 39 45 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 40 52 inline void UpdateQRZT(Matrix& X, LowerTriangularMatrix& L) 41 53 { updateQRZT(X, L); } … … 43 55 inline void UpdateQRZ(Matrix& X, UpperTriangularMatrix& U) 44 56 { 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 45 67 46 68 // Matrix A's first n columns are orthonormal … … 56 78 57 79 58 // produces the Cholesky decomposition of A + x.t() * x where A = chol.t() * chol59 // and x is a RowVector80 // produces the Cholesky decomposition of A + x.t() * x 81 // where A = chol.t() * chol and x is a RowVector 60 82 void update_Cholesky(UpperTriangularMatrix& chol, RowVector x); 61 83 inline void UpdateCholesky(UpperTriangularMatrix& chol, const RowVector& x) 62 84 { update_Cholesky(chol, x); } 63 85 64 // produces the Cholesky decomposition of A - x.t() * x where A = chol.t() * chol65 // and x is a RowVector86 // produces the Cholesky decomposition of A - x.t() * x 87 // where A = chol.t() * chol and x is a RowVector 66 88 void downdate_Cholesky(UpperTriangularMatrix &chol, RowVector x); 67 89 inline void DowndateCholesky(UpperTriangularMatrix &chol, const RowVector& x)
Note:
See TracChangeset
for help on using the changeset viewer.