-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathquick-template.dib
More file actions
29 lines (18 loc) · 1.1 KB
/
Copy pathquick-template.dib
File metadata and controls
29 lines (18 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!meta
{"kernelInfo":{"defaultKernelName":"csharp","items":[{"name":"csharp"},{"name":"fsharp","languageName":"F#","aliases":["f#","fs"]},{"name":"html","languageName":"HTML"},{"name":"http","languageName":"HTTP"},{"name":"javascript","languageName":"JavaScript","aliases":["js"]},{"name":"mermaid","languageName":"Mermaid"},{"name":"pwsh","languageName":"PowerShell","aliases":["powershell"]},{"name":"value"}]}}
#!markdown
This tutorial shows the code used for the examples in the *Quick Intro*.
The following two cells are setup: they reference the necessary packages (Nancy and plotting extensions) and import the namespaces
> Note: at the time of writing, the first execution of the first cell yields `Error: Failed to load kernel extension`.
>
> However, running the cell again will not yield any error.
#!csharp
// this package includes both Nancy and the extensions to plot in .NET Interactive
#r "nuget: Unipi.Nancy.Interactive, 1.0.18"
#!csharp
using Unipi.Nancy.Numerics;
using Unipi.Nancy.MinPlusAlgebra;
using Unipi.Nancy.NetworkCalculus;
using Unipi.Nancy.Interactive;
#!markdown
Write your code below