library: libQuadp #include "TQpDataDens.h"

# TQpDataDens

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

## class TQpDataDens : public TQpDataBase

| Inheritance Chart:
`TObject`
| <- | `TQpDataBase`
| <- | `TQpDataDens` |

        public:

                           TQpDataDens()
                           TQpDataDens(Int_t nx, Int_t my, Int_t mz)
                           TQpDataDens(TVectorD& c, TMatrixDSym& Q, TVectorD& xlow, TVectorD& ixlow, TVectorD& xupp, TVectorD& ixupp, TMatrixD& A, TVectorD& bA, TMatrixD& C, TVectorD& clow, TVectorD& iclow, TVectorD& cupp, TVectorD& icupp)
                           TQpDataDens(const TQpDataDens& another)
                   virtual ~TQpDataDens()
              virtual void Amult(Double_t beta, TVectorD& y, Double_t alpha, const TVectorD& x)
              virtual void ATransmult(Double_t beta, TVectorD& y, Double_t alpha, const TVectorD& x)
            static TClass* Class()
              virtual void Cmult(Double_t beta, TVectorD& y, Double_t alpha, const TVectorD& x)
              virtual void CTransmult(Double_t beta, TVectorD& y, Double_t alpha, const TVectorD& x)
          virtual Double_t DataNorm()
              virtual void DataRandom(TVectorD& x, TVectorD& y, TVectorD& z, TVectorD& s)
              virtual void GetDiagonalOfQ(TVectorD& dQ)
           virtual TClass* IsA() const
          virtual Double_t ObjectiveValue(TQpVar* vars)
              TQpDataDens& operator=(const TQpDataDens& source)
              virtual void Print(Option_t* opt = "") const
              virtual void PutAIntoAt(TMatrixDBase& M, Int_t row, Int_t col)
              virtual void PutCIntoAt(TMatrixDBase& M, Int_t row, Int_t col)
              virtual void PutQIntoAt(TMatrixDBase& M, Int_t row, Int_t col)
              virtual void Qmult(Double_t beta, TVectorD& y, Double_t alpha, const TVectorD& x)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          TMatrixDSym fQ  Quadratic part of Objective function
             TMatrixD fA  Equality constraints
             TMatrixD fC  Inequality constraints

## Class Description

     TQpDataDens

     Data for the dense QP formulation

TQpDataDens(Int_t nx,Int_t my,Int_t mz) : TQpDataBase(nx,my,mz)

TQpDataDens(TVectorD &c_in, TMatrixDSym &Q_in, TVectorD &xlow_in,TVectorD &ixlow_in, TVectorD &xupp_in,TVectorD &ixupp_in, TMatrixD &A_in, TVectorD &bA_in, TMatrixD &C_in, TVectorD &clow_in,TVectorD &iclow_in, TVectorD &cupp_in,TVectorD &icupp_in)

TQpDataDens(const TQpDataDens &another) : TQpDataBase(another)

void Qmult(Double_t beta,TVectorD &y,Double_t alpha,const TVectorD &x )

void Amult(Double_t beta,TVectorD &y,Double_t alpha,const TVectorD &x)

void Cmult(Double_t beta,TVectorD &y,Double_t alpha,const TVectorD &x)

void ATransmult(Double_t beta,TVectorD &y,Double_t alpha,const TVectorD &x)

void CTransmult(Double_t beta,TVectorD &y,Double_t alpha,const TVectorD &x)

Double_t DataNorm()

void Print(Option_t * /*opt*/) const

void PutQIntoAt(TMatrixDBase &m,Int_t row,Int_t col)

void PutAIntoAt(TMatrixDBase &m,Int_t row,Int_t col)

void PutCIntoAt(TMatrixDBase &m,Int_t row,Int_t col)

void GetDiagonalOfQ(TVectorD &dq)

Double_t ObjectiveValue(TQpVar *vars)

void DataRandom(TVectorD &x,TVectorD &y,TVectorD &z,TVectorD &s)

### Inline Functions

                    void ~TQpDataDens()
             TQpDataDens TQpDataDens(const TQpDataDens& another)
            TQpDataDens& operator=(const TQpDataDens& 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: TQpDataDens.cxx,v 1.4 2004/06/09 12:23:16 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *