Introduction

Tutorials

How To …

Developer Guide


API Reference

private @nosimmacro

@nosim f(x, y::T, ...) [kwargs=false]

Mark a function call of the form f(x, y::T, ...) as a simulation primitive. This will prevent BitSAD’s simulation engine for recursing this function, and instead use the return value of f directly (without simulating it). Arguments may or may not have a type specified.

Set kwargs=true if f accepts keyword arguments. Note that the type and name of keywords cannot be specified.

If f(x, y, ...) has a corresponding simulatable operator, then define BitSAD.getsimulator for f.