35#ifndef STK_MULTILAW_JOINTBERNOULLI_H
36#define STK_MULTILAW_JOINTBERNOULLI_H
49template<
class RowVector>
63 {
return this->
law(j).prob();}
In this file we define the Bernoulli distribution.
In this file we define the Interface base classes IMultiLaw and JointProbability.
#define _T(x)
Let x unmodified.
Implement the Joint Bernoulli probability law.
JointBernoulli(int const &nbVar)
constructor
Real const & prob(int const &j) const
void setProb(int const &j, Real const &prob)
virtual ~JointBernoulli()
destructor
JointBernoulli()
default constructor
JointProbability< RowVector, Law::Bernoulli > Base
joint density class for the multivariate distributions.
Law const & law(int const &j) const
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.