library: libQuadp
#include "TQpLinSolverBase.h"

TQpLinSolverBase


class description - header file - source file - inheritance tree (.pdf)

class TQpLinSolverBase : public TObject

Inheritance Chart:
TObject
<-
TQpLinSolverBase
<-
TQpLinSolverDens
TQpLinSolverSparse
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    public:
virtual ~TQpLinSolverBase() static TClass* Class() virtual void ComputeDiagonals(TVectorD& dd, TVectorD& omega, TVectorD& t, TVectorD& lambda, TVectorD& u, TVectorD& pi, TVectorD& v, TVectorD& gamma, TVectorD& w, TVectorD& phi) virtual void Factor(TQpDataBase* prob, TQpVar* vars) virtual TClass* IsA() const virtual void JoinRHS(TVectorD& rhs, TVectorD& rhs1, TVectorD& rhs2, TVectorD& rhs3) TQpLinSolverBase& operator=(const TQpLinSolverBase& source) virtual void PutXDiagonal(TVectorD& xdiag) virtual void PutZDiagonal(TVectorD& zdiag) virtual void SeparateVars(TVectorD& vars1, TVectorD& vars2, TVectorD& vars3, TVectorD& vars) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Solve(TQpDataBase* prob, TQpVar* vars, TQpResidual* resids, TQpVar* step) virtual void SolveCompressed(TVectorD& rhs) virtual void SolveXYZS(TVectorD& stepx, TVectorD& stepy, TVectorD& stepz, TVectorD& steps, TVectorD& ztemp, TQpDataBase* data) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TVectorD fNomegaInv stores a critical diagonal matrix as a vector TVectorD fRhs right-hand side of the system Int_t fNx dimensions of the vectors in the general QP formulation Int_t fMy Int_t fMz TVectorD fDd temporary storage vectors TVectorD fDq TVectorD fXupIndex index matrices for the upper and lower bounds on x and Cx TVectorD fCupIndex TVectorD fXloIndex TVectorD fCloIndex Int_t fNxup dimensions of the upper and lower bound vectors Int_t fNxlo Int_t fMcup Int_t fMclo TQpProbBase* fFactory

Class Description

                                                                      
 TQpLinSolverBase                                                     
                                                                      
 Implementation of main solver for linear systems                     
                                                                      

void ComputeDiagonals(TVectorD &dd,TVectorD &omega, TVectorD &t, TVectorD &lambda, TVectorD &u, TVectorD &pi, TVectorD &v, TVectorD &gamma, TVectorD &w, TVectorD &phi)
 Computes the diagonal matrices in the augmented system from the current set of variables
void Solve(TQpDataBase *prob,TQpVar *vars,TQpResidual *res,TQpVar *step)
 Solves the system for a given set of residuals. Assembles the right-hand side appropriate
 to the matrix factored in factor, solves the system using the factorization produced there,
 partitions the solution vector into step components, then recovers the step components
 eliminated during the block elimination that produced the augmented system form .
void SolveXYZS(TVectorD &stepx,TVectorD &stepy, TVectorD &stepz,TVectorD &steps, TVectorD & /* ztemp */, TQpDataBase * /* prob */ )
virtual ~TQpLinSolverBase()

Author: Eddy Offermann May 2004
Last update: root/quadp:$Name: $:$Id: TQpLinSolverBase.cxx,v 1.8 2006/06/30 04:35:12 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.