From: <and...@us...> - 2008-07-22 12:32:46
|
Revision: 8554 http://plplot.svn.sourceforge.net/plplot/?rev=8554&view=rev Author: andrewross Date: 2008-07-22 12:32:51 +0000 (Tue, 22 Jul 2008) Log Message: ----------- Keep function definitions in plplot.h in alphabetical order. Modified Paths: -------------- trunk/include/plplot.h Modified: trunk/include/plplot.h =================================================================== --- trunk/include/plplot.h 2008-07-22 10:57:10 UTC (rev 8553) +++ trunk/include/plplot.h 2008-07-22 12:32:51 UTC (rev 8554) @@ -550,6 +550,8 @@ #define plpsty c_plpsty #define plptex c_plptex #define plptex3 c_plptex3 +#define plrandd c_plrandd +#define plrandi c_plrandi #define plreplot c_plreplot #define plrgb c_plrgb #define plrgb1 c_plrgb1 @@ -575,6 +577,7 @@ #define plsdiori c_plsdiori #define plsdiplt c_plsdiplt #define plsdiplz c_plsdiplz +#define plseed c_plseed #define plsesc c_plsesc #define plsetopt c_plsetopt #define plsfam c_plsfam @@ -618,9 +621,6 @@ #define plwid c_plwid #define plwind c_plwind #define plxormod c_plxormod -#define plseed c_plseed -#define plrandi c_plrandi -#define plrandd c_plrandd #endif /* __PLSTUBS_H__ */ @@ -1177,6 +1177,18 @@ c_plptex3(PLFLT wx, PLFLT wy, PLFLT wz, PLFLT dx, PLFLT dy, PLFLT dz, PLFLT sx, PLFLT sy, PLFLT sz, PLFLT just, const char *text); +/* Random number generator based on Mersenne Twister. + Obtain real random number in range [0,1]. */ + +PLDLLIMPEXP PLFLT +c_plrandd(void); + +/* Random number generator based on Mersenne Twister. + Obtain integer random number in range [0,0xffffffffa]. */ + +PLDLLIMPEXP unsigned long +c_plrandi(void); + /* Replays contents of plot buffer to current device/file. */ PLDLLIMPEXP void @@ -1309,6 +1321,11 @@ PLDLLIMPEXP void c_plsdiplz(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax); +/* Set seed for internal random number generator */ + +PLDLLIMPEXP void +c_plseed(unsigned int s); + /* Set the escape character for text strings. */ PLDLLIMPEXP void @@ -1580,19 +1597,6 @@ PLDLLIMPEXP void c_plxormod(PLBOOL mode, PLBOOL *status); -/* Random number generator based on Mersenne Twister. - Functions to set seed and obtain random numbers as integer - ([0,0xffffffff]-interval) and as double/float ([0,1]-real-interval). */ - -PLDLLIMPEXP void -c_plseed(unsigned int s); - -PLDLLIMPEXP unsigned long -c_plrandi(void); - -PLDLLIMPEXP PLFLT -c_plrandd(void); - /*--------------------------------------------------------------------------*\ * Functions for use from C or C++ only \*--------------------------------------------------------------------------*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |