Boost logo

Ublas :

From: Eddie.Vedder_at_[hidden]
Date: 2005-10-20 09:44:16

Dear list,

I try to write my own class vector3d inherited from ublas::vector as
proposed at
How can I assign an element of the vector within the constructor? I tried to
operator () and data(), but both didn't work.

vector3d( double x, double y, double z )
  operator () (0) = x;
  data () [0] = x;

Can anybody help?


Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat