/*! dcovector constructor to cast _dcovector */
inline dcovector::dcovector(const _dcovector& vec)
{VERBOSE_REPORT;
  //////// initialize ////////
  l =vec.l;
  cap =vec.cap;
  array =vec.array;
  
  vec.nullify();
}
Beispiel #2
0
/*! return a transposed row vector */
inline drovector t(const _dcovector& covec)
{   VERBOSE_REPORT;
    _drovector rovec;
    rovec.l =covec.l;
    rovec.cap =covec.cap;
    delete [] rovec.array;
    rovec.array =covec.array;

    covec.nullify();
    return rovec;
}