.TH "std::mersenne_twister_engine< _UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f >" 3cxx "Fri Dec 19 2014" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::mersenne_twister_engine< _UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f > \- .SH SYNOPSIS .br .PP .SH "Detailed Description" .PP .SS "templateclass std::mersenne_twister_engine< _UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f >" A generalized feedback shift register discrete random number generator\&. .PP This algorithm avoids multiplication and division and is designed to be friendly to a pipelined architecture\&. If the parameters are chosen correctly, this generator will produce numbers with a very long period and fairly good apparent entropy, although still not cryptographically strong\&. .PP The best way to use this generator is with the predefined mt19937 class\&. .PP This algorithm was originally invented by Makoto Matsumoto and Takuji Nishimura\&. .PP \fBTemplate Parameters:\fP .RS 4 \fI__w\fP Word size, the number of bits in each element of the state vector\&. .br \fI__n\fP The degree of recursion\&. .br \fI__m\fP The period parameter\&. .br \fI__r\fP The separation point bit index\&. .br \fI__a\fP The last row of the twist matrix\&. .br \fI__u\fP The first right-shift tempering matrix parameter\&. .br \fI__d\fP The first right-shift tempering matrix mask\&. .br \fI__s\fP The first left-shift tempering matrix parameter\&. .br \fI__b\fP The first left-shift tempering matrix mask\&. .br \fI__t\fP The second left-shift tempering matrix parameter\&. .br \fI__c\fP The second left-shift tempering matrix mask\&. .br \fI__l\fP The second right-shift tempering matrix parameter\&. .br \fI__f\fP Initialization multiplier\&. .RE .PP .PP Definition at line 449 of file random\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.