Modules and packages

homework
Date

30 April 2024

Read the section on Modules and packages from the Introducing Julia WikiBook, and answer the following questions.

  1. What is the difference between using and import in Julia?
  2. When do you use include()?
  3. What does export do?
  4. 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 you export?

© 2024 Henri Kauhanen. Reproduction of these materials without written permission from the author is prohibited.