library: libQuadp #include "TQpProbBase.h"

# TQpProbBase

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

## class TQpProbBase : public TObject

| Inheritance Chart:

`TObject`

<-

`TQpProbBase`

<-

`TQpProbDens` |

`TQpProbSparse` |

This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.

        public:

                            virtual ~TQpProbBase()
                     static TClass* Class()
                    virtual TClass* IsA() const
                       virtual void JoinRHS(TVectorD& rhs_in, TVectorD& rhs1_in, TVectorD& rhs2_in, TVectorD& rhs3_in)
               virtual TQpDataBase* MakeData(TVectorD& c, TMatrixDBase& Q_in, TVectorD& xlo, TVectorD& ixlo, TVectorD& xup, TVectorD& ixup, TMatrixDBase& A_in, TVectorD& bA, TMatrixDBase& C_in, TVectorD& clo, TVectorD& iclo, TVectorD& cup, TVectorD& icup)
          virtual TQpLinSolverBase* MakeLinSys(const TQpDataBase* data)
               virtual TQpResidual* MakeResiduals(const TQpDataBase* data)
                    virtual TQpVar* MakeVariables(const TQpDataBase* data)
                       TQpProbBase& operator=(const TQpProbBase& source)
                       virtual void SeparateVars(TVectorD& x_in, TVectorD& y_in, TVectorD& z_in, TVectorD& vars_in)
                       virtual void ShowMembers(TMemberInspector& insp, char* parent)
                       virtual void Streamer(TBuffer& b)
                               void StreamerNVirtual(TBuffer& b)

### Data Members

        public:

          Int_t fNx  number of elements in x
          Int_t fMy  number of rows in A and b
          Int_t fMz  number of rows in C

## Class Description

     TQpProbBase

     default general problem formulation:

      minimize    c' x + ( 1/2 ) x' * Q x        ;
      subject to                      A x  = b   ;
                              clo <=  C x <= cup ;
                              xlo <=    x <= xup ;

### Inline Functions

                         void ~TQpProbBase()
                 TQpDataBase* MakeData(TVectorD& c, TMatrixDBase& Q_in, TVectorD& xlo, TVectorD& ixlo, TVectorD& xup, TVectorD& ixup, TMatrixDBase& A_in, TVectorD& bA, TMatrixDBase& C_in, TVectorD& clo, TVectorD& iclo, TVectorD& cup, TVectorD& icup)
                 TQpResidual* MakeResiduals(const TQpDataBase* data)
                      TQpVar* MakeVariables(const TQpDataBase* data)
            TQpLinSolverBase* MakeLinSys(const TQpDataBase* data)
                         void JoinRHS(TVectorD& rhs_in, TVectorD& rhs1_in, TVectorD& rhs2_in, TVectorD& rhs3_in)
                         void SeparateVars(TVectorD& x_in, TVectorD& y_in, TVectorD& z_in, TVectorD& vars_in)
                 TQpProbBase& operator=(const TQpProbBase& 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: TQpProbBase.cxx,v 1.2 2004/05/24 12:45:40 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *