RE: [ROOT] Operations with TVector

From: Philippe Canal (pcanal@fnal.gov)
Date: Mon Aug 18 2003 - 17:56:49 MEST


Hi Dmitry,

The version of the TVector constructor is only usable (at least for now) in
compiled code.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Dmitry A. Shtol
Sent: Monday, August 18, 2003 2:38 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Operations with TVector


Hi,
How to do operations with TVectors by elements? For example, to multiplie to
vectors by elements?

One more problem. I want to set the initial values of vector elements as it
is said in TVector class description:

TVector foo(1,3,0.0,1.0,1.5,"END");

But in doesn't work. What's wrong?
Thank you.

==============================================================
Dmitry A. Shtol                        (SND group)
Budker Institute of Nuclear Physics



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET