diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 7d544ec477235804da68576298d2bb4ddbe56a6a..29fab76e7af1d0a0dfa548a056a36273cf553b38 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -1064,6 +1064,29 @@ More complicated programs SCOP +External Functions +~~~~~~~~~~~~~~~~~~ + +Loopy currently supports calls to several commonly used mathematical functions, +e.g. exp/log, min/max, sin/cos/tan, sinh/cosh, abs, etc. They may be used in +a loopy kernel by simply calling them, e.g.:: + + knl = lp.make_kernel( + "{ [i]: 0<=i