Changeset 2798 in Sophya for trunk/Eval/JET/smtx.cc


Ignore:
Timestamp:
Jun 4, 2005, 12:05:35 AM (20 years ago)
Author:
ansari
Message:

Adaptation aux modifs 2004-2005 de SOPHYA , compil pour PBG4 - Reza 3 Juin 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Eval/JET/smtx.cc

    r2363 r2798  
    11#include "machdefs.h"
     2#include "pexceptions.h"
    23
    34#include <math.h>
     
    910//       Reza - Avril 2003
    1011//--------------------------------------------------------
    11 
    12 // ---------------------------------------------------
    13 // -------- Classe Taille objet Matrice --------------
    14 // ---------------------------------------------------
    15 
    16 
    17 bool MtxSize::CompareSize(const MtxSize & a) const
    18 {
    19   if ((a.nrow_ == 0) || (a.ncol_ == 0) )
    20     throw RangeCheckError("MtxSize::CompareSize(mx) Size(mx) = 0");
    21   if ((nrow_ == a.nrow_) && (ncol_ == a.ncol_))  return true;
    22   else return false;
    23 }
    2412
    2513// ---------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.