This repository has been archived on 2026-03-28. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
eodev/test/t-uniform.cpp

16 lines
264 B
C++

#include <eo>
#include <do>
#include "Rosenbrock.h"
typedef eoReal< eoMinimizingFitness > EOT;
int main(void)
{
eoState state;
doUniform< EOT >* distrib = new doUniform< EOT >( EOT(3, -1), EOT(3, 1) );
state.storeFunctor(distrib);
return 0;
}