EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::SampleWithLogDensity< Space, Scalar > Struct Template Reference

One sample in Space, in a vector sized by the space, together with the log of the density it was drawn from, evaluated at it: what drawSampleWithLogDensity() returns, so that a bounded space allocates nothing [allocation]. More...

#include <EmrysFilter/Distributions/Sampling.h>

Public Attributes

Moments< Space, Scalar >::VectorType sample
 the sample
Scalar logDensity = 0
 the log-density at sample

Detailed Description

template<typename Space, typename Scalar = double>
struct Emrys::SampleWithLogDensity< Space, Scalar >

One sample in Space, in a vector sized by the space, together with the log of the density it was drawn from, evaluated at it: what drawSampleWithLogDensity() returns, so that a bounded space allocates nothing [allocation].

See also
drawSampleWithLogDensity()

The documentation for this struct was generated from the following file: