Logo ROOT   6.13/01
Reference Guide
List of all members | Public Member Functions | List of all members
TQpProbSparse Class Reference

Definition at line 58 of file TQpProbSparse.h.

Public Member Functions

 TQpProbSparse ()
 
 TQpProbSparse (Int_t nx, Int_t my, Int_t mz)
 Constructor. More...
 
 TQpProbSparse (const TQpProbSparse &another)
 Copy constructor. More...
 
virtual ~TQpProbSparse ()
 
virtual void JoinRHS (TVectorD &rhs_in, TVectorD &rhs1_in, TVectorD &rhs2_in, TVectorD &rhs3_in)
 Assembles a single vector object from three given vectors . More...
 
virtual TQpDataBaseMakeData (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)
 Setup the data. More...
 
virtual TQpDataBaseMakeData (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)
 Setup the data. More...
 
virtual TQpLinSolverBaseMakeLinSys (const TQpDataBase *data)
 Setup the linear solver. More...
 
void MakeRandomData (TQpDataSparse *&data, TQpVar *&soln, Int_t nnzQ, Int_t nnzA, Int_t nnzC)
 Create a random QP problem. More...
 
virtual TQpResidualMakeResiduals (const TQpDataBase *data)
 Setup the residuals. More...
 
virtual TQpVarMakeVariables (const TQpDataBase *data)
 Setup the variables. More...
 
TQpProbSparseoperator= (const TQpProbSparse &source)
 Assignment operator. More...
 
virtual void SeparateVars (TVectorD &x_in, TVectorD &y_in, TVectorD &z_in, TVectorD &vars_in)
 Extracts three component vectors from a given aggregated vector. More...
 
- Public Member Functions inherited from TQpProbBase
 TQpProbBase ()
 Default constructor. More...
 
 TQpProbBase (Int_t nx, Int_t my, Int_t mz)
 Constructor. More...
 
 TQpProbBase (const TQpProbBase &another)
 Copy constructor. More...
 
virtual ~TQpProbBase ()
 
TQpProbBaseoperator= (const TQpProbBase &source)
 Assignment operator. More...
 

Additional Inherited Members

- Public Attributes inherited from TQpProbBase
Int_t fMy
 
Int_t fMz
 
Int_t fNx
 

#include <TQpProbSparse.h>

Inheritance diagram for TQpProbSparse:
[legend]

Constructor & Destructor Documentation

◆ TQpProbSparse() [1/3]

TQpProbSparse::TQpProbSparse ( )
inline

Definition at line 63 of file TQpProbSparse.h.

◆ TQpProbSparse() [2/3]

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

Constructor.

Definition at line 60 of file TQpProbSparse.cxx.

◆ TQpProbSparse() [3/3]

TQpProbSparse::TQpProbSparse ( const TQpProbSparse another)

Copy constructor.

Definition at line 71 of file TQpProbSparse.cxx.

◆ ~TQpProbSparse()

virtual TQpProbSparse::~TQpProbSparse ( )
inlinevirtual

Definition at line 67 of file TQpProbSparse.h.

Member Function Documentation

◆ JoinRHS()

void TQpProbSparse::JoinRHS ( TVectorD rhs,
TVectorD rhs1_in,
TVectorD rhs2_in,
TVectorD rhs3_in 
)
virtual

Assembles a single vector object from three given vectors .

rhs_out (output) final joined vector rhs1_in (input) first part of rhs rhs2_in (input) middle part of rhs rhs3_in (input) last part of rhs .

Implements TQpProbBase.

Definition at line 208 of file TQpProbSparse.cxx.

◆ MakeData() [1/2]

TQpDataBase * TQpProbSparse::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

Setup the data.

Definition at line 80 of file TQpProbSparse.cxx.

◆ MakeData() [2/2]

TQpDataBase * TQpProbSparse::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

Setup the data.

Implements TQpProbBase.

Definition at line 133 of file TQpProbSparse.cxx.

◆ MakeLinSys()

TQpLinSolverBase * TQpProbSparse::MakeLinSys ( const TQpDataBase data)
virtual

Setup the linear solver.

Implements TQpProbBase.

Definition at line 194 of file TQpProbSparse.cxx.

◆ MakeRandomData()

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

Create a random QP problem.

Definition at line 234 of file TQpProbSparse.cxx.

◆ MakeResiduals()

TQpResidual * TQpProbSparse::MakeResiduals ( const TQpDataBase data)
virtual

Setup the residuals.

Implements TQpProbBase.

Definition at line 173 of file TQpProbSparse.cxx.

◆ MakeVariables()

TQpVar * TQpProbSparse::MakeVariables ( const TQpDataBase data)
virtual

Setup the variables.

Implements TQpProbBase.

Definition at line 183 of file TQpProbSparse.cxx.

◆ operator=()

TQpProbSparse & TQpProbSparse::operator= ( const TQpProbSparse source)

Assignment operator.

Definition at line 246 of file TQpProbSparse.cxx.

◆ SeparateVars()

void TQpProbSparse::SeparateVars ( TVectorD x_in,
TVectorD y_in,
TVectorD z_in,
TVectorD vars_in 
)
virtual

Extracts three component vectors from a given aggregated vector.

vars_in (input) aggregated vector x_in (output) first part of vars y_in (output) middle part of vars z_in (output) last part of vars

Implements TQpProbBase.

Definition at line 223 of file TQpProbSparse.cxx.

Libraries for TQpProbSparse:
[legend]

The documentation for this class was generated from the following files: