mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
26 lines
324 B
C++
26 lines
324 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);
|
|
}
|
|
|
|
float Calculation::lowerBound() {
|
|
return -INFINITY;
|
|
}
|
|
|
|
float Calculation::upperBound() {
|
|
return INFINITY;
|
|
}
|
|
|
|
}
|