| 
    Jpp
    18.2.0-rc.1
    
   the software that should make you happy 
   | 
 
Implementation of the JGenerator interface. More...
#include <JMarkovGenerator.hh>
  
 Public Member Functions | |
| JSingularityGenerator (double _R, JPosition3D _x0) | |
| Constructor.  More... | |
| JPosition3D | getPosition () | 
| Return a randomly generated position.  More... | |
| double | getWeight (JPosition3D pos) | 
| return the weight (=probability density dP/dV) for the given position.  More... | |
Protected Attributes | |
| const double | R | 
| const double | C | 
| JPosition3D | x0 | 
Implementation of the JGenerator interface.
Generates positions according to a probability density proportional to 1/r^2 centered around some point.
Definition at line 237 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Constructor.
The argument is the maximal distance from _x0
Definition at line 243 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated position.
Implements JMARKOV::JGenerator.
Definition at line 245 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
return the weight (=probability density dP/dV) for the given position.
When the generator is properly normalized, the integral of this quantity over the whole space is 1.
Implements JMARKOV::JGenerator.
Definition at line 252 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 260 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 261 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 262 of file JMarkovGenerator.hh.
 1.8.5