Changeset 3097 in Sophya for trunk/SophyaLib/NTools/perandom.cc


Ignore:
Timestamp:
Oct 16, 2006, 7:17:55 PM (19 years ago)
Author:
cmv
Message:

precisions sur ComplexGaussRan cmv 16/10/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/perandom.cc

    r3075 r3097  
    239239  Les variables aleatoires r,t sont independantes:
    240240    g(r,t) = g(r) g(t)
    241 */
     241- Attention:
     242La variable complexe "c=x+iy" ainsi definie verifie:
     243              <|c|^2> = <c c*> = <x^2+y^2> = <r^2> = 2 sig^2
     244Si on veut generer une variable complexe gaussienne telle que
     245     <c c*> = s^2 alors il faut sig = s/sqrt(2) comme argument
     246*/
Note: See TracChangeset for help on using the changeset viewer.