Changeset 956 in Sophya for trunk/SophyaLib/TArray
- Timestamp:
- Apr 17, 2000, 6:56:24 PM (25 years ago)
- Location:
- trunk/SophyaLib/TArray
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/basarr.h
r926 r956 147 147 protected: 148 148 inline int CheckDI(int ka, int msg) const ; 149 inline void CheckBound( intix, 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 ; 150 150 // Changing Sizes/NDim ... return true if OK 151 151 bool UpdateSizes(uint_4 ndim, const uint_4 * siz, uint_4 step, uint_8 offset, string & exmsg); … … 190 190 inline int BaseArray::CheckDI(int ka, int msg) const 191 191 { 192 if ( (ka < 0) || ( ka >= ndim_) ) {192 if ( (ka < 0) || ((uint_4) ka >= ndim_) ) { 193 193 string txt = "BaseArray::CheckDimensionIndex/Error "; txt += ck_op_msg_[msg]; 194 194 throw(RangeCheckError(txt)); … … 198 198 199 199 //! to verify the compatibility of the indexes in all dimensions 200 inline void BaseArray::CheckBound( intix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg) const200 inline void BaseArray::CheckBound(uint_4 ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg) const 201 201 { 202 202 if ( (ix >= size_[0]) || (iy >= size_[1]) || (iz > size_[2]) || -
trunk/SophyaLib/TArray/sopemtx.h
r947 r956 49 49 50 50 /*! \ingroup TArray 51 \fn LinSolveInPlace 51 \fn LinSolveInPlace(TMatrix<r_4>&, TVector<r_4>&) 52 52 \brief Solve A*C = B for C in place and return determinant 53 53 */ … … 60 60 61 61 /*! \ingroup TArray 62 \fn LinSolveInPlace 62 \fn LinSolveInPlace (TMatrix<r_8>&, TVector<r_8>&) 63 63 \brief Solve A*X = B in place and return determinant 64 64 */ … … 71 71 72 72 /*! \ingroup TArray 73 \fn LinSolveInPlace 73 \fn LinSolveInPlace(TMatrix< complex<r_4> >&, TVector< complex<r_4> >&) 74 74 \brief Solve A*X = B in place and return determinant */ 75 75 inline complex<r_4> LinSolveInPlace(TMatrix< complex<r_4> >& a, TVector< complex<r_4> >& b) … … 81 81 82 82 /*! \ingroup TArray 83 \fn LinSolveInPlace 83 \fn LinSolveInPlace(TMatrix< complex<r_8> >&, TVector< complex<r_8> >&) 84 84 \brief Solve A*X = B in place and return determinant 85 85 */ … … 96 96 97 97 /*! \ingroup TArray 98 \fn LinSolve 98 \fn LinSolve(const TMatrix<r_4>&, const TVector<r_4>&, TVector<r_4>&) 99 99 \brief Solve A*C = B and return C and determinant 100 100 */ … … 108 108 109 109 /*! \ingroup TArray 110 \fn LinSolve 110 \fn LinSolve(const TMatrix<r_8>&, const TVector<r_8>&, TVector<r_8>&) 111 111 \brief Solve A*C = B and return C and determinant 112 112 */ … … 119 119 120 120 /*! \ingroup TArray 121 \fn LinSolve 121 \fn LinSolve(const TMatrix< complex<r_4> >&, const TVector< complex<r_4> >&, TVector< complex<r_4> >&) 122 122 \brief Solve A*C = B and return C and determinant 123 123 */ … … 130 130 131 131 /*! \ingroup TArray 132 \fn LinSolve 132 \fn LinSolve(const TMatrix< complex<r_8> >&, const TVector< complex<r_8> >&, TVector< complex<r_8> >&) 133 133 \brief Solve A*C = B and return C and determinant 134 134 */ … … 153 153 154 154 /*! \ingroup TArray 155 \fn Inverse 155 \fn Inverse(TMatrix<r_4> const &) 156 156 \brief To inverse a TMatrix 157 157 */ … … 159 159 {return SimpleMatrixOperation<r_4>::Inverse(A);} 160 160 /*! \ingroup TArray 161 \fn Inverse 161 \fn Inverse(TMatrix<r_8> const &) 162 162 \brief To inverse a TMatrix 163 163 */ … … 165 165 {return SimpleMatrixOperation<r_8>::Inverse(A);} 166 166 /*! \ingroup TArray 167 \fn Inverse 167 \fn Inverse(TMatrix< complex<r_4> > const &) 168 168 \brief To inverse a TMatrix (complex numbers) 169 169 */ … … 171 171 {return SimpleMatrixOperation< complex<r_4> >::Inverse(A);} 172 172 /*! \ingroup TArray 173 \fn Inverse 173 \fn Inverse(TMatrix< complex<r_8> > const &) 174 174 \brief To inverse a TMatrix (complex numbers) 175 175 */ -
trunk/SophyaLib/TArray/tarray.h
r926 r956 322 322 323 323 // 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 */ 325 328 typedef TArray<r_8> Array; 326 329 -
trunk/SophyaLib/TArray/tmatrix.h
r926 r956 147 147 { TMatrix<T> result(a); result.SetTemp(true); return(result.Multiply(b)); } 148 148 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 */ 150 154 typedef TMatrix<r_8> Matrix; 151 155 -
trunk/SophyaLib/TArray/tvector.h
r926 r956 98 98 99 99 // 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 */ 101 104 typedef TVector<r_8> Vector; 102 105 -
trunk/SophyaLib/TArray/utilarr.h
r926 r956 13 13 /* Quelques utilitaires pour les tableaux (Array) */ 14 14 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 */ 16 19 typedef 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 */ 18 24 typedef float (* Arr_FloatFunctionOfX) (float x); 19 25
Note:
See TracChangeset
for help on using the changeset viewer.