Warning, file /include/root/TQpProbSparse.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 #ifndef ROOT_TQpProbSparse
0044 #define ROOT_TQpProbSparse
0045
0046 #include "TQpProbBase.h"
0047 #include "TQpDataSparse.h"
0048 #include "TQpVar.h"
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058 class TQpProbSparse : public TQpProbBase
0059 {
0060
0061 public:
0062
0063 TQpProbSparse() {}
0064 TQpProbSparse(Int_t nx,Int_t my,Int_t mz);
0065 TQpProbSparse(const TQpProbSparse &another);
0066
0067 ~TQpProbSparse() override {}
0068
0069 virtual TQpDataBase *MakeData (Double_t *c,
0070 Int_t nnzQ,Int_t *irowQ,Int_t *icolQ,Double_t *Q,
0071 Double_t *xlo,Bool_t *ixlo,
0072 Double_t *xup,Bool_t *ixup,
0073 Int_t nnzA,Int_t *irowA,Int_t *icolA,Double_t *A,
0074 Double_t *bA,
0075 Int_t nnzC,Int_t *irowC,Int_t *icolC,Double_t *C,
0076 Double_t *clo,Bool_t *iclo,
0077 Double_t *cup,Bool_t *icup);
0078 TQpDataBase *MakeData (TVectorD &c,
0079 TMatrixDBase &Q_in,
0080 TVectorD &xlo, TVectorD &ixlo,
0081 TVectorD &xup, TVectorD &ixup,
0082 TMatrixDBase &A_in,TVectorD &bA,
0083 TMatrixDBase &C_in,
0084 TVectorD &clo, TVectorD &iclo,
0085 TVectorD &cup, TVectorD &icup) override;
0086 TQpResidual *MakeResiduals(const TQpDataBase *data) override;
0087 TQpVar *MakeVariables(const TQpDataBase *data) override;
0088 TQpLinSolverBase *MakeLinSys (const TQpDataBase *data) override;
0089
0090 void JoinRHS (TVectorD &rhs_in,TVectorD &rhs1_in,TVectorD &rhs2_in,TVectorD &rhs3_in) override;
0091 void SeparateVars (TVectorD &x_in,TVectorD &y_in,TVectorD &z_in,TVectorD &vars_in) override;
0092 void MakeRandomData(TQpDataSparse *&data,TQpVar *&soln,Int_t nnzQ,Int_t nnzA,Int_t nnzC);
0093
0094 TQpProbSparse &operator=(const TQpProbSparse &source);
0095
0096 ClassDefOverride(TQpProbSparse,1)
0097 };
0098 #endif