src/Matrix/col_vector.cc
/*              Input           cvec    : A column vector (this)
                                ostr    : Output ASCII file stream
                                full    : Flag for amount of output
                Return          void    : cvec is sent to the output stream  */
Input           cvec    : A column vector (this)
ostr    : Output ASCII file stream
full    : Flag for amount of output
Return          void    : cvec is sent to the output stream
Input cvec : A column vector ( this ) ostr : Output ASCII file stream full : Flag for amount of output Return void : cvec is sent to the output stream
std::string col_vector::hdrString() const
  {
  std::string hdr;
  if(!size()) hdr = "Empty Column Vector";
  else
    {
    std::string vtype("");
    if(is_real())           vtype = " Real";
    else if(is_imaginary()) vtype = " Imaginary";
    hdr = MxModdec(size()) + std::string(" x 1")
        + vtype + std::string(" Column Vector");
    }
  return hdr;
  }
std :: string col_vector :: hdrString ( ) const { std :: string hdr ; if ( ! size ( ) ) hdr = " " ; else { std :: string vtype ( " " ) ; if ( is_real ( ) ) vtype = " " ; else if ( is_imaginary ( ) ) vtype = " " ; hdr = MxModdec ( size ( ) ) + std :: string ( " " ) + vtype + std :: string ( " " ) ; } return hdr ; }
Input           cvec    : A column vector (this)
ostr    : Output ASCII file stream
full    : Flag for amount of output
Return          void    : cvec is sent to the output stream
Input cvec : A column vector ( this ) ostr : Output ASCII file stream full : Flag for amount of output Return void : cvec is sent to the output stream