Usage Examples

This is a collection of examples from all modules.

SG++ is written in C++, but features bindings for Python, Java, and MATLAB. Therefore, the examples are split by language. Some examples exist in multiple versions for two or more of the languages. All examples can be found in the MODULE_NAME/example/ directory of the corresponding module.

To add new examples to the documentation, go to the respective folder MODULE_NAME/example/ and add a new example file with file name extension .cpp, .py, .java or .m.

Note that SCons automatically compiles (but not runs) all C++ examples on each run.