Compilation API

The API for compilation. Created automatically at the start of the program

compile_stan.compile_all()

Runs compile_code on all the stan codes in the stan code directory

compile_stan.compile_code(code, code_name)

Compiles stan code in the stan_code directory store in stan_compiled directory Avoids repeat compilation by checking hashes

Parameters:
  • code_name (string) – the name of the stan code to compile
  • code (string) – the code location