r/dist/normal: add mean and stddev accessors
This commit is contained in:
parent
8228a9be0f
commit
7b070a86ad
@ -77,6 +77,10 @@ namespace cruft::rand::distribution {
|
||||
}
|
||||
|
||||
|
||||
result_type mean (void) const { return m_param.mean; }
|
||||
result_type stddev (void) const { return m_param.stddev; }
|
||||
|
||||
|
||||
private:
|
||||
template <typename GeneratorT>
|
||||
std::tuple<result_type, result_type, result_type>
|
||||
|
Loading…
Reference in New Issue
Block a user