.TH "__gnu_cxx::subtractive_rng" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::subtractive_rng .SH SYNOPSIS .br .PP .PP Inherits \fBstd::unary_function< unsigned int, unsigned int >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef unsigned int \fBargument_type\fP" .br .RI "\fCargument_type\fP is the type of the argument " .ti -1c .RI "typedef unsigned int \fBresult_type\fP" .br .RI "\fCresult_type\fP is the return type " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBsubtractive_rng\fP ()" .br .RI "Default ctor; initializes its state with some number you don't see\&. " .ti -1c .RI "\fBsubtractive_rng\fP (unsigned int __seed)" .br .RI "Ctor allowing you to initialize the seed\&. " .ti -1c .RI "void \fB_M_initialize\fP (unsigned int __seed)" .br .ti -1c .RI "unsigned int \fBoperator()\fP (unsigned int __limit)" .br .RI "Returns a number less than the argument\&. " .in -1c .SH "Detailed Description" .PP The \fCsubtractive_rng\fP class is documented on \fCSGI's site\fP\&. Note that this code assumes that \fCint\fP is 32 bits\&. .PP Definition at line 344 of file ext/functional\&. .SH "Member Typedef Documentation" .PP .SS "typedef unsigned int \fBstd::unary_function\fP< unsigned int , unsigned int >::\fBargument_type\fP\fC [inherited]\fP" .PP \fCargument_type\fP is the type of the argument .PP Definition at line 108 of file stl_function\&.h\&. .SS "typedef unsigned int \fBstd::unary_function\fP< unsigned int , unsigned int >::\fBresult_type\fP\fC [inherited]\fP" .PP \fCresult_type\fP is the return type .PP Definition at line 111 of file stl_function\&.h\&. .SH "Constructor & Destructor Documentation" .PP .SS "__gnu_cxx::subtractive_rng::subtractive_rng (unsigned int __seed)\fC [inline]\fP" .PP Ctor allowing you to initialize the seed\&. .PP Definition at line 386 of file ext/functional\&. .SS "__gnu_cxx::subtractive_rng::subtractive_rng ()\fC [inline]\fP" .PP Default ctor; initializes its state with some number you don't see\&. .PP Definition at line 390 of file ext/functional\&. .SH "Member Function Documentation" .PP .SS "unsigned int __gnu_cxx::subtractive_rng::operator() (unsigned int __limit)\fC [inline]\fP" .PP Returns a number less than the argument\&. .PP Definition at line 355 of file ext/functional\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.