Re: Real_t Double_t in TMatrix

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Feb 01 2000 - 17:29:50 MET


Hi Nicolas,

   these methods are just there so that you don't have to cast
in case putting a double in a matrix (although you will loose
precision). In the near future the TMatrix and TVector classes
will get double precision cousins.

Cheers, Fons.




Nicolas Produit wrote:
> 
> Hi,
> why are some methods of TMatrix defined with Double_t
> and some other with Real_t?
> The base element seems to be Real_t:
> TMatrix &TMatrix::operator=(Real_t val)
> TMatrix &TMatrix::operator+=(Double_t val)
> 
> Thanks
> 
> --
>               Nicolas Produit

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



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:18 MET