121   for (i = 0; i < 
n; i++) {
 
  126         xlow [i] = (
Drand(
ix)-0.5)*3.0;
 
  138         xlow [i] = (
Drand(
ix)-0.5)*3.0;
 
  151   for (i = 0; i < 
n; i++) {
 
  157      else if (
ixlow[i] != 0.0 && 
ixupp[i] != 0.0) {
 
  165         else if ( 
r > .66 ) {
 
  173            x    [i] = (1-theta)*xlow[i]+theta*
xupp[i];
 
  177      else if (
ixlow[i] != 0.0) {
 
  186            x    [i] = xlow[i]+0.005+10.0*
Drand(
ix);
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Double_t Drand(Double_t &ix)
Random number generator [0....1] with seed ix.
Mother of all ROOT objects.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
Data for the general QP formulation.
TQpDataBase & operator=(const TQpDataBase &source)
Assignment operator.
TQpDataBase()
Default constructor.
static void RandomlyChooseBoundedVariables(TVectorD &x, TVectorD &dualx, TVectorD &blx, TVectorD &ixlow, TVectorD &bux, TVectorD &ixupp, Double_t &ix, Double_t percentLowerOnly, Double_t percentUpperOnly, Double_t percentBound)
Randomly choose x and its boundaries.
TVectorT< Element > & ResizeTo(Int_t lwb, Int_t upb)
Resize the vector to [lwb:upb] .