compile fixes + unit tests
This commit is contained in:
parent
e281bc9213
commit
797db3e021
10 changed files with 114 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "distribution/Distribution.hpp"
|
||||
#include "Distribution.hpp"
|
||||
#include <cmath>
|
||||
|
||||
namespace xo {
|
||||
|
|
@ -13,6 +13,9 @@ namespace xo {
|
|||
public:
|
||||
Normal() = default;
|
||||
|
||||
/* N(0,1): mean 0, sdev 1 */
|
||||
static ref::rp<Normal> unit() { return new Normal(); }
|
||||
|
||||
/* normal probability density:
|
||||
*
|
||||
* x^2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue