eoRNG.h
This commit is contained in:
parent
471bd9a9e2
commit
f948ccda3a
2 changed files with 4 additions and 4 deletions
|
|
@ -111,11 +111,11 @@ inline void eoGnuplot::initGnuPlot(std::string _title, std::string _extra)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SSTREAM
|
#ifdef HAVE_SSTREAM
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
os << "300x200-0+" << numWindow*220;
|
os << "250x150-0+" << numWindow*170;
|
||||||
#else
|
#else
|
||||||
char snum[255];
|
char snum[255];
|
||||||
std::ostrstream os(snum, 254);
|
std::ostrstream os(snum, 254);
|
||||||
os << "300x200-0+" << numWindow*220 << std::ends;
|
os << "250x150-0+" << numWindow*170 << std::ends;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
numWindow++;
|
numWindow++;
|
||||||
|
|
@ -154,7 +154,7 @@ inline void eoGnuplot::initGnuPlot(std::string _title, std::string _extra)
|
||||||
* Created......: Mon Mar 13 13:50:11 1995
|
* Created......: Mon Mar 13 13:50:11 1995
|
||||||
* Description..: Communication par pipe bidirectionnel avec un autre process
|
* Description..: Communication par pipe bidirectionnel avec un autre process
|
||||||
*
|
*
|
||||||
* Ident........: $Id: eoGnuplot.h,v 1.11 2004-09-22 08:18:28 kuepper Exp $
|
* Ident........: $Id: eoGnuplot.h,v 1.12 2005-09-07 17:09:19 maartenkeijzer Exp $
|
||||||
* ----------------------------------------------------------------------
|
* ----------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ public :
|
||||||
*/
|
*/
|
||||||
double uniform(double m = 1.0)
|
double uniform(double m = 1.0)
|
||||||
{ // random number between [0, m]
|
{ // random number between [0, m]
|
||||||
return m * double(rand()) / double(1.0+rand_max());
|
return m * double(rand()) / double(rand_max());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Reference in a new issue