AbstractLinAlgPack_MatrixSymNonsingSerial.hpp

Go to the documentation of this file.
00001 // @HEADER
00002 // ***********************************************************************
00003 // 
00004 // Moocho: Multi-functional Object-Oriented arCHitecture for Optimization
00005 //                  Copyright (2003) Sandia Corporation
00006 // 
00007 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
00008 // license for use of this work by or on behalf of the U.S. Government.
00009 // 
00010 // This library is free software; you can redistribute it and/or modify
00011 // it under the terms of the GNU Lesser General Public License as
00012 // published by the Free Software Foundation; either version 2.1 of the
00013 // License, or (at your option) any later version.
00014 //  
00015 // This library is distributed in the hope that it will be useful, but
00016 // WITHOUT ANY WARRANTY; without even the implied warranty of
00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018 // Lesser General Public License for more details.
00019 //  
00020 // You should have received a copy of the GNU Lesser General Public
00021 // License along with this library; if not, write to the Free Software
00022 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00023 // USA
00024 // Questions? Contact Roscoe A. Bartlett (rabartl@sandia.gov) 
00025 // 
00026 // ***********************************************************************
00027 // @HEADER
00028 
00029 #ifndef SLAP_MATRIX_SYM_NONSINGULAR_SERIAL_H
00030 #define SLAP_MATRIX_SYM_NONSINGULAR_SERIAL_H
00031 
00032 #include "AbstractLinAlgPack_MatrixNonsingSerial.hpp"
00033 #include "AbstractLinAlgPack_MatrixSymNonsing.hpp"
00034 
00035 namespace AbstractLinAlgPack {
00036 
00043 class MatrixSymNonsingSerial
00044   : virtual public MatrixNonsingSerial
00045   , virtual public AbstractLinAlgPack::MatrixSymNonsing // doxygen needs full name
00046 {
00047 public:
00048 
00050   using MatrixSymNonsing::M_StMtInvMtM;
00051 
00054 
00061   virtual void M_StMtInvMtM(
00062     DMatrixSliceSym* sym_gms_lhs, value_type alpha
00063     ,const MatrixOpSerial& mwo, BLAS_Cpp::Transp mwo_trans
00064     ,EMatrixDummyArg
00065     ) const;
00066 
00068 
00071 
00072   void M_StMtInvMtM(
00073     MatrixSymOp* sym_lhs, value_type alpha
00074     ,const MatrixOp& mwo, BLAS_Cpp::Transp mwo_trans
00075     ,EMatrixDummyArg
00076     ) const;
00077 
00079 
00080 };  // end class MatrixSymNonsingSerial
00081 
00088 
00089 inline
00091 void M_StMtInvMtM(
00092   DMatrixSliceSym* sym_gms_lhs, value_type alpha
00093   ,const MatrixOpSerial& mwo, BLAS_Cpp::Transp mwo_trans
00094   ,const MatrixSymNonsingSerial& mswons
00095   ,MatrixSymNonsingSerial::EMatrixDummyArg mwo_rhs
00096    )
00097 {
00098   mswons.M_StMtInvMtM(sym_gms_lhs,alpha,mwo,mwo_trans,mwo_rhs);
00099 }
00100 
00102 
00103 } // end namespace AbstractLinAlgPack
00104 
00105 #endif  // SLAP_MATRIX_SYM_NONSINGULAR_SERIAL_H

Generated on Tue Oct 20 12:51:43 2009 for MOOCHO (Single Doxygen Collection) by doxygen 1.4.7