Changeset 8901 in ntrip for trunk/BNC/newmat/newmatap.h


Ignore:
Timestamp:
Mar 18, 2020, 11:06:13 AM (4 years ago)
Author:
stuerze
Message:

upgrade to newmat11 library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/newmat/newmatap.h

    r2013 r8901  
    2626void QRZ(Matrix&, UpperTriangularMatrix&);
    2727
    28 void QRZ(const Matrix&, Matrix&, Matrix&);
     28void QRZ(const Matrix&, Matrix&, Matrix&);
     29
     30inline void QRZT(Matrix& X, Matrix& Y, LowerTriangularMatrix& L, Matrix& M)
     31   { QRZT(X, L); QRZT(X, Y, M); }
     32
     33inline void QRZ(Matrix& X, Matrix& Y, UpperTriangularMatrix& U, Matrix& M)
     34   { QRZ(X, U); QRZ(X, Y, M); }
    2935
    3036inline void HHDecompose(Matrix& X, LowerTriangularMatrix& L)
     
    3844void updateQRZ(Matrix& X, UpperTriangularMatrix& U);
    3945
     46void updateQRZ(const Matrix& X, Matrix& MX, Matrix& MU);
     47
     48void updateQRZ(UpperTriangularMatrix& X, UpperTriangularMatrix& U);
     49
     50void updateQRZ(const UpperTriangularMatrix& X, Matrix& MX, Matrix& MU);
     51
    4052inline void UpdateQRZT(Matrix& X, LowerTriangularMatrix& L)
    4153   { updateQRZT(X, L); }
     
    4355inline void UpdateQRZ(Matrix& X, UpperTriangularMatrix& U)
    4456   { updateQRZ(X, U); }
     57
     58inline void UpdateQRZ(UpperTriangularMatrix& X, UpperTriangularMatrix& U)
     59   { updateQRZ(X, U); }
     60
     61inline void UpdateQRZ(const UpperTriangularMatrix& X, Matrix& MX, Matrix& MU)
     62   { updateQRZ(X, MX, MU); }
     63   
     64inline void UpdateQRZ(const Matrix& X, Matrix& MX, Matrix& MU)
     65   { updateQRZ(X, MX, MU); }
     66
    4567
    4668// Matrix A's first n columns are orthonormal
     
    5678
    5779
    58 // produces the Cholesky decomposition of A + x.t() * x where A = chol.t() * chol
    59 // and x is a RowVector
     80// produces the Cholesky decomposition of A + x.t() * x
     81// where A = chol.t() * chol and x is a RowVector
    6082void update_Cholesky(UpperTriangularMatrix& chol, RowVector x);
    6183inline void UpdateCholesky(UpperTriangularMatrix& chol, const RowVector& x)
    6284   { update_Cholesky(chol, x); }
    6385
    64 // produces the Cholesky decomposition of A - x.t() * x where A = chol.t() * chol
    65 // and x is a RowVector
     86// produces the Cholesky decomposition of A - x.t() * x
     87// where A = chol.t() * chol and x is a RowVector
    6688void downdate_Cholesky(UpperTriangularMatrix &chol, RowVector x);
    6789inline void DowndateCholesky(UpperTriangularMatrix &chol, const RowVector& x)
Note: See TracChangeset for help on using the changeset viewer.