116 diag[i+
fNx+
fMy] = zdiag[i];
136 if (
this != &source) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
virtual void SetMatrix(const TMatrixDSparse &a)
Set matrix to be decomposed .
static void Solve(const Int_t n, TArrayD &Aa, TArrayI &Aiw, TArrayD &Aw, const Int_t maxfrt, TVectorD &b, TArrayI &Aiw1, const Int_t nsteps, Int_t *icntl, Int_t *info)
Main routine for solving Ax=b.
TMatrixTBase< Element > & ResizeTo(Int_t nrows, Int_t ncols, Int_t nr_nonzeros=-1) override
Set size of the matrix to nrows x ncols with nr_nonzeros non-zero entries if nr_nonzeros > 0 .
Data for the general QP formulation.
Data for the sparse QP formulation.
Implementation of main solver for linear systems.
TQpLinSolverBase & operator=(const TQpLinSolverBase &source)
Assignment operator.
virtual void Factor(TQpDataBase *prob, TQpVar *vars)
Sets up the matrix for the main linear system in "augmented system" form.
Implements the aspects of the solvers for dense general QP formulation that are specific to the dense...
TDecompSparse fSolveSparse
void PutZDiagonal(TVectorD &zdiag) override
Places the diagonal resulting from the bounds on Cx into the augmented system matrix.
void PutXDiagonal(TVectorD &xdiag) override
Places the diagonal resulting from the bounds on x into the augmented system matrix.
void Factor(TQpDataBase *prob, TQpVar *vars) override
Sets up the matrix for the main linear system in "augmented system" form.
TQpLinSolverSparse & operator=(const TQpLinSolverSparse &source)
Assignment operator.
void SolveCompressed(TVectorD &rhs) override
Perform the actual solve using the factors produced in factor.
dense matrix problem formulation
Class containing the variables for the general QP formulation.