Getting Started

Getting Started

In this section we review the recommended setup to start working with this package.

Setup

This package requires Julia v0.6 or later. Refer to the official documentation on how to install it for your system. Below we explain the steps for setting up LazySets on your system and checking that it builds correctly.

Installation

To install LazySets, use the following command inside Julia's REPL:

Pkg.clone("https://github.com/JuliaReach/LazySets.jl")

The dependencies of LazySets, such as Expokit.jl โ€“ which provides lazy matrix exponentiation routines โ€“ are automatically installed through Julia's package manager. The full list of dependencies is specified in the REQUIRE file.

Workflow tips

There are different ways to use Julia: from the terminal, from the Julia REPL, from IJulia (i.e., Jupyter notebook), from Juno, etc. If you do not have a preferred choice, we recommend using LazySets through IJulia; one reason is that the visualization is conveniently embedded into the notebook, and it can be exported into different formats, among other benefits. On the other hand, for development purposes you probably want to use the REPL or the Juno environment.

Updating

After working with LazySets for some time, you may want to get the newest version. For this you can use the following command (e.g., from the REPL):

Pkg.checkout("LazySets")

That will check out the latest version in the master branch, and precompile it the next time you enter a session and execute using LazySets.