library: libQuadp #include "TQpProbSparse.h"

# TQpProbSparse

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

## class TQpProbSparse : public TQpProbBase

| Inheritance Chart:
`TObject`
| <- | `TQpProbBase`
| <- | `TQpProbSparse` |

        public:

                                    TQpProbSparse()
                                    TQpProbSparse(Int_t nx, Int_t my, Int_t mz)
                                    TQpProbSparse(const TQpProbSparse& another)
                            virtual ~TQpProbSparse()
                     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(Double_t* c, Int_t nnzQ, Int_t* irowQ, Int_t* icolQ, Double_t* Q, Double_t* xlo, Bool_t* ixlo, Double_t* xup, Bool_t* ixup, Int_t nnzA, Int_t* irowA, Int_t* icolA, Double_t* A, Double_t* bA, Int_t nnzC, Int_t* irowC, Int_t* icolC, Double_t* C, Double_t* clo, Bool_t* iclo, Double_t* cup, Bool_t* icup)
               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)
                               void MakeRandomData(TQpDataSparse*& data, TQpVar*& soln, Int_t nnzQ, Int_t nnzA, Int_t nnzC)
               virtual TQpResidual* MakeResiduals(const TQpDataBase* data)
                    virtual TQpVar* MakeVariables(const TQpDataBase* data)
                     TQpProbSparse& operator=(const TQpProbSparse& 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

## Class Description

     TQpProbSparse

     dense matrix problem formulation

TQpProbSparse(Int_t nx,Int_t my,Int_t mz) : TQpProbBase(nx,my,mz)

     We do not wanr more constrains than variables

TQpProbSparse(const TQpProbSparse &another) : TQpProbBase(another)

TQpDataBase* MakeData(Double_t *c, Int_t nnzQ,Int_t *irowQ,Int_t *icolQ,Double_t *Q, Double_t *xlo,Bool_t *ixlo, Double_t *xup,Bool_t *ixup, Int_t nnzA,Int_t *irowA,Int_t *icolA,Double_t *A, Double_t *bA, Int_t nnzC,Int_t *irowC,Int_t *icolC,Double_t *C, Double_t *clo,Bool_t *iclo, Double_t *cup,Bool_t *icup)

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_in)

TQpVar* MakeVariables(const TQpDataBase *data_in)

TQpLinSolverBase* MakeLinSys(const TQpDataBase *data_in)

void JoinRHS(TVectorD &rhs,TVectorD &rhs1_in,TVectorD &rhs2_in,TVectorD &rhs3_in)

void SeparateVars(TVectorD &x_in,TVectorD &y_in,TVectorD &z_in,TVectorD &vars_in)

void MakeRandomData(TQpDataSparse *&data,TQpVar *&soln,Int_t nnzQ,Int_t nnzA,Int_t nnzC)

### Inline Functions

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