- andes.main.prepare(quick=False, incremental=False, models=None, precompile=False, nomp=False, **kwargs)[source]#
Run code generation.
True to run full prep with formatted equations. Useful in interactive mode and during document generation.
Number of cores to be used for parallel processing.
True to indicate running from CLI. It will set quick to True if not full.
True to compile model function calls after code generation.
- System object if cli is False; exit_code 0 otherwise.
The default behavior has changed since v1.0.8: when cli is True and full is not True, quick code generation will be used.