[ROOT] TComplex and 64 bit in root?

From: Peter Lipa (lipa@nsma.arizona.edu)
Date: Thu Feb 07 2002 - 20:13:29 MET


Dear Fons&Rene,

What is the best way to introduce a complex data type (actually both, compex
floats and 
complex doubles) into root?
The complex type should have real and imaginary parts stored sequentially in
memory - to make
it easy to link to fortran legacy libs (such as FFT, complex matrix
algebrea, etc).

The main question is: do you plan to support a Complex_t and a ComplexD_t
type (or similar 
root names) in the near future and have the streamers, trees etc support
this type natively?
(Can't do FFT without some complex type!!). That would be great (and easy to
do).
Otherwise we would have to come up with some TComplex class on our own.
In the latter case, would you be so kind and give us some advice how YOU
would design a TComplex
class the integrates most easily into the root architecture?
Is the STL complex template supported, or is this still not an advisable
route?

The same for int64 type. (There you mentioned a few weeks ago you would
support this type in an
upcoming version. Guess, we just have to be patient on that one.....)

Also, I was wondering, with the advent of 64bit intel processors, would it
be hard to 
convert root files to 64 bit addressing, thereby lifting the 2Gb file size
limit?
Any plans regarding 64bit?

Thanks,
Peter






****************************************************************************
Peter Lipa, PhD                            e-mail: lipa@nsma.arizona.edu
Arizona Research Labs - Neural Systems, Memory and Aging  
University of Arizona
Life Sciences North Bldg, Room 384;   Phone: (520) 626-3101
Tucson, AZ 85724-515                       Fax: (520) 626-2618
****************************************************************************



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET