Basic tutorials

Basic tutorials#

Important

More tutorials and examples are available in the documentation of heyoka’s Python bindings.

The code snippets in these tutorials assume the inclusion of the global header heyoka/heyoka.hpp, and the use of

using namespace heyoka;
namespace hy = heyoka;

to import all names from the heyoka namespace, and to provide a handy shortcut hy to the heyoka namespace.

The tutorials’ code is available in the tutorials/ subdirectory of the source tree. The tutorials can be compiled by enabling the HEYOKA_BUILD_TUTORIALS option when compiling from source.