Changeset 4058 in Sophya


Ignore:
Timestamp:
Apr 16, 2012, 12:17:27 AM (12 years ago)
Author:
ansari
Message:

MAJ fichier modifs.tex suite ajout classes PrimeNumbers,QNumber,Units,PhysQty - Reza 16/04/2012

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Manual/modifs.tex

    r4042 r4058  
    6868V = 2.2xxx  &   \hspace{10mm}  &  Sep 2010 \ldots  \\
    6969V = 2.211  &   \hspace{10mm}  &  Novembre 2011 - NO tag  \\
     70V = 2.222  &   \hspace{10mm}  &  Avril 2012 - NO tag  \\
    7071
    7172\end{tabular}
     
    9091\titre{BaseTools}
    9192\begin{itemize}
    92 \item[\rond] Novembre 2011:  NumŽro de version 2.211 - Nov11
     93\item[\rond] Avril 2012:  Ajout des fichiers pqnumber.h .cc ,  sunitpcst.h , cc avec les classes
     94  {\bf PrimeNumbers , QNumber , Units , PhysQty } et le programme test correspondant
     95Tests/tpqunits.cc.
     96
     97\begin{verbatim}
     98---Fichiers pqnumber.h .cc
     99+ classe PrimeNumbers  (nombres premiers)
     100+ classe QNumber (nombres rationnels)
     101  // Create rational numbers from integers
     102  QNumber q1(3,4), q2(5,6), q3(6,8);
     103  // Operations and comparsion
     104  QNumber q4 = q1+q2;
     105  QNumber qq(3*7*17*5,(-5)*7*11*2);
     106  cout << " qq= " << qq << "  qq.Simplify() = " << qq.Simplify() << endl;
     107
     108---Fichiers sunitpcst.h .cc
     109+ classe  Units  ( avec dŽfinition d'une partie des unitŽs de base)
     110+ classe PhysQty (avec dŽfinition des 4 ou 5 constantes de base)
     111
     112  cout << " units::watt() : " << Units::watt() << endl;
     113  cout <<  " k_Boltzmann: " << PhysQty::k() << endl;
     114\end{verbatim}
     115
    93116\item[\rond] Septembre 2011: Ajout de 2 g\'en\'erateurs al\'eatoires. \\
    94117TinyMT[32/64]RandGen: utilisant le code Tiny Mersenne Twister (TinyMT)
Note: See TracChangeset for help on using the changeset viewer.