mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
18 lines
211 B
C++
18 lines
211 B
C++
#include "calculation.h"
|
|
#include <assert.h>
|
|
#include <math.h>
|
|
|
|
namespace Probability {
|
|
|
|
Calculation::Calculation():
|
|
m_law(nullptr)
|
|
{
|
|
}
|
|
|
|
void Calculation::setLaw(Law * law) {
|
|
m_law = law;
|
|
compute(0);
|
|
}
|
|
|
|
}
|