21 #include "../wrappers/rng/rng.h" 28 #define CondGausAddNoise ConditionalGaussianAdditiveNoise 35 int num_conditional_arguments)
36 : ConditionalGaussian(additiveNoise.DimensionGet(),
37 num_conditional_arguments)
38 , _additiveNoise_Mu (additiveNoise.ExpectedValueGet())
39 , _additiveNoise_Sigma(additiveNoise.CovarianceGet())
43 int num_conditional_arguments)
44 : ConditionalGaussian(dim, num_conditional_arguments)
46 _additiveNoise_Mu.resize(dim);
47 _additiveNoise_Sigma.resize(dim);
51 CondGausAddNoise::~CondGausAddNoise()
55 CondGausAddNoise::CovarianceGet()
const 57 return AdditiveNoiseSigmaGet();
61 CondGausAddNoise::AdditiveNoiseMuGet()
const 63 return _additiveNoise_Mu;
66 const SymmetricMatrix&
67 CondGausAddNoise::AdditiveNoiseSigmaGet()
const 69 return _additiveNoise_Sigma;
73 CondGausAddNoise::AdditiveNoiseMuSet(
const ColumnVector& mu)
75 _additiveNoise_Mu = mu;
79 CondGausAddNoise::AdditiveNoiseSigmaSet(
const SymmetricMatrix& sigma)
81 _additiveNoise_Sigma = sigma;