Hi Ray, Optimizing with a function like "([0]*x+[1])/[2]" is not a reasonable thing to do. The matrix of this problem will be singular,because of the correlation between [2], [0] and [1]. Better use [0]*x+[1]. I know this does not answer your question but it avoids it :-) Eddy > X-SPAM-Warning: Sending machine is listed in unconfirmed.dsbl.org > X-Authentication-Warning: pcroot.cern.ch: majordomo set sender to owner-roottalk@root.cern.ch using -f > Date: Thu, 29 Aug 2002 11:01:37 -0400 (EDT) > From: Ray Fliller III <rfliller@bnl.gov> > X-Sender: rfliller@rainman.pbn.bnl.gov > To: ROOT mailing list <roottalk@pcroot.cern.ch> > Subject: [ROOT] Fitting Parameter Limits.... > MIME-Version: 1.0 > > > Hello Rooters, > > Is there a way in root to do a fit with a TF1, and have the limit of > one parameter to be another parameter. > > For expample if my TF1 is "([0]*x+[1])/[2]", how can I make it so that > during the fitting process p1>p2 for whatever p2 is during the fit. > > -- > > RAINMAN > "How much does a piece of gum cost Ray?" > "About $100." > "How much does a new car cost Ray?" > "`Bout $100." > "There goes working for NASA!" > > ================================================================== > Ray Fliller: rfliller@bnl.gov Office Phone: (631)-344-6124 > C-A Accelerator Physics Dept. Fax: (631)-344-5954 > Building 911B > Brookhaven National Lab > Upton, NY 11973 Office: Room 211 > > http://www.agsrhichome.bnl.gov/People/rfliller/ > ================================================================== > Eddy A.J.M. Offermann Renaissance Technologies Corp. Route 25A, East Setauket NY 11733 e-mail: eddy@rentec.com http://www.rentec.com
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET