library: libQuadp
#include "TQpDataSparse.h"

TQpDataSparse


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

class TQpDataSparse : public TQpDataBase

Inheritance Chart:
TObject
<-
TQpDataBase
<-
TQpDataSparse

    public:
TQpDataSparse() TQpDataSparse(Int_t nx, Int_t my, Int_t mz) 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(const TQpDataSparse& another) virtual ~TQpDataSparse() 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) TQpDataSparse& operator=(const TQpDataSparse& 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) void SetNonZeros(Int_t nnzQ, Int_t nnzA, Int_t nnzC) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TMatrixDSparse fQ quadratic part of Objective function TMatrixDSparse fA Equality constraints TMatrixDSparse fC Inequality constraints

Class Description

                                                                      
 TQpDataSparse                                                        
                                                                      
 Data for the sparse QP formulation                                   
                                                                      


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

TQpDataSparse(TVectorD &c_in, TMatrixDSparse &Q_in, TVectorD &xlow_in,TVectorD &ixlow_in, TVectorD &xupp_in,TVectorD &ixupp_in, TMatrixDSparse &A_in, TVectorD &bA_in, TMatrixDSparse &C_in, TVectorD &clow_in,TVectorD &iclow_in, TVectorD &cupp_in,TVectorD &icupp_in)

TQpDataSparse(const TQpDataSparse &another) : TQpDataBase(another)

void SetNonZeros(Int_t nnzQ,Int_t nnzA,Int_t nnzC)

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


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.