Пример #1
0
 LiftingLrDpleInternal* LiftingLrDpleInternal::clone() const {
   // Return a deep copy
   std::map<std::string, std::vector<Sparsity> > tmp;
   tmp["a"] = st_[LR_Dple_STRUCT_A];
   tmp["v"] = st_[LR_Dple_STRUCT_V];
   tmp["c"] = st_[LR_Dple_STRUCT_C];
   tmp["h"] = st_[LR_Dple_STRUCT_H];
   LiftingLrDpleInternal* node = new LiftingLrDpleInternal(tmp);
   node->setOption(dictionary());
   return node;
 }
 LiftingLrDpleInternal* LiftingLrDpleInternal::clone() const {
   // Return a deep copy
   LiftingLrDpleInternal* node = new LiftingLrDpleInternal(st_);
   node->setOption(dictionary());
   return node;
 }