ql/Math/sequencestatistics.hpp File Reference


Detailed Description

Statistics tools for sequence (vector, list, array) samples.

#include <ql/Math/statistics.hpp>

Include dependency graph for sequencestatistics.hpp:

Include dependency graph

Namespaces

namespace  QuantLib

Defines

#define DEFINE_SEQUENCE_STAT_CONST_METHOD_VOID(METHOD)
#define DEFINE_SEQUENCE_STAT_CONST_METHOD_DOUBLE(METHOD)

Define Documentation

#define DEFINE_SEQUENCE_STAT_CONST_METHOD_VOID METHOD   ) 
 

Value:

template <class Stat> \ std::vector<Real> \ SequenceStatistics<Stat>::METHOD() const { \ for (Size i=0; i<dimension_; i++) \ results_[i] = stats_[i].METHOD(); \ return results_; \ }

#define DEFINE_SEQUENCE_STAT_CONST_METHOD_DOUBLE METHOD   ) 
 

Value:

template <class Stat> \ std::vector<Real> \ SequenceStatistics<Stat>::METHOD(Real x) const { \ for (Size i=0; i<dimension_; i++) \ results_[i] = stats_[i].METHOD(x); \ return results_; \ }


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen