home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 21 / IOPROG_21.ISO / SOFT / LIBMAT.ZIP / MATQRH.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-16  |  1.6 KB  |  44 lines

  1. /***************************************************/
  2. /*  matqrh.hpp header for Householder QR functions */
  3. /***************************************************/
  4.  
  5.  
  6. /**************************************************/
  7. /*            MatClass Source File                */
  8. /*       Copyright of C. R. Birchenhall           */
  9. /*       University of Manchester, UK.            */
  10. /*   MatClass is freeware. This file should be    */
  11. /* made freely available to users of any software */
  12. /* whose creation is wholly or partly dependent   */
  13. /*                on this file.                   */
  14. /**************************************************/
  15.  
  16. #ifndef MATRIX_H
  17. #include "matrix.hpp"
  18. #endif
  19.  
  20. #ifndef MATQRH_H
  21.  
  22. #define MATQRH_H
  23.  
  24. INDEX hReflector( matrix& v, REAL& alpha, REAL& beta,
  25.                    REAL& vMax, REAL tol, matError& error ) ;
  26. INDEX hReflect( matrix& y, const matrix& u, REAL beta,
  27.                 matError& error ) ;
  28. INDEX qReflect( matrix& y, const matrix& q, matrix& w,
  29.                 matError& error ) ;
  30. INDEX qTReflect( matrix& y, const matrix& q, matrix& w,
  31.          matError& error ) ;
  32. INDEX qrh( matrix& x, matrix& diagR, matrix& b, REAL tol,
  33.            matError& error ) ;
  34. INDEX backSub( matrix& y, const matrix& x, REAL tol,
  35.                matError& error ) ;
  36. INDEX backSubT( matrix& y, const matrix& x, REAL tol,
  37.             matError& error ) ;
  38. INDEX hProject( matrix& y, matrix& x, matrix& R, matrix& w,
  39.                 matrix& beta, REAL tol, matError& error ) ;
  40. INDEX triuInv( const matrix& R, matrix& Rinv, REAL tol,
  41.            matError& error );
  42.  
  43. #endif
  44.