Abelian sandpile model: Difference between revisions
Content added Content deleted
m (→{{header|C++}}: cmake syntax) |
|||
Line 192: | Line 192: | ||
<!-- c++ bindings --> |
<!-- c++ bindings --> |
||
<br> |
<br> |
||
<lang cpp> |
<lang cpp>#include <iostream> |
||
#include <iostream> |
|||
#include "xtensor/xarray.hpp" |
#include "xtensor/xarray.hpp" |
||
#include "xtensor/xio.hpp" |
#include "xtensor/xio.hpp" |
||
Line 266: | Line 265: | ||
return 0; |
return 0; |
||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<pre> |
|||
⚫ | |||
⚫ | |||
project(abelian_sandpile) |
project(abelian_sandpile) |
||
Line 285: | Line 281: | ||
target_compile_options(abelian_sandpile PRIVATE -march=native -std=c++14) |
target_compile_options(abelian_sandpile PRIVATE -march=native -std=c++14) |
||
⚫ | |||
⚫ | |||
</pre> |
|||
=={{header|Delphi}}== |
=={{header|Delphi}}== |