Modules and packages
homework
Read the section on Modules and packages from the Introducing Julia WikiBook, and answer the following questions.
- What is the difference between
using
andimport
in Julia? - When do you use
include()
? - What does
export
do? - Finally, put the code we have written so far for variational learning in a file, turning it into a module called
VariationalLearning
. Which composite types and which functions would youexport
?