[ROOT] how to run TMINUIT from a stand alone c++ class?

From: Christian Hansen (christian.hansen@cern.ch)
Date: Fri Jul 09 2004 - 02:44:48 MEST


Dear Rooters,

I'm trying to call TMinuit from a c++ class in a similar way
that I've used TMinuit in a program called directly from 
ROOT, but now I do not  know how to define the 'fcn' 
function in order for TMinuit to recognice it with the 
	SetFCN(fcn)
I've tried many different ways (attached is a small example)
but my code does not want to compile. Could anyone help me how 
to change this so that the attached code goes through the compilation?

Thanks!!!
-- 
/ Christian Hansen
                                                                                                                                                             
===============================================
Box 535            Office: +46-(0)18-471 32 57
S-751 21 Uppsala   Office: 82104
Sweden
-----------------------------------------------
Mobile    : +46-(0)708-887617
Home Page : http://welcome.to/Christian_Hansen
            http://www.cern.ch/Christian.Hansen





This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET