jrl::qp::test::scalar_normal_random_op< Scalar > Struct Template Reference

#include <jrl-qp/test/randomMatrices.h>

Public Member Functions

 scalar_normal_random_op (double mean=0, double stddev=1)
 
const Scalar operator() () const
 

Public Attributes

std::normal_distribution< Scalar > d_
 

Detailed Description

template<typename Scalar>
struct jrl::qp::test::scalar_normal_random_op< Scalar >

Functor returning number following a normal distribution.

Constructor & Destructor Documentation

◆ scalar_normal_random_op()

template<typename Scalar >
jrl::qp::test::scalar_normal_random_op< Scalar >::scalar_normal_random_op ( double  mean = 0,
double  stddev = 1 
)
inline

Member Function Documentation

◆ operator()()

template<typename Scalar >
const Scalar jrl::qp::test::scalar_normal_random_op< Scalar >::operator() ( ) const
inline

Member Data Documentation

◆ d_

template<typename Scalar >
std::normal_distribution<Scalar> jrl::qp::test::scalar_normal_random_op< Scalar >::d_
mutable

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