library: libQuadp #include "TQpResidual.h"

# TQpResidual

class description - source file - inheritance tree (.ps)

## class TQpResidual : public TObject

| Inheritance Chart:

`TObject`

<-

`TQpResidual`

        protected:

          static void GondzioProjection(TVectorD& v, Double_t rmin, Double_t rmax)

        public:

                          TQpResidual()
                          TQpResidual(Int_t nx, Int_t my, Int_t mz, TVectorD& ixlow, TVectorD& ixupp, TVectorD& iclow, TVectorD& icupp)
                          TQpResidual(const TQpResidual& another)
                  virtual ~TQpResidual()
                     void Add_r3_xz_alpha(TQpVar* vars, Double_t alpha)
                     void CalcResids(TQpDataBase* problem, TQpVar* vars)
           static TClass* Class()
                     void Clear_r1r2()
                     void Clear_r3()
                 Double_t GetDualityGap()
                 Double_t GetResidualNorm()
          virtual TClass* IsA() const
             TQpResidual& operator=(const TQpResidual& source)
                     void Project_r3(Double_t rmin, Double_t rmax)
                     void Set_r3_xz_alpha(TQpVar* vars, Double_t alpha)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
                   Bool_t ValidNonZeroPattern()

### Data Members

        protected:

          Double_t fResidualNorm  The norm of the residuals, ommiting the complementariy conditions
          Double_t fDualityGap    A quantity that measures progress toward feasibility. In terms
             Int_t fNx
             Int_t fMy
             Int_t fMz
          Double_t fNxup
          Double_t fNxlo
          Double_t fMcup
          Double_t fMclo
          TVectorD fXupIndex
          TVectorD fXloIndex
          TVectorD fCupIndex
          TVectorD fCloIndex

        public:

          TVectorD fRQ
          TVectorD fRA
          TVectorD fRC
          TVectorD fRz
          TVectorD fRv
          TVectorD fRw
          TVectorD fRt
          TVectorD fRu
          TVectorD fRgamma
          TVectorD fRphi
          TVectorD fRlambda
          TVectorD fRpi

## Class Description

     TQpResidual

     Residuals for the general QP formulation

TQpResidual()

TQpResidual(Int_t nx,Int_t my,Int_t mz,TVectorD &ixlo,TVectorD &ixup, TVectorD &iclo,TVectorD &icup)

TQpResidual(const TQpResidual &another) : TObject(another)

void CalcResids(TQpDataBase *prob_in,TQpVar *vars)

void Add_r3_xz_alpha(TQpVar *vars,Double_t alpha)

void Set_r3_xz_alpha(TQpVar *vars,Double_t alpha)

void Clear_r3()

void Clear_r1r2()

void Project_r3(Double_t rmin,Double_t rmax)

Bool_t ValidNonZeroPattern()

void GondzioProjection(TVectorD &v,Double_t rmin,Double_t rmax)

### Inline Functions

                    void ~TQpResidual()
                Double_t GetResidualNorm()
                Double_t GetDualityGap()
            TQpResidual& operator=(const TQpResidual& source)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)

Author: Eddy Offermann May 2004
Last update: root/quadp:$Name: $:$Id: TQpResidual.cxx,v 1.3 2004/06/09 12:23:16 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *