Changeset 956 in Sophya for trunk/SophyaLib/TArray


Ignore:
Timestamp:
Apr 17, 2000, 6:56:24 PM (25 years ago)
Author:
ansari
Message:

encore de la doc cmv 17/04/00

Location:
trunk/SophyaLib/TArray
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/basarr.h

    r926 r956  
    147147protected:
    148148  inline int CheckDI(int ka, int msg) const ;
    149   inline void CheckBound(int ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg) const ;
     149  inline void CheckBound(uint_4 ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg) const ;
    150150  // Changing Sizes/NDim ... return true if OK
    151151  bool UpdateSizes(uint_4 ndim, const uint_4 * siz, uint_4 step, uint_8 offset, string & exmsg);
     
    190190inline int BaseArray::CheckDI(int ka, int msg)  const
    191191{
    192   if ( (ka < 0) || (ka >= ndim_) ) {
     192  if ( (ka < 0) || ((uint_4) ka >= ndim_) ) {
    193193    string txt = "BaseArray::CheckDimensionIndex/Error ";   txt += ck_op_msg_[msg];
    194194    throw(RangeCheckError(txt));
     
    198198
    199199//! to verify the compatibility of the indexes in all dimensions
    200 inline void BaseArray::CheckBound(int ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg)  const
     200inline void BaseArray::CheckBound(uint_4 ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg)  const
    201201{
    202202  if ( (ix >= size_[0]) || (iy >= size_[1]) || (iz > size_[2]) ||
  • trunk/SophyaLib/TArray/sopemtx.h

    r947 r956  
    4949
    5050/*! \ingroup TArray
    51     \fn LinSolveInPlace
     51    \fn LinSolveInPlace(TMatrix<r_4>&, TVector<r_4>&)
    5252    \brief  Solve A*C = B for C in place and return determinant
    5353*/
     
    6060
    6161/*! \ingroup TArray
    62     \fn LinSolveInPlace
     62    \fn LinSolveInPlace (TMatrix<r_8>&, TVector<r_8>&)
    6363    \brief  Solve A*X = B in place and return determinant
    6464*/
     
    7171
    7272/*! \ingroup TArray
    73     \fn LinSolveInPlace 
     73    \fn LinSolveInPlace(TMatrix< complex<r_4> >&, TVector< complex<r_4> >&)
    7474    \brief Solve A*X = B in place and return determinant */
    7575inline complex<r_4> LinSolveInPlace(TMatrix< complex<r_4> >& a, TVector< complex<r_4> >& b)
     
    8181
    8282/*! \ingroup TArray
    83     \fn LinSolveInPlace 
     83    \fn LinSolveInPlace(TMatrix< complex<r_8> >&, TVector< complex<r_8> >&)
    8484    \brief  Solve A*X = B in place and return determinant
    8585*/
     
    9696
    9797/*! \ingroup TArray
    98     \fn LinSolve 
     98    \fn LinSolve(const TMatrix<r_4>&, const TVector<r_4>&, TVector<r_4>&)
    9999    \brief Solve A*C = B and return C and determinant
    100100*/
     
    108108
    109109/*! \ingroup TArray
    110     \fn LinSolve 
     110    \fn LinSolve(const TMatrix<r_8>&, const TVector<r_8>&, TVector<r_8>&)
    111111    \brief Solve A*C = B and return C and determinant
    112112*/
     
    119119
    120120/*! \ingroup TArray
    121     \fn LinSolve 
     121    \fn LinSolve(const TMatrix< complex<r_4> >&, const TVector< complex<r_4> >&, TVector< complex<r_4> >&)
    122122    \brief Solve A*C = B and return C and determinant
    123123*/
     
    130130
    131131/*! \ingroup TArray
    132     \fn LinSolve 
     132    \fn LinSolve(const TMatrix< complex<r_8> >&, const TVector< complex<r_8> >&, TVector< complex<r_8> >&)
    133133    \brief  Solve A*C = B and return C and determinant
    134134*/
     
    153153
    154154/*! \ingroup TArray
    155     \fn Inverse 
     155    \fn Inverse(TMatrix<r_4> const &)
    156156    \brief To inverse a TMatrix
    157157*/
     
    159159  {return SimpleMatrixOperation<r_4>::Inverse(A);}
    160160/*! \ingroup TArray
    161     \fn Inverse 
     161    \fn Inverse(TMatrix<r_8> const &)
    162162    \brief To inverse a TMatrix
    163163*/
     
    165165  {return SimpleMatrixOperation<r_8>::Inverse(A);}
    166166/*! \ingroup TArray
    167     \fn Inverse 
     167    \fn Inverse(TMatrix< complex<r_4> > const &)
    168168    \brief To inverse a TMatrix (complex numbers)
    169169*/
     
    171171  {return SimpleMatrixOperation< complex<r_4> >::Inverse(A);}
    172172/*! \ingroup TArray
    173     \fn Inverse 
     173    \fn Inverse(TMatrix< complex<r_8> > const &)
    174174    \brief To inverse a TMatrix (complex numbers)
    175175*/
  • trunk/SophyaLib/TArray/tarray.h

    r926 r956  
    322322
    323323// Typedef pour simplifier
    324 //! To simplify, Array \<==\> TArray<r_8>
     324/*! \ingroup TArray
     325  \typedef Array
     326  \brief To simplified TArray<r_8> writing
     327*/
    325328typedef TArray<r_8> Array;
    326329
  • trunk/SophyaLib/TArray/tmatrix.h

    r926 r956  
    147147{ TMatrix<T> result(a); result.SetTemp(true); return(result.Multiply(b)); }
    148148
    149 //! Define Matrix to be TMatrix<r_8>
     149// Typedef pour simplifier et compatibilite Peida
     150/*! \ingroup TArray
     151  \typedef Matrix
     152  \brief To simplified TMatrix<r_8> writing
     153*/
    150154typedef TMatrix<r_8> Matrix;
    151155
  • trunk/SophyaLib/TArray/tvector.h

    r926 r956  
    9898
    9999// Typedef pour simplifier et compatibilite Peida
    100 //! Define Vector to be TVector<r_8>
     100/*! \ingroup TArray
     101  \typedef Vector
     102  \brief To simplified TVector<r_8> writing
     103*/
    101104typedef TVector<r_8> Vector;
    102105
  • trunk/SophyaLib/TArray/utilarr.h

    r926 r956  
    1313/* Quelques utilitaires pour les tableaux (Array) */             
    1414
    15 //! define a function of double which returns a double
     15/*! \ingroup TArray
     16  \typedef Arr_DoubleFunctionOfX
     17  \brief define a function of float which returns a double
     18*/
    1619typedef double (* Arr_DoubleFunctionOfX) (double x);
    17 //! define a function of float which returns a float
     20/*! \ingroup TArray
     21  \typedef Arr_FloatFunctionOfX
     22  \brief define a function of float which returns a double
     23*/
    1824typedef float  (* Arr_FloatFunctionOfX)  (float x);
    1925
Note: See TracChangeset for help on using the changeset viewer.