an intermediate commit to keep updates
This commit is contained in:
parent
1070ec8a32
commit
963d59e706
21 changed files with 649 additions and 556 deletions
21
src/doStatUniform.h
Normal file
21
src/doStatUniform.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef _doStatUniform_h
|
||||
#define _doStatUniform_h
|
||||
|
||||
#include "doStat.h"
|
||||
#include "doUniform.h"
|
||||
|
||||
template < typename EOT >
|
||||
class doStatUniform : public doStat< doUniform< EOT > >
|
||||
{
|
||||
public:
|
||||
doStatUniform( doUniform< EOT >& distrib )
|
||||
: doStat< doUniform< EOT > >( distrib )
|
||||
{}
|
||||
|
||||
virtual void printOn(std::ostream& os) const
|
||||
{
|
||||
os << this->distrib().min() << " " << this->distrib().max();
|
||||
}
|
||||
};
|
||||
|
||||
#endif // !_doStatUniform_h
|
||||
Reference in a new issue