Changeset a38bbbc


Ignore:
Timestamp:
Feb 12, 2022, 5:31:16 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
5c216b4, 7d18733
Parents:
0ebbca4
Message:

change font size from 11pt to 10pt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    r0ebbca4 ra38bbbc  
    1111%% Created On       : Wed Apr  6 14:53:29 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Sat Feb 12 10:10:11 2022
    14 %% Update Count     : 5372
     13%% Last Modified On : Sat Feb 12 17:04:03 2022
     14%% Update Count     : 5376
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
    1717% requires tex packages: texlive-base texlive-latex-base tex-common texlive-humanities texlive-latex-extra texlive-fonts-recommended
    1818
    19 \documentclass[twoside,11pt]{article}
     19\documentclass[twoside]{article}
    2020
    2121%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
    82578257void ?{}( PRNG & prng ); $\C{// random seed}$
    82588258void ?{}( PRNG & prng, uint32_t seed ); $\C{// fixed seed}$
    8259 void set_seed( PRNG & prng, uint32_t seed_ ); $\C{// set seed}$
     8259void set_seed( PRNG & prng, uint32_t seed ); $\C{// set seed}$
    82608260uint32_t get_seed( PRNG & prng ); $\C{// get seed}$
    82618261uint32_t prng( PRNG & prng ); $\C{// [0,UINT\_MAX]}$
     
    82668266Sequential execution is repeatable given the same starting seeds for all ©PRNG©s.
    82678267In this scenario, it is useful to have multiple ©PRNG©, \eg one per player or object so a type is provided to generate multiple instances.
    8268 \VRef[Figure]{f:SequentialPRNG} shows an example that creates two sequential ©PRNG©s, sets both to the same seed (1009), and illustrates the 3 forms for generating random values, where both ©PRNG©s generate the same sequence of values.
     8268\VRef[Figure]{f:SequentialPRNG} shows an example that creates two sequential ©PRNG©s, sets both to the same seed (1009), and illustrates the three forms for generating random values, where both ©PRNG©s generate the same sequence of values.
    82698269
    82708270\begin{figure}
     
    86038603\end{tabular}
    86048604\end{cquote}
    8605 \small
     8605
    86068606\begin{cfa}
    86078607Factorial Numbers
Note: See TracChangeset for help on using the changeset viewer.