Changeset 1013 in Sophya for trunk


Ignore:
Timestamp:
May 19, 2000, 9:01:50 AM (25 years ago)
Author:
ansari
Message:

Correction des modifs de Dominique (DY) concernant portage Mac/CW - Reza 19/5/2000

Location:
trunk/SophyaLib/TArray
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/matharr.cc

    r1010 r1013  
    149149  sig = sig/dsz - mean*mean;
    150150//   #if !defined(OS_LINUX) && !defined (__KCC__) 
    151 #if !defined(__GNUG__)
    152         //      le std pour que CW comprenne que sqrt(double) vient de math.h!
     151#if !defined(__GNUG__) && !defined (__MWERKS__)
     152  if (sig >= 0.) sig = sqrt(sig);
     153#else
     154#if defined (__MWERKS__)
     155  //    le std pour que CW comprenne que sqrt(double) vient de math.h!
    153156  if (sig >= 0.) sig = std::sqrt(sig);
    154157#else
     
    156159  // de template !!!!
    157160  if (sig >= 0.) sig = _Sqrt_(sig);
     161#endif
    158162#endif
    159163  return(mean);
  • trunk/SophyaLib/TArray/tmatrix.h

    r1003 r1013  
    1919  TMatrix(const TMatrix<T>& a, bool share);
    2020  TMatrix(const TArray<T>& a);
    21   TMatrix(const TArray<T>& a,  bool share, short mm=BaseArray::CMemoryMapping);
     21  TMatrix(const TArray<T>& a,  bool share, short mm=BaseArray::AutoMemoryMapping);
    2222
    2323  virtual ~TMatrix();
     
    9292  //! -= : substract a matrix
    9393  inline  TMatrix<T>&  operator -= (const TMatrix<T>& a)  { SubElt(a); return(*this); }
    94 
    95   // Produit matriciel Multiply : C = (*this)*B
    9694  TMatrix<T>  Multiply(const TMatrix<T>& b, short mm=BaseArray::SameMemoryMapping) const;
     95  //! *= : matrix product : C = (*this)*B
    9796  inline  TMatrix<T>&  operator *= (const TMatrix<T>& b)
    9897          { this->Set(Multiply(b));  return(*this); }
Note: See TracChangeset for help on using the changeset viewer.