How can I use complex number with ROOT ?
Keisuke Seya (seya@ti.com)
Mon, 25 May 1998 23:36:40 +0900
Is there any way to use complex number with ROOT ?
I would like to do the calculation like below;
#include <iostream>
#include <complex>
using namespace std;
void main()
{
complex<double> a(1,2);
cout << a << endl;
cout << sin(a) << endl; //<-- I want the complex result !!
}
How can I get the result back in complex ?
Thank you in advance,
Keisuke Seya