src/Matrix/col_vector.cc
/*      Input                   cvec    : A column vector (this)
                                eidx    : Error index
                                noret   : Flag for linefeed (0=linefeed)
                                pname   : string in message
        Output                  none    : Error message output
                                          Program execution stopped if fatal

  The following error messages use the defaults set in the Gutils package

                Case                          Error Message

                (0)                     Program Aborting.....
                (9)                     Problems During Construction
                default                 Unknown Error                        */


The following error messages use the defaults set in the Gutils package

Case                          Error Message

(0)                     Program Aborting
(9)                     Problems During Construction
default                 Unknown Error
The following error messages use the defaults set in the Gutils package Case Error Message ( 0 ) Program Aborting ( 9 ) Problems During Construction default Unknown Error
void col_vector::CVerror(int eidx, int noret) const
  {
  std::string hdr("Column Vector");
  std::string msg;
  switch (eidx)
    {
    case 29: MxModError(hdr,"Operation Is Disallowed",     noret); break;
    case 30: MxModError(hdr,"Multiple Columns Disallowed", noret); break;
    case 31: MxModError(hdr,"Cannot Assign From Row Vec",  noret); break;
    case 40: MxModError(hdr,"Cannot Perform Construction", noret); break;
    case 41: MxModError(hdr,"Matrix-Vector Size Mismatch", noret); break;
    case 42: MxModError(hdr,"Vector-Vector Size Mismatch", noret); break;
    case 43: MxModError(hdr,"Can't Multiply 2 Col Vectors",noret); break;
    case 44: MxModError(hdr,"Trace On Vector Not Allowed", noret); break;
    default: MxModError(hdr, eidx, noret); break;
    }
  }
void col_vector :: CVerror ( int eidx , int noret ) const { std :: string hdr ( " " ) ; std :: string msg ; switch ( eidx ) { case 29 : MxModError ( hdr , " " , noret ) ; break ; case 30 : MxModError ( hdr , " " , noret ) ; break ; case 31 : MxModError ( hdr , " " , noret ) ; break ; case 40 : MxModError ( hdr , " " , noret ) ; break ; case 41 : MxModError ( hdr , " " , noret ) ; break ; case 42 : MxModError ( hdr , " " , noret ) ; break ; case 43 : MxModError ( hdr , " " , noret ) ; break ; case 44 : MxModError ( hdr , " " , noret ) ; break ; default : MxModError ( hdr , eidx , noret ) ; break ; } }
Input                   cvec    : A column vector (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
pname   : string in message
Output                  none    : Error message output
Program execution stopped if fatal
Input cvec : A column vector ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) pname : string in message Output none : Error message output Program execution stopped if fatal
// (29) // (30) // (31) // (40) // (41) // (42) // (43) // (44) // Usually Unknown Error  (-1)