Re: TVector with double precision

Fons Rademakers (Fons.Rademakers@cern.ch)
Wed, 22 Apr 1998 18:53:57 +0200


Hi Martina,

the TVector and TMatrix classes use the Real_t typdef to specify
the precision. Real_t is a float. In principle it should be possible
to take the TMatrix and TVector files, change the class names and all
occurances of Real_t to Real64_t (a global edit would do). Clearly these
classes are candidates to become template classes. Any volunteers?

Cheers, Fons.

Krieg, M. wrote:
>
> Hi everybody,
> I have a question about TVector and TMatrix of the old ROOT-version (1.03).
> Is it possible to use the benefits of these classes with double precision?
> In other words:
> How (and where) can I change the Real_t type into a double precision type?
> Thanks in advance for the answer!
>
> Martina
>
> P.S.: ROOT is a great project!

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910