// $Header: /cvs/gled-1.2/GledCore/Stones/ZVectorD.cxx,v 1.1.1.1 2003/06/02 10:39:59 matevz Exp $

// Copyright (C) 1999-2003, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

#include "ZVectorD.h"
ClassImp(ZVectorD)

#include <Stones/ZVector.h>

 ZVectorD::ZVectorD(ZVector& x) : TVectorD(x.GetNrows()) {
  *this = x;
}

ZVectorD& ZVectorD::operator=(const ZVector& source)
{
  if(GetNrows() != source.GetNrows())
    ResizeTo(source.GetNrows());
  for(UCIndex_t i=0; i<GetNrows(); i++)
    fElements[i] = source(i);
  return *this;
}


ROOT page - Home page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.