class mrpt::math::CMonteCarlo::CStatisticalAnalyzerΒΆ

class CStatisticalAnalyzer
{
public:
    // construction

    template <typename VEC>
    CStatisticalAnalyzer(const VEC& v1);

    //
methods

    template <typename VEC>
    void setData(const VEC& v1);

    template <typename VEC>
    void getData(VEC& v1) const;

    template <typename VEC1, typename VEC2>
    void getDistribution(
        VEC1& vx,
        VEC2& vy,
        const NUM width = 1.0
        ) const;

    void getDistribution(
        std::vector<double>& vx,
        std::vector<double>& vy,
        const NUM width = 1.0
        ) const;
};