Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DLSEqnSolver.h

Go to the documentation of this file.
00001 
00002 //      Title       :  DLSEqnSolver.h
00003 //      Project     :  Trauma Pod
00004 //      Created     :  02/20/2005 12:53:41 PM
00005 //      Author      :  Chalongrath Pholsiri
00006 //      Platforms   :  All
00007 //      Copyright   :  Copyright© The University of Texas at Austin, 2002. All rights reserved.
00008 //                 
00009 //                 This software and documentation constitute an unpublished work
00010 //                 and contain valuable trade secrets and proprietary information
00011 //                 belonging to University.  None of the foregoing material may be
00012 //                 copied  or duplicated or disclosed without the express, written
00013 //                 permission of University.  UNIVERSITY EXPRESSLY DISCLAIMS ANY
00014 //                 AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION,
00015 //                 INCLUDING ANY WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
00016 //                 PARTICULAR PURPOSE, AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY
00017 //                 THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE.
00018 //                 NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF
00019 //                 THE SOFTWARE OR DOCUMENTATION.  Under no circumstances shall
00020 //                 University be liable for incidental, special, indirect, direct or
00021 //                 consequential damages or loss of profits, interruption of business,
00022 //                 or related expenses which may arise from use of software or documentation,
00023 //                 including but not limited to those resulting from defects in software
00024 //                 and/or documentation, or loss or inaccuracy of data of any kind.
00025 //
00026 //              Purpose     :  Equation solver using Damped Least Square technique
00027 //-----------------------------------------------------------------------------
00028 //
00029 //              $Revisions$
00030 //                                      
00031 //                                      
00033 
00034 #ifndef DLSEqnSolver_h
00035 #define DLSEqnSolver_h
00036 
00037 #include "EqnSolver.h"
00038 
00040 namespace OSCAR {
00041 
00051         class DLSEqnSolver : public EqnSolver
00052         {
00053         public:
00061                 DLSEqnSolver();
00062 
00068                 ~DLSEqnSolver();
00069 
00085                 bool Redundant(const Matrix& A, Vector& x, const Vector& b);
00086 
00106                 bool RedundantWithWeights(const Matrix& A, Vector& x, const Vector& b);
00107 
00115                 void SetDamping(double damping);
00116                 
00117         protected:
00118                 double damping;
00119                 Matrix *identity;
00120         };
00121 }
00122 #endif // DLSEqnSolver_h
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations