r/gen: style
This commit is contained in:
parent
a2fa34c619
commit
8228a9be0f
@ -6,6 +6,7 @@
|
||||
#include <random>
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// Probability density function for a normal distribution with specified
|
||||
/// mean and stddev at point `x`.
|
||||
static
|
||||
@ -17,6 +18,7 @@ float pdf (float x, float mean, float stddev)
|
||||
}
|
||||
|
||||
|
||||
///----------------------------------------------------------------------------
|
||||
/// Calculate the maximum difference between a histogram and a PDF for a
|
||||
/// normal distribution with a number of buckets.
|
||||
static
|
||||
@ -57,6 +59,7 @@ float max_histogram_error (int buckets)
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
int main (void)
|
||||
{
|
||||
cruft::TAP::logger tap;
|
||||
|
Loading…
Reference in New Issue
Block a user