- Code: Select all
AntiThetic::AntiThetic(const Wrapper<RandomBase>& innerGenerator )
: RandomBase(*innerGenerator),
InnerGenerator(innerGenerator)
Do you mind explaining
- Code: Select all
RandomBase(*innerGenerator)
From a most basic perspective, I'm having trouble understanding the syntax, because I thought in the initialization of a constructor, the statements that come after the single colon were always in the form of some
- Code: Select all
private_member(argument for private_member)
- Code: Select all
const Wrapper<RandomBase>& innerGenerator
- Code: Select all
RandomBase(*innerGenerator)
Last but not least, at the end of Chapter 6 when the driver file RandomMain3.cpp is run, an AntiThetic object called GenTwo with argument of type RandomParkMiller called generator is fed into a SimpleMonteCarlo6 object, which invokes the method
- Code: Select all
GetGaussians(VariateArray)
Thank you!
