27 REQUIRE(dimension>0,
"Dimension of Distribution must be positive\n",
42 SG_ERROR(
"Not implemented in sub-class\n");
57 SG_ERROR(
"Not implemented in sub-class\n");
64 "match dimension of distribution (%d)\n", sample_vec.
vlen,
72 void CProbabilityDistribution::init()
virtual float64_t log_pdf(SGVector< float64_t > sample_vec) const
Class SGObject is the base class of all shogun objects.
CProbabilityDistribution()
all of classes and functions are contained in the shogun namespace
virtual SGVector< float64_t > log_pdf_multiple(SGMatrix< float64_t > samples) const
virtual SGVector< float64_t > sample() const
virtual ~CProbabilityDistribution()