TAPs 0.7.7.3
SP_MatrixOperations.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 SP_MatrixOperations.h
00003 
00004 Operation on Matrix
00005 
00006 Sukitti Punak   (11/02/2003)
00007 Latest Update   (07/14/2007)
00008 ******************************************************************************/
00009 
00010 #ifndef SP_MATRIXOPERATIONS_H
00011 #define SP_MATRIXOPERATIONS_H
00012 
00013 #include <iostream>
00014 //#include <cassert>
00015 using std::cout;
00016 using std::cerr;
00017 using std::endl;
00018 
00019 #include "SPT_Matrix.h"
00020 
00021 // CLASS:   MatrixOperations        ***************************************************************
00022 // Desc:    A static class for Matrix Operations
00023 class MatrixOperations {
00024 public:
00025     static SPtMatrix< double > HouseHolderMatrix( const SPtMatrix< double > &,      // I/P
00026                                                   SPtMatrix< double > * = NULL,     // O/P
00027                                                   SPtMatrix< double > * = NULL );   // O/P
00028     
00029     static bool QRFactorization( const SPtMatrix< double > &,                       // I/P
00030                                  SPtMatrix< double > &, SPtMatrix< double > & );    // O/P
00031 
00032     static SPtMatrix< double > EigenValsByQRFactorization(  const SPtMatrix< double > &,    // I/P
00033                                                             int = -6,                       // Number of iterations
00034                                                             SPtMatrix< double > * = NULL ); // O/P
00035 };  // END: class MatrixOperations
00036 
00037 
00038 // Member Fns of class MatrixOperations     *******************************************************
00039 
00040 //-----------------------------------------------------------------------------
00041 // Include definition if TAPs_USE_EXPORT is not defined
00042 #if !defined( TAPs_USE_EXPORT )
00043     #include "SP_MatrixOperations.cpp"
00044 #endif
00045 //-----------------------------------------------------------------------------
00046 #endif // #ifndef SP_MATRIXOPERATIONS_H
00047 
00048 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines