#include <TQpDataSparse.h>
Inheritance diagram for TQpDataSparse:
Definition at line 65 of file TQpDataSparse.h.
TQpDataSparse::TQpDataSparse | ( | ) | [inline] |
Definition at line 77 of file TQpDataSparse.h.
TQpDataSparse::TQpDataSparse | ( | TVectorD & | c, | |
TMatrixDSparse & | Q, | |||
TVectorD & | xlow, | |||
TVectorD & | ixlow, | |||
TVectorD & | xupp, | |||
TVectorD & | ixupp, | |||
TMatrixDSparse & | A, | |||
TVectorD & | bA, | |||
TMatrixDSparse & | C, | |||
TVectorD & | clow, | |||
TVectorD & | iclow, | |||
TVectorD & | cupp, | |||
TVectorD & | icupp | |||
) |
Definition at line 69 of file TQpDataSparse.cxx.
References fA, TQpDataBase::fBa, fC, TQpDataBase::fCloBound, TQpDataBase::fCloIndex, TQpDataBase::fCupBound, TQpDataBase::fCupIndex, TQpDataBase::fG, TQpDataBase::fMy, TQpDataBase::fMz, TQpDataBase::fNx, fQ, TQpDataBase::fXloBound, TQpDataBase::fXloIndex, TQpDataBase::fXupBound, TQpDataBase::fXupIndex, TMatrixTBase< Element >::GetNrows(), TVectorT< Element >::GetNrows(), TMatrixTBase< Element >::Print(), TVectorT< Element >::ResizeTo(), and TMatrixTSparse< Element >::Use().
TQpDataSparse::TQpDataSparse | ( | const TQpDataSparse & | another | ) |
Definition at line 114 of file TQpDataSparse.cxx.
virtual TQpDataSparse::~TQpDataSparse | ( | ) | [inline, virtual] |
Definition at line 87 of file TQpDataSparse.h.
TQpDataSparse::TQpDataSparse | ( | ) | [inline] |
Definition at line 77 of file TQpDataSparse.h.
TQpDataSparse::TQpDataSparse | ( | TVectorD & | c, | |
TMatrixDSparse & | Q, | |||
TVectorD & | xlow, | |||
TVectorD & | ixlow, | |||
TVectorD & | xupp, | |||
TVectorD & | ixupp, | |||
TMatrixDSparse & | A, | |||
TVectorD & | bA, | |||
TMatrixDSparse & | C, | |||
TVectorD & | clow, | |||
TVectorD & | iclow, | |||
TVectorD & | cupp, | |||
TVectorD & | icupp | |||
) |
TQpDataSparse::TQpDataSparse | ( | const TQpDataSparse & | another | ) |
virtual TQpDataSparse::~TQpDataSparse | ( | ) | [inline, virtual] |
Definition at line 87 of file TQpDataSparse.h.
Definition at line 123 of file TQpDataSparse.cxx.
References fA, fC, fQ, and TMatrixTSparse< Element >::SetSparseIndex().
void TQpDataSparse::PutQIntoAt | ( | TMatrixDBase & | M, | |
Int_t | row, | |||
Int_t | col | |||
) | [virtual] |
void TQpDataSparse::PutAIntoAt | ( | TMatrixDBase & | M, | |
Int_t | row, | |||
Int_t | col | |||
) | [virtual] |
void TQpDataSparse::PutCIntoAt | ( | TMatrixDBase & | M, | |
Int_t | row, | |||
Int_t | col | |||
) | [virtual] |
void TQpDataSparse::Qmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
Definition at line 134 of file TQpDataSparse.cxx.
References fQ, TMatrixTBase< Element >::GetNoElements(), x, and y.
Referenced by ObjectiveValue().
void TQpDataSparse::Amult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
Definition at line 145 of file TQpDataSparse.cxx.
References fA, TMatrixTBase< Element >::GetNoElements(), x, and y.
void TQpDataSparse::Cmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
Definition at line 156 of file TQpDataSparse.cxx.
References fC, TMatrixTBase< Element >::GetNoElements(), x, and y.
void TQpDataSparse::ATransmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
Definition at line 167 of file TQpDataSparse.cxx.
References fA, TMatrixTBase< Element >::GetNoElements(), TMatrixTSparse< Element >::kTransposed, x, and y.
void TQpDataSparse::CTransmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
Definition at line 178 of file TQpDataSparse.cxx.
References fC, TMatrixTBase< Element >::GetNoElements(), TMatrixTSparse< Element >::kTransposed, x, and y.
void TQpDataSparse::GetDiagonalOfQ | ( | TVectorD & | dQ | ) | [virtual] |
Implements TQpDataBase.
Definition at line 290 of file TQpDataSparse.cxx.
References fQ, TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMath::Min(), n, and TVectorT< Element >::ResizeTo().
Double_t TQpDataSparse::DataNorm | ( | ) | [virtual] |
Implements TQpDataBase.
Definition at line 189 of file TQpDataSparse.cxx.
References TMatrixTBase< Element >::Abs(), TQpDataBase::fBa, TQpDataBase::fCloBound, TQpDataBase::fCloIndex, TQpDataBase::fCupBound, TQpDataBase::fCupIndex, TQpDataBase::fG, fQ, TQpDataBase::fXloBound, TQpDataBase::fXloIndex, TQpDataBase::fXupBound, TQpDataBase::fXupIndex, TVectorT< Element >::MatchesNonZeroPattern(), Max, norm(), TVectorT< Element >::NormInf(), and R__ASSERT.
Implements TQpDataBase.
Definition at line 313 of file TQpDataSparse.cxx.
References Add(), fA, TQpDataBase::fBa, fC, TQpDataBase::fCloBound, TQpDataBase::fCloIndex, TQpDataBase::fCupBound, TQpDataBase::fCupIndex, TQpDataBase::fG, TQpDataBase::fMz, TQpDataBase::fNx, fQ, TQpDataBase::fXloBound, TQpDataBase::fXloIndex, TQpDataBase::fXupBound, TQpDataBase::fXupIndex, TMatrixTSparse< Element >::kTransposed, TMatrixTSparse< Element >::Randomize(), TMatrixTSparse< Element >::RandomizePD(), TQpDataBase::RandomlyChooseBoundedVariables(), s, TVectorT< Element >::SelectNonZeros(), x, and y.
void TQpDataSparse::Print | ( | Option_t * | opt = "" |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 234 of file TQpDataSparse.cxx.
References fA, TQpDataBase::fBa, fC, TQpDataBase::fCloBound, TQpDataBase::fCloIndex, TQpDataBase::fCupBound, TQpDataBase::fCupIndex, TQpDataBase::fG, fQ, TQpDataBase::fXloBound, TQpDataBase::fXloIndex, TQpDataBase::fXupBound, TQpDataBase::fXupIndex, TMatrixTBase< Element >::Print(), and TVectorT< Element >::Print().
Implements TQpDataBase.
Definition at line 301 of file TQpDataSparse.cxx.
References TQpDataBase::fG, TQpVar::fX, and Qmult().
TQpDataSparse & TQpDataSparse::operator= | ( | const TQpDataSparse & | source | ) |
Definition at line 354 of file TQpDataSparse.cxx.
References fA, fC, fQ, TQpDataBase::operator=(), and TMatrixTSparse< Element >::ResizeTo().
virtual void TQpDataSparse::PutQIntoAt | ( | TMatrixDBase & | M, | |
Int_t | row, | |||
Int_t | col | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::PutAIntoAt | ( | TMatrixDBase & | M, | |
Int_t | row, | |||
Int_t | col | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::PutCIntoAt | ( | TMatrixDBase & | M, | |
Int_t | row, | |||
Int_t | col | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::Qmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::Amult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::Cmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::ATransmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::CTransmult | ( | Double_t | beta, | |
TVectorD & | y, | |||
Double_t | alpha, | |||
const TVectorD & | x | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::GetDiagonalOfQ | ( | TVectorD & | dQ | ) | [virtual] |
Implements TQpDataBase.
virtual Double_t TQpDataSparse::DataNorm | ( | ) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::DataRandom | ( | TVectorD & | x, | |
TVectorD & | y, | |||
TVectorD & | z, | |||
TVectorD & | s | |||
) | [virtual] |
Implements TQpDataBase.
virtual void TQpDataSparse::Print | ( | Option_t * | opt = "" |
) | const [virtual] |
Reimplemented from TObject.
Implements TQpDataBase.
TQpDataSparse& TQpDataSparse::operator= | ( | const TQpDataSparse & | source | ) |
TMatrixDSparse TQpDataSparse::fQ [protected] |
Definition at line 71 of file TQpDataSparse.h.
Referenced by DataNorm(), DataRandom(), GetDiagonalOfQ(), operator=(), Print(), PutQIntoAt(), Qmult(), SetNonZeros(), and TQpDataSparse().
TMatrixDSparse TQpDataSparse::fA [protected] |
Definition at line 72 of file TQpDataSparse.h.
Referenced by Amult(), ATransmult(), DataRandom(), operator=(), Print(), PutAIntoAt(), SetNonZeros(), and TQpDataSparse().
TMatrixDSparse TQpDataSparse::fC [protected] |
Definition at line 73 of file TQpDataSparse.h.
Referenced by Cmult(), CTransmult(), DataRandom(), operator=(), Print(), PutCIntoAt(), SetNonZeros(), and TQpDataSparse().