Re: Vector Problems

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Jan 22 1998 - 20:51:34 MET


It might be that the Matrix dll must be loaded explicitely:
gSystem->Load("Matrix")   (check name in $ROOTSYS\lib).

Since Matrix is not used internally in ROOT it does not get
included by the "clever" Windows linker (although it appears
on the link line).

Cheers, Fons.

PS: the used TVector ctor exists:

//______________________________________________________________________________
TVector::TVector(Int_t lwb, Int_t upb, Double_t va_(iv1), ...)
{
   // Make a vector and assign initial values. Argument list should contain
   // Double_t values to assign to vector elements. The list must be
   // terminated by the string "END". Example:
   // TVector foo(1,3,0.0,1.0,1.5,"END");


Andy Haas wrote:
> 
> I'm running Root version 1.03/09 on NT and the vector/matrix package
> doesn't seem to be working. For instance:
> 
> TVector foo(1,3,"END");
> 
> gives:
> 
> Error: No symbol TVectorfoo(1,3,"END") in current scope.
> 
> Also, the test programs failed to compile. It feels like the Matrix
> classes aren't there at all, but I checked in the "include" directory
> and they were there.
> 
> Cheers, Andy.

-- 
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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET