Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

RandomNormCorrPairsT< RK > Class Template Reference

#include <abkrand.h>

Collaboration diagram for RandomNormCorrPairsT< RK >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RandomNormCorrPairsT (double mean1, double stdDev1, double mean2, double stdDev2, double correlation, unsigned seed=UINT_MAX, Verbosity verb=Verbosity("silent"))
 RandomNormCorrPairsT (double mean1, double stdDev1, double mean2, double stdDev2, double correlation, const char *locIdent, unsigned counterOverride=UINT_MAX, Verbosity verb=Verbosity("silent"))
std::pair< double, double > getPair ()

Private Attributes

RandomNormalT< RK > _norm
const double _mu1
const double _mu2
const double _sigma1
const double _sigma2
const double _rho
const double _c
const double _a1
const double _a2
const double _b1
const double _b2

template<class RK>
class RandomNormCorrPairsT< RK >


Constructor & Destructor Documentation

template<class RK>
RandomNormCorrPairsT< RK >::RandomNormCorrPairsT double  mean1,
double  stdDev1,
double  mean2,
double  stdDev2,
double  correlation,
unsigned  seed = UINT_MAX,
Verbosity  verb = Verbosity("silent")
[inline]
 

template<class RK>
RandomNormCorrPairsT< RK >::RandomNormCorrPairsT double  mean1,
double  stdDev1,
double  mean2,
double  stdDev2,
double  correlation,
const char *  locIdent,
unsigned  counterOverride = UINT_MAX,
Verbosity  verb = Verbosity("silent")
[inline]
 


Member Function Documentation

template<class RK>
std::pair< double, double > RandomNormCorrPairsT< RK >::getPair  ) 
 

Definition at line 97 of file abkrand_templ.cxx.

References RandomNormCorrPairsT< RK >::_a1, RandomNormCorrPairsT< RK >::_a2, RandomNormCorrPairsT< RK >::_b1, RandomNormCorrPairsT< RK >::_b2, RandomNormCorrPairsT< RK >::_mu1, RandomNormCorrPairsT< RK >::_mu2, and RandomNormCorrPairsT< RK >::_norm.

00098 {
00099     double x1=_norm;
00100     double x2=_norm;
00101     double z1=_a1*x1+_b1*x2+_mu1;
00102     double z2=_a2*x1-_b2*x2+_mu2;
00103     return std::pair<double,double>(z1,z2);
00104 }


Member Data Documentation

template<class RK>
const double RandomNormCorrPairsT< RK >::_a1 [private]
 

Definition at line 466 of file abkrand.h.

Referenced by RandomNormCorrPairsT< RK >::getPair().

template<class RK>
const double RandomNormCorrPairsT< RK >::_a2 [private]
 

Definition at line 466 of file abkrand.h.

Referenced by RandomNormCorrPairsT< RK >::getPair().

template<class RK>
const double RandomNormCorrPairsT< RK >::_b1 [private]
 

Definition at line 466 of file abkrand.h.

Referenced by RandomNormCorrPairsT< RK >::getPair().

template<class RK>
const double RandomNormCorrPairsT< RK >::_b2 [private]
 

Definition at line 466 of file abkrand.h.

Referenced by RandomNormCorrPairsT< RK >::getPair().

template<class RK>
const double RandomNormCorrPairsT< RK >::_c [private]
 

Definition at line 463 of file abkrand.h.

template<class RK>
const double RandomNormCorrPairsT< RK >::_mu1 [private]
 

Definition at line 460 of file abkrand.h.

Referenced by RandomNormCorrPairsT< RK >::getPair().

template<class RK>
const double RandomNormCorrPairsT< RK >::_mu2 [private]
 

Definition at line 460 of file abkrand.h.

Referenced by RandomNormCorrPairsT< RK >::getPair().

template<class RK>
RandomNormalT<RK> RandomNormCorrPairsT< RK >::_norm [private]
 

Definition at line 459 of file abkrand.h.

Referenced by RandomNormCorrPairsT< RK >::getPair().

template<class RK>
const double RandomNormCorrPairsT< RK >::_rho [private]
 

Definition at line 462 of file abkrand.h.

template<class RK>
const double RandomNormCorrPairsT< RK >::_sigma1 [private]
 

Definition at line 461 of file abkrand.h.

template<class RK>
const double RandomNormCorrPairsT< RK >::_sigma2 [private]
 

Definition at line 461 of file abkrand.h.


The documentation for this class was generated from the following files:
Generated on Mon Apr 25 01:15:25 2005 for Parquete by doxygen 1.3.2