--- myst: substitutions: console: python: 13-25 cpp: 15-27 --- (sampler_oat_toatdesign_regular_mode)= # Regular mode In the example of [](#sampler_oat_toatdesign_simple_oat), if we change the "step 3" to: ````{only} cpp ```cpp TOATDesign oatSampler(tds, "regular", 4); ``` ```` ````{only} py ```python oatSampler = Sampler.TOATDesign(tds, "regular", 4) ``` ```` the OAT design becomes: {{ "```{literalinclude} " + parent_dir + "/roottest/build/uranie/doc/sampler/use_cases/" + language + "/samplingOATRegular.log" + "\n" + ":language: none\n" + ":lines: " + console[language] + "\n" + "```" }} Each factor is modified 4 times, and its values are regularly spaced over the interval of variation (see [](#use_cases_macro_sampler_oat_regular) for complete code).