00001 00005 class LinEqVector_prm : public HandleId 00006 00007 { 00008 00009 protected: 00010 00011 VecSimplest(Handle(Vector(prm_NUMT))) vecvec_prm; 00012 00013 public: 00014 00015 LinEqVector_prm (int nblockvecs = 1, bool allocate = true); 00016 ~LinEqVector_prm (); 00017 00018 bool redim (int nblockvecs, bool allocate = true); 00019 00020 int size () const 00021 { return vecvec_prm.size(); } 00022 00023 void operator = (const LinEqVector_prm& pm); 00024 00025 Vector(prm_NUMT)& vec (int i = 1) 00026 { return vecvec_prm(i).getRef(); } 00027 00028 const Vector(prm_NUMT)& vec (int i = 1) const 00029 { return vecvec_prm(i).getRef(); } 00030 00031 void attach (const Vector(prm_NUMT)& vecpm, int i = 1) 00032 { vecvec_prm(i).rebind (vecpm); } 00033 00034 bool ok () const; 00035 }; 00036 00037