mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
Merge pull request #716 from nasa/715
Add accessor for MonteVarRandom::randist
This commit is contained in:
commit
6b6e4ea027
@ -185,6 +185,13 @@ namespace Trick {
|
||||
*/
|
||||
double get_absolute_max() const { return (randist.rel_max) ? (randist.mu + randist.max) : randist.max; }
|
||||
|
||||
/**
|
||||
* gets the random distribution
|
||||
*
|
||||
* @return the random distribution
|
||||
*/
|
||||
const TRICK_GSL_RANDIST& get_random_distribution();
|
||||
|
||||
// Describes the properties of this variable.
|
||||
std::string describe_variable();
|
||||
|
||||
|
@ -240,3 +240,7 @@ Trick::MonteVarRandom::updateStlRandom() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const TRICK_GSL_RANDIST& Trick::MonteVarRandom::get_random_distribution() {
|
||||
return randist;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user