diff --git a/src/computational-thinking/homework1.jl b/src/computational-thinking/homework1.jl new file mode 100644 index 0000000..fac6d2e --- /dev/null +++ b/src/computational-thinking/homework1.jl @@ -0,0 +1,2251 @@ +### A Pluto.jl notebook ### +# v0.19.41 + +#> [frontmatter] +#> chapter = 1 +#> license_url = "https://github.com/mitmath/computational-thinking/blob/Fall23/LICENSE.md" +#> text_license = "CC-BY-SA-4.0" +#> code_license = "MIT" +#> section = 2.5 +#> order = 2.5 +#> homework_number = 1 +#> title = "Images and Arrays" +#> layout = "layout.jlhtml" +#> tags = ["homework", "module1", "image", "track_julia", "track_math", "track_climate", "track_data", "programming", "interactive", "type", "matrix"] +#> description = "Practice Julia basics by working with arrays of colors. At the end of this homework, you can see all of your filters applied to your webcam image!" + +using Markdown +using InteractiveUtils + +# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error). +macro bind(def, element) + quote + local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end + local el = $(esc(element)) + global $(esc(def)) = Core.applicable(Base.get, el) ? Base.get(el) : iv(el) + el + end +end + +# ╔═╡ 65780f00-ed6b-11ea-1ecf-8b35523a7ac0 +begin + using Images, ImageIO + using PlutoUI + using HypertextLiteral +end + +# ╔═╡ 7c798410-ffd2-4873-bff8-d3802fd20ee8 +using PlutoTeachingTools + +# ╔═╡ b59ecffd-d201-4292-b61d-d18c88d4a15b +html""" + + + + + +
+ +

This homework is part of Computational Thinking, a live online Julia/Pluto textbook. Go to computationalthinking.mit.edu to read all 50 lectures for free.

+ +
+""" + +# ╔═╡ ac8ff080-ed61-11ea-3650-d9df06123e1f +md""" + +# **Homework 1** - _images and arrays_ +`18.S191`, Fall 2023 + +This notebook contains _built-in, live answer checks_! In some exercises you will see a coloured box, which runs a test case on your code, and provides feedback based on the result. Simply edit the code, run it, and the check runs again. + +Feel free to ask questions! +""" + +# ╔═╡ 5f95e01a-ee0a-11ea-030c-9dba276aba92 +md""" +#### Initializing packages + +_When running this notebook for the first time, this could take up to 15 minutes. Hang in there!_ +""" + +# ╔═╡ 540ccfcc-ee0a-11ea-15dc-4f8120063397 +md""" +## **Exercise 1** - _Manipulating vectors (1D images)_ + +A `Vector` is a 1D array. We can think of that as a 1D image. + +""" + +# ╔═╡ 467856dc-eded-11ea-0f83-13d939021ef3 +example_vector = [0.5, 0.4, 0.3, 0.2, 0.1, 0.0, 0.7, 0.0, 0.7, 0.9] + +# ╔═╡ ad6a33b0-eded-11ea-324c-cfabfd658b56 +md""" +$(html"
") +#### Exercise 1.1 +👉 Make a random vector `random_vect` of length 10 using the `rand` function. +""" + +# ╔═╡ f51333a6-eded-11ea-34e6-bfbb3a69bcb0 +random_vect = missing # replace `missing` with your code! + +# ╔═╡ 397941fc-edee-11ea-33f2-5d46c759fbf7 +if !@isdefined(random_vect) + not_defined(:random_vect) +elseif ismissing(random_vect) + still_missing() +elseif !(random_vect isa Vector) + keep_working(md"`random_vect` should be a `Vector`.") +elseif eltype(random_vect) != Float64 + almost(md""" + You generated a vector of random integers. For the remaining exercises, we want a vector of `Float64` numbers. + + The (optional) first argument to `rand` specifies the **type** of elements to generate. For example: `rand(Bool, 10)` generates 10 values that are either `true` or `false`. (Try it!) + """) +elseif length(random_vect) != 10 + keep_working(md"`random_vect` does not have the correct size.") +elseif length(Set(random_vect)) != 10 + keep_working(md"`random_vect` is not 'random enough'") +else + correct(md"Well done! You can run your code again to generate a new vector!") +end + +# ╔═╡ b1d5ca28-edf6-11ea-269e-75a9fb549f1d +md""" +You can find out more about any function (like `rand`) by clicking on the Live Docs in the bottom right of this Pluto window, and typing a function name in the top. + +![image](https://user-images.githubusercontent.com/6933510/107848812-c934df80-6df6-11eb-8a32-663d802f5d11.png) + + +![image](https://user-images.githubusercontent.com/6933510/107848846-0f8a3e80-6df7-11eb-818a-7271ecb9e127.png) + +We recommend that you leave the window open while you work on Julia code. It will continually look up documentation for anything you type! + +#### Help, I don't see the Live Docs! + +Try the following: + +🙋 **Are you viewing a static preview?** The Live Docs only work if you _run_ the notebook. If you are reading this on our course website, then click the button in the top right to run the notebook. + +🙋 **Is your screen too small?** Try resizing your window or zooming out. +""" |> hint + +# ╔═╡ 5da8cbe8-eded-11ea-2e43-c5b7cc71e133 +begin + colored_line(x::Vector) = hcat(Gray.(Float64.(x)))' + colored_line(x::Any) = nothing +end + +# ╔═╡ 56ced344-eded-11ea-3e81-3936e9ad5777 +colored_line(example_vector) + +# ╔═╡ b18e2c54-edf1-11ea-0cbf-85946d64b6a2 +colored_line(random_vect) + +# ╔═╡ 77adb065-bfd4-4680-9c2a-ad4d92689dbf +md"#### Exercise 1.2 +👉 Make a function `my_sum` using a `for` loop, which computes the total of a vector of numbers." + +# ╔═╡ bd907ee1-5253-4cae-b5a5-267dac24362a +function my_sum(xs) + # your code here! + return missing +end + +# ╔═╡ 6640110a-d171-4b32-8d12-26979a36b718 +my_sum([1,2,3]) + +# ╔═╡ e0bfc973-2808-4f84-b065-fb3d05401e30 +if !@isdefined(my_sum) + not_defined(:my_sum) +else + let + result = my_sum([1,2,3]) + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif result != 6 + keep_working() + else + correct() + end + end +end + +# ╔═╡ 24090306-7395-4f2f-af31-34f7486f3945 +hint(md"""Check out this page for a refresher on basic Julia syntax: + + [Basic Julia Syntax](https://computationalthinking.mit.edu/Spring21/basic_syntax/)""") + +# ╔═╡ cf738088-eded-11ea-2915-61735c2aa990 +md"#### Exercise 1.3 +👉 Use your `my_sum` function to write a function `mean`, which computes the mean/average of a vector of numbers." + +# ╔═╡ 0ffa8354-edee-11ea-2883-9d5bfea4a236 +function mean(xs) + # your code here! + return missing +end + +# ╔═╡ 1f104ce4-ee0e-11ea-2029-1d9c817175af +mean([1, 2, 3]) + +# ╔═╡ 38dc80a0-edef-11ea-10e9-615255a4588c +if !@isdefined(mean) + not_defined(:mean) +else + let + result = mean([1,2,3]) + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif result != 2 + keep_working() + else + correct() + end + end +end + +# ╔═╡ 1f229ca4-edee-11ea-2c56-bb00cc6ea53c +md"👉 Define `m` to be the mean of `random_vect`." + +# ╔═╡ 2a391708-edee-11ea-124e-d14698171b68 +m = missing # replace `missing` with your code! + +# ╔═╡ 2b1ccaca-edee-11ea-34b0-c51659f844d0 +if !@isdefined(m) + not_defined(:m) +elseif ismissing(m) + still_missing() +elseif !(m isa Number) + keep_working(md"`m` should be a number.") +elseif m != mean(random_vect) + keep_working() +else + correct() +end + +# ╔═╡ e2863d4c-edef-11ea-1d67-332ddca03cc4 +md"""#### Exercise 1.4 +👉 Write a function `demean`, which takes a vector `xs` and subtracts the mean from each value in `xs`. Use your `mean` function!""" + +# ╔═╡ ea8d92f8-159c-4161-8c54-bab7bc00f290 +md""" +> ### Note about _mutation_ +> There are two ways to think about this exercise, you could _modify_ the original vector, or you can _create a new vector_. We often prefer the second version, so that the original data is preserved. We generally only use code of the first variant in the most performance-sensitive parts of a program, as it requires more care to write and use correctly. _**Be careful not to get carried away in optimizing code**, especially when learning a new language!_ +> +> There is a convention among Julians that functions that modify their argument have a `!` in their name. For example, `sort(x)` returns a sorted _copy_ of `x`, while `sort!(x)` _modifies_ `x` to be sorted. +> +> #### Tips for writing non-mutating code +> 1. _Rewriting_ an existing mutating function to be non-mutating can feel like a 'tedious' and 'inefficient' process. Often, instead of trying to **rewrite** a mutating function, it's best to take a step back and try to think of your problem as _constructing something new_. Instead of a `for` loop, it might make more sense to use **descriptive** primitives like [broadcasting with the dot syntax](https://docs.julialang.org/en/v1/manual/functions/#man-vectorized) (also for [math operators](https://docs.julialang.org/en/v1/manual/mathematical-operations/#man-dot-operators)), and [map and filter](https://www.youtube.com/watch?v=_O-HBDZMLrM). +> +> +> 2. If a mutating algorithm makes the most sense for your problem, then you can first use `copy` to create a copy of an array, and then modify that copy. +> +> We will cover this topic more in the later exercises! + +""" + +# ╔═╡ ec5efe8c-edef-11ea-2c6f-afaaeb5bc50c +function demean(xs) + # your code here! + return missing +end + +# ╔═╡ d6ddafdd-1a44-48c7-b49a-554073cdf331 +test_vect = let + + # feel free to change your test case here! + to_create = [-1.0, -1.5, 8.5] + + + #### + # this cell is a bit funky to deal with a common pitfall from last year + # it regenerates the vector if you accidentally wrote a mutating function + + # don't worry about how it works for this exercise! + + demean + to_create +end + +# ╔═╡ 29e10640-edf0-11ea-0398-17dbf4242de3 +md"To verify our function, let's check that the mean of the `demean(test_vect)` is 0: (_Due to floating-point round-off error it may *not* be *exactly* 0._)" + +# ╔═╡ 38155b5a-edf0-11ea-3e3f-7163da7433fb +demeaned_test_vect = demean(test_vect) + +# ╔═╡ 1267e961-5b75-4b55-8080-d45316a03b9b +mean(demeaned_test_vect) + +# ╔═╡ adf476d8-a334-4b35-81e8-cc3b37de1f28 +if !@isdefined(mean) + not_defined(:mean) +else + let + input = Float64[1,2,3] + result = demean(input) + + if input === result + almost(md""" + It looks like you **modified** `xs` inside the function. + + It is preferable to avoid mutation inside functions, because you might want to use the original data again. For example, applying `demean` to a dataset of sensor readings would **modify** the original data, and the rest of your analysis would be erroneous. + + """) + elseif ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif !(result isa AbstractVector) || length(result) != 3 + keep_working(md"Return a vector of the same size as `xs`.") + elseif abs(sum(result) / 3) < 1e-10 + correct() + else + keep_working() + end + end +end + +# ╔═╡ a5f8bafe-edf0-11ea-0da3-3330861ae43a +md""" +#### Exercise 1.5 + +👉 Generate a vector of 100 elements. Where: +- the center 20 elements are set to `1`, and +- all other elements are `0`. +""" + +# ╔═╡ b6b65b94-edf0-11ea-3686-fbff0ff53d08 +function create_bar() + # your code here! + return missing +end + +# ╔═╡ 4a5e9d2c-dd90-4bb0-9e31-3f5c834406b4 +create_bar() + +# ╔═╡ d862fb16-edf1-11ea-36ec-615d521e6bc0 +colored_line(create_bar()) + +# ╔═╡ aa1ff74a-4e78-4ef1-8b8d-3a60a168cf6d +hint(md""" +In [Section 1.1](https://computationalthinking.mit.edu/Spring21/week1/), we drew a red square on top of the image Philip with a simple command... +""") + +# ╔═╡ e3394c8a-edf0-11ea-1bb8-619f7abb6881 +if !@isdefined(create_bar) + not_defined(:create_bar) +else + let + result = create_bar() + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif !(result isa Vector) || length(result) != 100 + keep_working(md"The result should be a `Vector` with 100 elements.") + elseif result[[1,50,100]] != [0,1,0] + keep_working() + else + correct() + end + end +end + +# ╔═╡ 59414833-a108-4b1e-9a34-0f31dc907c6e +url = "https://user-images.githubusercontent.com/6933510/107239146-dcc3fd00-6a28-11eb-8c7b-41aaf6618935.png" + +# ╔═╡ c5484572-ee05-11ea-0424-f37295c3072d +philip_filename = download(url) # download to a local file. The filename is returned + +# ╔═╡ c8ecfe5c-ee05-11ea-322b-4b2714898831 +philip = load(philip_filename) + +# ╔═╡ e86ed944-ee05-11ea-3e0f-d70fc73b789c +md"_Hi there Philip_" + +# ╔═╡ 6ccd8902-0dd9-4335-a11a-ee7f9a1a6c09 +philip_head = philip[470:800, 140:410] + +# ╔═╡ 15088baa-c337-405d-8885-19a6e2bfd6aa +md""" +Recall from [Section 1.1](https://computationalthinking.mit.edu/Spring21/week1/) that in Julia, an _image_ is just a 2D array of color objects: +""" + +# ╔═╡ 7ad4f6bc-588e-44ab-8ca9-c87cd1048442 +typeof(philip) + +# ╔═╡ a55bb5ca-600b-4aa0-b95f-7ece20845c9b +md""" +Every pixel (i.e. _element of the 2D array_) is of the `RGB` type: +""" + +# ╔═╡ c5dc0cc8-9305-47e6-8b20-a9f8ef867799 +philip_pixel = philip[100,100] + +# ╔═╡ de772e21-0bea-4fd2-868a-9a7d32550bc9 +typeof(philip_pixel) + +# ╔═╡ 21bdc692-91ee-474d-ae98-455913a2342e +md""" +To get the values of its individual color channels, use the `r`, `g` and `b` _attributes_: +""" + +# ╔═╡ 2ae3f379-96ce-435d-b863-deba4586ec71 +philip_pixel.r, philip_pixel.g, philip_pixel.b + +# ╔═╡ c49ba901-d798-489a-963c-4cc113c7abfd +md""" +And to create an `RGB` object yourself: +""" + +# ╔═╡ 93451c37-77e1-4d4f-9788-c2a3da1401ee +RGB(0.1, 0.4, 0.7) + +# ╔═╡ f52e4914-2926-4a42-9e45-9caaace9a7db +md""" +#### Exercise 2.1 +👉 Write a function **`get_red`** that takes a single pixel, and returns the value of its red channel. +""" + +# ╔═╡ a8b2270a-600c-4f83-939e-dc5ab35f4735 +function get_red(pixel::AbstractRGB) + # your code here! + return missing +end + +# ╔═╡ c320b39d-4cea-4fa1-b1ce-053c898a67a6 +get_red(RGB(0.8, 0.1, 0.0)) + +# ╔═╡ 09102183-f9fb-4d89-b4f9-5d76af7b8e90 +let + result = get_red(RGB(0.2, 0.3, 0.4)) + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif result == 0.2 + correct() + else + keep_working() + end +end + +# ╔═╡ d8cf9bd5-dbf7-4841-acf9-eef7e7cabab3 +md""" +#### Exercise 2.2 +👉 Write a function **`get_reds`** (note the extra `s`) that accepts a 2D color array called `image`, and returns a 2D array with the red channel value of each pixel. (The result should be a 2D array of _numbers_.) Use your function `get_red` from the previous exercise. +""" + +# ╔═╡ ebe1d05c-f6aa-437d-83cb-df0ba30f20bf +function get_reds(image::AbstractMatrix) + # your code here! + return missing +end + +# ╔═╡ c427554a-6f6a-43f1-b03b-f83239887cee +get_reds(philip_head) + +# ╔═╡ 63ac142e-6d9d-4109-9286-030a02c900b4 +let + test = [RGB(0.2, 0, 0) RGB(0.6, 0, 0)] + result = get_reds(test) + + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif result == [ 0.2 0.6 ] + correct() + else + keep_working() + end +end + +# ╔═╡ 50e2b0fb-b06d-4ac1-bdfb-eab833466736 +md""" +This exercise can be quite difficult if you use a `for` loop or list comprehension. + +Instead, you should use the [dot syntax](https://docs.julialang.org/en/v1/manual/functions/#man-vectorized) to apply a function _element-wise_ to an array. For example, this is how you get the square root of `3`: + +``` +sqrt(3) +``` + +and this is how you get the square roots of 1, 2 and 3: + +``` +sqrt.([1, 2, 3]) +``` + +""" |> hint + +# ╔═╡ 4fd07e01-2f8b-4ec9-9f4f-8a9e5ff56fb6 +md""" + +Great! By extracting the red channel value of each pixel, we get a 2D array of numbers. We went from an image (2D array of RGB colors) to a matrix (2D array of numbers). + +#### Exercise 2.3 +Let's try to visualize this matrix. Right now, it is displayed in text form, but because the image is quite large, most rows and columns don't fit on the screen. Instead, a better way to visualize it is to **view a number matrix as an image**. + +This is easier than you might think! We just want to map each number to an `RGB` object, and the result will be a 2D array of `RGB` objects, which Julia will display as an image. + +First, let's define a function that turns a _number_ into a _color_. +""" + +# ╔═╡ 97c15896-6d99-4292-b7d7-4fcd2353656f +function value_as_color(x) + + return RGB(x, 0, 0) +end + +# ╔═╡ cbb9bf41-4c21-42c7-b0e0-fc1ce29e0eb1 +value_as_color(0.0), value_as_color(0.6), value_as_color(1.0) + +# ╔═╡ 3f1a670b-44c2-4cab-909c-65f4ae9ed14b +md""" +👉 Use the functions `get_reds` and `value_as_color` to visualize the red channel values of `philip_head`. Tip: Like in previous exercises, use broadcasting ('dot syntax') to apply a function _element-wise_. + +Use the ➕ button at the bottom left of this cell to add more cells. +""" + +# ╔═╡ 21ba6e75-55a2-4614-9b5d-ea6378bf1d98 + + +# ╔═╡ f7825c18-ff28-4e23-bf26-cc64f2f5049a +md""" + +#### Exercise 2.4 +👉 Write four more functions, `get_green`, `get_greens`, `get_blue` and `get_blues`, to be the equivalents of `get_red` and `get_reds`. Use the ➕ button at the bottom left of this cell to add new cells. +""" + +# ╔═╡ d994e178-78fd-46ab-a1bc-a31485423cad + + +# ╔═╡ c54ccdea-ee05-11ea-0365-23aaf053b7d7 +md""" +#### Exercise 2.5 +👉 Write a function **`mean_color`** that accepts an object called `image`. It should calculate the mean amounts of red, green and blue in the image and return the average color. Be sure to use functions from previous exercises! +""" + +# ╔═╡ f6898df6-ee07-11ea-2838-fde9bc739c11 +function mean_color(image) + # your code here! + return missing +end + +# ╔═╡ 5be9b144-ee0d-11ea-2a8d-8775de265a1d +mean_color(philip) + +# ╔═╡ 4d0158d0-ee0d-11ea-17c3-c169d4284acb +if !@isdefined(mean_color) + not_defined(:mean_color) +else + let + input = reshape([RGB(1.0, 1.0, 1.0), RGB(1.0, 1.0, 0.0)], (2, 1)) + + result = mean_color(input) + shouldbe = RGB(1.0, 1.0, 0.5) + + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif !(result isa AbstractRGB) + keep_working(md"You need to return a _color_, i.e. an object of type `RGB`. Use `RGB(r, g, b)` to create a color with channel values `r`, `g` and `b`.") + elseif !(result == shouldbe) + keep_working() + else + correct() + end + end +end + +# ╔═╡ 5f6635b4-63ed-4a62-969c-bd4084a8202f +md""" +_At the end of this homework, you can see all of your filters applied to your webcam image!_ +""" + +# ╔═╡ 63e8d636-ee0b-11ea-173d-bd3327347d55 +function invert(color::AbstractRGB) + # your code here! + return missing +end + +# ╔═╡ 80a4cb23-49c9-4446-a3ec-b2203128dc27 +let + result = invert(RGB(1.0, 0.5, 0.25)) # I chose these values because they can be represented exactly by Float64 + shouldbe = RGB(0.0, 0.5, 0.75) + + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif !(result isa AbstractRGB) + keep_working(md"You need to return a _color_, i.e. an object of type `RGB`. Use `RGB(r, g, b)` to create a color with channel values `r`, `g` and `b`.") + elseif !(result == shouldbe) + keep_working() + else + correct() + end +end + +# ╔═╡ 2cc2f84e-ee0d-11ea-373b-e7ad3204bb00 +md"Let's invert some colors:" + +# ╔═╡ b8f26960-ee0a-11ea-05b9-3f4bc1099050 +color_black = RGB(0.0, 0.0, 0.0) + +# ╔═╡ 5de3a22e-ee0b-11ea-230f-35df4ca3c96d +invert(color_black) + +# ╔═╡ 4e21e0c4-ee0b-11ea-3d65-b311ae3f98e9 +color_red = RGB(0.8, 0.1, 0.1) + +# ╔═╡ 6dbf67ce-ee0b-11ea-3b71-abc05a64dc43 +invert(color_red) + +# ╔═╡ 846b1330-ee0b-11ea-3579-7d90fafd7290 +md"👉 Can you invert the picture of Philip?" + +# ╔═╡ 943103e2-ee0b-11ea-33aa-75a8a1529931 +philip_inverted = missing # replace `missing` with your code! + +# ╔═╡ 55b138b7-19fb-4da1-9eb1-1e8304528251 +md""" +_At the end of this homework, you can see all of your filters applied to your webcam image!_ +""" + +# ╔═╡ f68d4a36-ee07-11ea-0832-0360530f102e +md""" +#### Exercise 3.2 +👉 Look up the documentation on the `floor` function. Use it to write a function `quantize(x::Number)` that takes in a value $x$ (which you can assume is between 0 and 1) and "quantizes" it into bins of width 0.1. For example, check that 0.267 gets mapped to 0.2. +""" + +# ╔═╡ fbd1638d-8d7a-4d12-aff9-9c160cc3fd74 +function quantize(x::Number) + # your code here! + return missing +end + +# ╔═╡ 7720740e-2d2b-47f7-98fd-500ed3eee479 +md""" +#### Intermezzo: _multiple methods_ + +In Julia, we often write multiple methods for the same function. When a function is called, the method is chosen based on the input arguments. Let's look at an example: + +These are two _methods_ to the same function, because they have + +> **the same name, but different input types** +""" + +# ╔═╡ 90421bca-0804-4d6b-8bd0-3ddbd54cc5fe +function double(x::Number) + + return x * 2 +end + +# ╔═╡ b2329e4c-6204-453e-8998-2414b869b808 +function double(x::Vector) + + return [x..., x...] +end + +# ╔═╡ 23fcd65f-0182-41f3-80ec-d85b05136c47 +md""" +When we call the function `double`, Julia will decide which method to call based on the given input argument! +""" + +# ╔═╡ 5055b74c-b98d-41fa-a0d8-cb36200d82cc +double(24) + +# ╔═╡ 8db17b2b-0cf9-40ba-8f6f-2e53be7b6355 +double([1,2,37]) + +# ╔═╡ a8a597e0-a01c-40cd-9902-d56430afd938 +md""" +We call this **multiple dispatch**, and it is one of Julia's key features. Throughout this course, you will see lots of real-world application, and learn to use multiple dispatch to create flexible and readable abstractions! +""" + +# ╔═╡ f6b218c0-ee07-11ea-2adb-1968c4fd473a +md""" +#### Exercise 3.3 +👉 Write the second **method** of the function `quantize`, i.e. a new *version* of the function with the *same* name. This method will accept a color object called `color`, of the type `AbstractRGB`. + +Here, `::AbstractRGB` is a **type annotation**. This ensures that this version of the function will be chosen when passing in an object whose type is a **subtype** of the `AbstractRGB` abstract type. For example, both the `RGB` and `RGBX` types satisfy this. + +The method you write should return a new `RGB` object, in which each component ($r$, $g$ and $b$) are quantized. Use your previous method for `quantize`! +""" + +# ╔═╡ 04e6b486-ceb7-45fe-a6ca-733703f16357 +function quantize(color::AbstractRGB) + # your code here! + return missing +end + +# ╔═╡ f6bf64da-ee07-11ea-3efb-05af01b14f67 +md""" +#### Exercise 3.4 +👉 Write a method `quantize(image::AbstractMatrix)` that quantizes an image by quantizing each pixel in the image. (You may assume that the matrix is a matrix of color objects.) +""" + +# ╔═╡ 13e9ec8d-f615-4833-b1cf-0153010ccb65 +function quantize(image::AbstractMatrix) + # your code here! + return missing +end + +# ╔═╡ f6a655f8-ee07-11ea-13b6-43ca404ddfc7 +quantize(0.267), quantize(0.91) + +# ╔═╡ c905b73e-ee1a-11ea-2e36-23b8e73bfdb6 +if !@isdefined(quantize) + not_defined(:quantize) +else + let + result = quantize(.3) + + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif result != .3 + if quantize(0.35) == .3 + almost(md"What should quantize(`0.2`) be?") + else + keep_working() + end + else + correct() + end + end +end + +# ╔═╡ a6d9635b-85ed-4590-ad09-ca2903ea8f1d +let + result = quantize(RGB(.297, .1, .0)) + + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif !(result isa AbstractRGB) + keep_working(md"You need to return a _color_, i.e. an object of type `RGB`. Use `RGB(r, g, b)` to create a color with channel values `r`, `g` and `b`.") + elseif result != RGB(0.2, .1, .0) + keep_working() + else + correct() + end +end + +# ╔═╡ 25dad7ce-ee0b-11ea-3e20-5f3019dd7fa3 +md"Let's apply your method!" + +# ╔═╡ 9751586e-ee0c-11ea-0cbb-b7eda92977c9 +quantize(philip) + +# ╔═╡ f6d6c71a-ee07-11ea-2b63-d759af80707b +md""" +#### Exercise 3.5 +👉 Write a function `noisify(x::Number, s)` to add randomness of intensity $s$ to a value $x$, i.e. to add a random value between $-s$ and $+s$ to $x$. If the result falls outside the range $[0, 1]$ you should "clamp" it to that range. (Julia has a built-in `clamp` function, or you can write your own function.) +""" + +# ╔═╡ f38b198d-39cf-456f-a841-1ba08f206010 +function noisify(x::Number, s) + # your code here! + return missing +end + +# ╔═╡ f6ef2c2e-ee07-11ea-13a8-2512e7d94426 +hint(md"`rand()` generates a (uniformly) random floating-point number between $0$ and $1$.") + +# ╔═╡ f6fc1312-ee07-11ea-39a0-299b67aee3d8 +md""" +👉 Write the second method `noisify(c::AbstractRGB, s)` to add random noise of intensity $s$ to each of the $(r, g, b)$ values in a colour. + +Use your previous method for `noisify`. _(Remember that Julia chooses which method to use based on the input arguments. So to call the method from the previous exercise, the first argument should be a number.)_ +""" + +# ╔═╡ db4bad9f-df1c-4640-bb34-dd2fe9bdce18 +function noisify(color::AbstractRGB, s) + # your code here! + return missing +end + +# ╔═╡ 0000b7f8-4c43-4dd8-8665-0dfe59e74c0a +md""" +Noise strength: +""" + +# ╔═╡ 774b4ce6-ee1b-11ea-2b48-e38ee25fc89b +@bind color_noise Slider(0:0.01:1, show_value=true) + +# ╔═╡ 48de5bc2-72d3-11eb-3fd9-eff2b686cb75 +md""" +> ### Note about _array comprehension_ +> At this point, you already know of a few ways to make a new array based on one that already exists. +> 1. you can use a for loop to go through a array +> 1. you can use function broadcasting over a array +> 1. you can use _**array comprehension**_! +> +> The third option you are about to see demonstrated below and following the following syntax: +> +> ```[function_to_apply(args) for args in some_iterable_of_your_choice]``` +> +> This creates a new iterable that matches what you iterate through in the second part of the comprehension. Below is an example with `for` loops through two iterables that creates a 2-dimensional `Array`. +""" + +# ╔═╡ f70823d2-ee07-11ea-2bb3-01425212aaf9 +md""" +👉 Write the third method `noisify(image::AbstractMatrix, s)` to noisify each pixel of an image. This function should be a single line! +""" + +# ╔═╡ 21a5885d-00ab-428b-96c3-c28c98c4ca6d +function noisify(image::AbstractMatrix, s) + # your code here! + return missing +end + +# ╔═╡ 1ea53f41-b791-40e2-a0f8-04e13d856829 +noisify(0.5, 0.1) # edit this test case! + +# ╔═╡ 31ef3710-e4c9-4aa7-bd8f-c69cc9a977ee +let + result = noisify(0.5, 0) + + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif result == 0.5 + + results = [noisify(0.9, 0.1) for _ in 1:1000] + + if 0.8 ≤ minimum(results) < 0.81 && 0.99 ≤ maximum(results) ≤ 1 + result = noisify(5, 3) + + if result == 1 + correct() + else + keep_working(md"The result should be restricted to the range ``[0,1]``.") + end + else + keep_working() + end + else + keep_working(md"What should `noisify(0.5, 0)` be?") + correct() + end +end + +# ╔═╡ 7e4aeb70-ee1b-11ea-100f-1952ba66f80f +(original=color_red, with_noise=noisify(color_red, color_noise)) + +# ╔═╡ 8e848279-1b3e-4f32-8c0c-45693d12de96 +[ + noisify(color_red, strength) + for + strength in 0 : 0.05 : 1, + row in 1:10 +]' + +# ╔═╡ d896b7fd-20db-4aa9-bbcf-81b1cd44ec46 +md""" + +#### Exercise 3.6 +Move the slider below to set the amount of noise applied to the image of Philip. +""" + +# ╔═╡ e70a84d4-ee0c-11ea-0640-bf78653ba102 +@bind philip_noise Slider(0:0.01:1, show_value=true) + +# ╔═╡ ac15e0d0-ee0c-11ea-1eaf-d7f88b5df1d7 +noisify(philip_head, philip_noise) + +# ╔═╡ 9604bc44-ee1b-11ea-28f8-7f7af8d0cbb2 +if philip_noise == 1 + md""" + > #### What's this? + > + > The noise intensity is `1.0`, but we can still recognise Philip in the picture... + > + > 👉 Modify the definition of the slider to go further than `1.0`. + """ +end + +# ╔═╡ f714699e-ee07-11ea-08b6-5f5169861b57 +md""" +👉 For which noise intensity does it become unrecognisable? + +You may need noise intensities larger than 1. Why? + +""" + +# ╔═╡ bdc2df7c-ee0c-11ea-2e9f-7d2c085617c1 +answer_about_noise_intensity = md""" +The image is unrecognisable with intensity ... +""" + +# ╔═╡ 20402780-426b-4caa-af8f-ff1e7787b7f9 +@bind cam_image PlutoUI.WebcamInput(help=false, max_size=200) + +# ╔═╡ e87e0d14-43a5-490d-84d9-b14ece472061 +md""" +### Results +""" + +# ╔═╡ 9dafc1bb-afe1-4de6-abef-05b8c9ab8b1d +cam_image + +# ╔═╡ d38c6958-9300-4f7a-89cf-95ca9e899c13 +mean_color(cam_image) + +# ╔═╡ 82f1e006-60fe-4ad1-b9cb-180fafdeb4da +invert.(cam_image) + +# ╔═╡ 54c83589-b8c6-422a-b5e9-d8e0ee72a224 +quantize(cam_image) + +# ╔═╡ 18e781f8-66f3-4216-bc84-076a08f9f3fb +noisify(cam_image, .5) + +# ╔═╡ ee5f21fb-1076-42b6-8926-8bbb6ed0ad67 +function custom_filter(pixel::AbstractRGB) + + # your code here! + + return pixel +end + +# ╔═╡ 9e5a08dd-332a-486b-94ab-15c49e72e522 +function custom_filter(image::AbstractMatrix) + + return custom_filter.(image) +end + +# ╔═╡ ebf3193d-8c8d-4425-b252-45067a5851d9 +[ + invert.(cam_image) quantize(cam_image) + noisify(cam_image, .5) custom_filter(cam_image) +] + +# ╔═╡ 8917529e-fa7a-412b-8aea-54f92f6270fa +custom_filter(cam_image) + +# ╔═╡ 115ded8c-ee0a-11ea-3493-89487315feb7 +begin + bigbreak = html"




" +end + +# ╔═╡ 54056a02-ee0a-11ea-101f-47feb6623bec +bigbreak + +# ╔═╡ e083b3e8-ed61-11ea-2ec9-217820b0a1b4 +md""" + $(bigbreak) + +## **Exercise 2** - _Manipulating images_ + +In this exercise we will get familiar with matrices (2D arrays) in Julia, by manipulating images. +Recall that in Julia images are matrices of `RGB` color objects. + +Let's load a picture of Philip again. +""" + +# ╔═╡ f6cc03a0-ee07-11ea-17d8-013991514d42 +md""" + $(bigbreak) + +## Exercise 3 - _More filters_ + +In the previous exercises, we learned how to use Julia's _dot syntax_ to apply a function _element-wise_ to an array. In this exercise, we will use this to write more image filters, that you can then apply to your own webcam image! + +#### Exercise 3.1 +👉 Write a function `invert` that inverts a color, i.e. sends $(r, g, b)$ to $(1 - r, 1-g, 1-b)$. +""" + +# ╔═╡ 4139ee66-ee0a-11ea-2282-15d63bcca8b8 +md""" +$(bigbreak) +### Camera input +""" + +# ╔═╡ 87dabfd2-461e-4769-ad0f-132cb2370b88 +md""" +$(bigbreak) +### Write your own filter! +""" + +# ╔═╡ 83eb9ca0-ed68-11ea-0bc5-99a09c68f867 +md"_homework 1, version 10_" + +# ╔═╡ 00000000-0000-0000-0000-000000000001 +PLUTO_PROJECT_TOML_CONTENTS = """ +[deps] +HypertextLiteral = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2" +ImageIO = "82e4d734-157c-48bb-816b-45c225c6df19" +Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0" +PlutoTeachingTools = "661c6b06-c737-4d37-b85c-46df65de6f69" +PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" + +[compat] +HypertextLiteral = "~0.9.4" +ImageIO = "~0.6.7" +Images = "~0.25.2" +PlutoTeachingTools = "~0.2.15" +PlutoUI = "~0.7.48" +""" + +# ╔═╡ 00000000-0000-0000-0000-000000000002 +PLUTO_MANIFEST_TOML_CONTENTS = """ +# This file is machine-generated - editing it directly is not advised + +julia_version = "1.10.0" +manifest_format = "2.0" +project_hash = "db2bbd178b0a54615bf67308ec6d1141aaee4946" + +[[deps.AbstractFFTs]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "d92ad398961a3ed262d8bf04a1a2b8340f915fef" +uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c" +version = "1.5.0" +weakdeps = ["ChainRulesCore", "Test"] + + [deps.AbstractFFTs.extensions] + AbstractFFTsChainRulesCoreExt = "ChainRulesCore" + AbstractFFTsTestExt = "Test" + +[[deps.AbstractPlutoDingetjes]] +deps = ["Pkg"] +git-tree-sha1 = "6e1d2a35f2f90a4bc7c2ed98079b2ba09c35b83a" +uuid = "6e696c72-6542-2067-7265-42206c756150" +version = "1.3.2" + +[[deps.Adapt]] +deps = ["LinearAlgebra", "Requires"] +git-tree-sha1 = "cde29ddf7e5726c9fb511f340244ea3481267608" +uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" +version = "3.7.2" +weakdeps = ["StaticArrays"] + + [deps.Adapt.extensions] + AdaptStaticArraysExt = "StaticArrays" + +[[deps.ArgTools]] +uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" +version = "1.1.1" + +[[deps.ArnoldiMethod]] +deps = ["LinearAlgebra", "Random", "StaticArrays"] +git-tree-sha1 = "d57bd3762d308bded22c3b82d033bff85f6195c6" +uuid = "ec485272-7323-5ecc-a04f-4719b315124d" +version = "0.4.0" + +[[deps.Artifacts]] +uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" + +[[deps.AxisAlgorithms]] +deps = ["LinearAlgebra", "Random", "SparseArrays", "WoodburyMatrices"] +git-tree-sha1 = "66771c8d21c8ff5e3a93379480a2307ac36863f7" +uuid = "13072b0f-2c55-5437-9ae7-d433b7a33950" +version = "1.0.1" + +[[deps.AxisArrays]] +deps = ["Dates", "IntervalSets", "IterTools", "RangeArrays"] +git-tree-sha1 = "16351be62963a67ac4083f748fdb3cca58bfd52f" +uuid = "39de3d68-74b9-583c-8d2d-e117c070f3a9" +version = "0.4.7" + +[[deps.Base64]] +uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" + +[[deps.CEnum]] +git-tree-sha1 = "389ad5c84de1ae7cf0e28e381131c98ea87d54fc" +uuid = "fa961155-64e5-5f13-b03f-caf6b980ea82" +version = "0.5.0" + +[[deps.CatIndices]] +deps = ["CustomUnitRanges", "OffsetArrays"] +git-tree-sha1 = "a0f80a09780eed9b1d106a1bf62041c2efc995bc" +uuid = "aafaddc9-749c-510e-ac4f-586e18779b91" +version = "0.2.2" + +[[deps.ChainRulesCore]] +deps = ["Compat", "LinearAlgebra"] +git-tree-sha1 = "575cd02e080939a33b6df6c5853d14924c08e35b" +uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" +version = "1.23.0" +weakdeps = ["SparseArrays"] + + [deps.ChainRulesCore.extensions] + ChainRulesCoreSparseArraysExt = "SparseArrays" + +[[deps.Clustering]] +deps = ["Distances", "LinearAlgebra", "NearestNeighbors", "Printf", "Random", "SparseArrays", "Statistics", "StatsBase"] +git-tree-sha1 = "9ebb045901e9bbf58767a9f34ff89831ed711aae" +uuid = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5" +version = "0.15.7" + +[[deps.CodeTracking]] +deps = ["InteractiveUtils", "UUIDs"] +git-tree-sha1 = "c0216e792f518b39b22212127d4a84dc31e4e386" +uuid = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2" +version = "1.3.5" + +[[deps.ColorSchemes]] +deps = ["ColorTypes", "ColorVectorSpace", "Colors", "FixedPointNumbers", "PrecompileTools", "Random"] +git-tree-sha1 = "67c1f244b991cad9b0aa4b7540fb758c2488b129" +uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4" +version = "3.24.0" + +[[deps.ColorTypes]] +deps = ["FixedPointNumbers", "Random"] +git-tree-sha1 = "b10d0b65641d57b8b4d5e234446582de5047050d" +uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" +version = "0.11.5" + +[[deps.ColorVectorSpace]] +deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "SpecialFunctions", "Statistics", "TensorCore"] +git-tree-sha1 = "600cc5508d66b78aae350f7accdb58763ac18589" +uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4" +version = "0.9.10" + +[[deps.Colors]] +deps = ["ColorTypes", "FixedPointNumbers", "Reexport"] +git-tree-sha1 = "fc08e5930ee9a4e03f84bfb5211cb54e7769758a" +uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" +version = "0.12.10" + +[[deps.Compat]] +deps = ["TOML", "UUIDs"] +git-tree-sha1 = "b1c55339b7c6c350ee89f2c1604299660525b248" +uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" +version = "4.15.0" +weakdeps = ["Dates", "LinearAlgebra"] + + [deps.Compat.extensions] + CompatLinearAlgebraExt = "LinearAlgebra" + +[[deps.CompilerSupportLibraries_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" +version = "1.0.5+1" + +[[deps.ComputationalResources]] +git-tree-sha1 = "52cb3ec90e8a8bea0e62e275ba577ad0f74821f7" +uuid = "ed09eef8-17a6-5b46-8889-db040fac31e3" +version = "0.3.2" + +[[deps.CoordinateTransformations]] +deps = ["LinearAlgebra", "StaticArrays"] +git-tree-sha1 = "f9d7112bfff8a19a3a4ea4e03a8e6a91fe8456bf" +uuid = "150eb455-5306-5404-9cee-2592286d6298" +version = "0.6.3" + +[[deps.CustomUnitRanges]] +git-tree-sha1 = "1a3f97f907e6dd8983b744d2642651bb162a3f7a" +uuid = "dc8bdbbb-1ca9-579f-8c36-e416f6a65cce" +version = "1.0.2" + +[[deps.DataAPI]] +git-tree-sha1 = "abe83f3a2f1b857aac70ef8b269080af17764bbe" +uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" +version = "1.16.0" + +[[deps.DataStructures]] +deps = ["Compat", "InteractiveUtils", "OrderedCollections"] +git-tree-sha1 = "1d0a14036acb104d9e89698bd408f63ab58cdc82" +uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +version = "0.18.20" + +[[deps.Dates]] +deps = ["Printf"] +uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" + +[[deps.Distances]] +deps = ["LinearAlgebra", "Statistics", "StatsAPI"] +git-tree-sha1 = "66c4c81f259586e8f002eacebc177e1fb06363b0" +uuid = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" +version = "0.10.11" +weakdeps = ["ChainRulesCore", "SparseArrays"] + + [deps.Distances.extensions] + DistancesChainRulesCoreExt = "ChainRulesCore" + DistancesSparseArraysExt = "SparseArrays" + +[[deps.Distributed]] +deps = ["Random", "Serialization", "Sockets"] +uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" + +[[deps.DocStringExtensions]] +deps = ["LibGit2"] +git-tree-sha1 = "2fb1e02f2b635d0845df5d7c167fec4dd739b00d" +uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +version = "0.9.3" + +[[deps.Downloads]] +deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"] +uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" +version = "1.6.0" + +[[deps.FFTViews]] +deps = ["CustomUnitRanges", "FFTW"] +git-tree-sha1 = "cbdf14d1e8c7c8aacbe8b19862e0179fd08321c2" +uuid = "4f61f5a4-77b1-5117-aa51-3ab5ef4ef0cd" +version = "0.3.2" + +[[deps.FFTW]] +deps = ["AbstractFFTs", "FFTW_jll", "LinearAlgebra", "MKL_jll", "Preferences", "Reexport"] +git-tree-sha1 = "4820348781ae578893311153d69049a93d05f39d" +uuid = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" +version = "1.8.0" + +[[deps.FFTW_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "c6033cc3892d0ef5bb9cd29b7f2f0331ea5184ea" +uuid = "f5851436-0d7a-5f13-b9de-f02708fd171a" +version = "3.3.10+0" + +[[deps.FileIO]] +deps = ["Pkg", "Requires", "UUIDs"] +git-tree-sha1 = "82d8afa92ecf4b52d78d869f038ebfb881267322" +uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" +version = "1.16.3" + +[[deps.FileWatching]] +uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" + +[[deps.FixedPointNumbers]] +deps = ["Statistics"] +git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc" +uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" +version = "0.8.4" + +[[deps.Format]] +git-tree-sha1 = "9c68794ef81b08086aeb32eeaf33531668d5f5fc" +uuid = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8" +version = "1.3.7" + +[[deps.Ghostscript_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "43ba3d3c82c18d88471cfd2924931658838c9d8f" +uuid = "61579ee1-b43e-5ca0-a5da-69d92c66a64b" +version = "9.55.0+4" + +[[deps.Graphics]] +deps = ["Colors", "LinearAlgebra", "NaNMath"] +git-tree-sha1 = "d61890399bc535850c4bf08e4e0d3a7ad0f21cbd" +uuid = "a2bd30eb-e257-5431-a919-1863eab51364" +version = "1.1.2" + +[[deps.Graphs]] +deps = ["ArnoldiMethod", "Compat", "DataStructures", "Distributed", "Inflate", "LinearAlgebra", "Random", "SharedArrays", "SimpleTraits", "SparseArrays", "Statistics"] +git-tree-sha1 = "4f2b57488ac7ee16124396de4f2bbdd51b2602ad" +uuid = "86223c79-3864-5bf0-83f7-82e725a168b6" +version = "1.11.0" + +[[deps.Hyperscript]] +deps = ["Test"] +git-tree-sha1 = "179267cfa5e712760cd43dcae385d7ea90cc25a4" +uuid = "47d2ed2b-36de-50cf-bf87-49c2cf4b8b91" +version = "0.0.5" + +[[deps.HypertextLiteral]] +deps = ["Tricks"] +git-tree-sha1 = "7134810b1afce04bbc1045ca1985fbe81ce17653" +uuid = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2" +version = "0.9.5" + +[[deps.IOCapture]] +deps = ["Logging", "Random"] +git-tree-sha1 = "8b72179abc660bfab5e28472e019392b97d0985c" +uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89" +version = "0.2.4" + +[[deps.ImageAxes]] +deps = ["AxisArrays", "ImageBase", "ImageCore", "Reexport", "SimpleTraits"] +git-tree-sha1 = "2e4520d67b0cef90865b3ef727594d2a58e0e1f8" +uuid = "2803e5a7-5153-5ecf-9a86-9b4c37f5f5ac" +version = "0.6.11" + +[[deps.ImageBase]] +deps = ["ImageCore", "Reexport"] +git-tree-sha1 = "b51bb8cae22c66d0f6357e3bcb6363145ef20835" +uuid = "c817782e-172a-44cc-b673-b171935fbb9e" +version = "0.1.5" + +[[deps.ImageContrastAdjustment]] +deps = ["ImageBase", "ImageCore", "ImageTransformations", "Parameters"] +git-tree-sha1 = "eb3d4365a10e3f3ecb3b115e9d12db131d28a386" +uuid = "f332f351-ec65-5f6a-b3d1-319c6670881a" +version = "0.3.12" + +[[deps.ImageCore]] +deps = ["AbstractFFTs", "ColorVectorSpace", "Colors", "FixedPointNumbers", "Graphics", "MappedArrays", "MosaicViews", "OffsetArrays", "PaddedViews", "Reexport"] +git-tree-sha1 = "acf614720ef026d38400b3817614c45882d75500" +uuid = "a09fc81d-aa75-5fe9-8630-4744c3626534" +version = "0.9.4" + +[[deps.ImageDistances]] +deps = ["Distances", "ImageCore", "ImageMorphology", "LinearAlgebra", "Statistics"] +git-tree-sha1 = "08b0e6354b21ef5dd5e49026028e41831401aca8" +uuid = "51556ac3-7006-55f5-8cb3-34580c88182d" +version = "0.2.17" + +[[deps.ImageFiltering]] +deps = ["CatIndices", "ComputationalResources", "DataStructures", "FFTViews", "FFTW", "ImageBase", "ImageCore", "LinearAlgebra", "OffsetArrays", "PrecompileTools", "Reexport", "SparseArrays", "StaticArrays", "Statistics", "TiledIteration"] +git-tree-sha1 = "3447781d4c80dbe6d71d239f7cfb1f8049d4c84f" +uuid = "6a3955dd-da59-5b1f-98d4-e7296123deb5" +version = "0.7.6" + +[[deps.ImageIO]] +deps = ["FileIO", "IndirectArrays", "JpegTurbo", "LazyModules", "Netpbm", "OpenEXR", "PNGFiles", "QOI", "Sixel", "TiffImages", "UUIDs"] +git-tree-sha1 = "bca20b2f5d00c4fbc192c3212da8fa79f4688009" +uuid = "82e4d734-157c-48bb-816b-45c225c6df19" +version = "0.6.7" + +[[deps.ImageMagick]] +deps = ["FileIO", "ImageCore", "ImageMagick_jll", "InteractiveUtils"] +git-tree-sha1 = "8e2eae13d144d545ef829324f1f0a5a4fe4340f3" +uuid = "6218d12a-5da1-5696-b52f-db25d2ecc6d1" +version = "1.3.1" + +[[deps.ImageMagick_jll]] +deps = ["Artifacts", "Ghostscript_jll", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "OpenJpeg_jll", "Pkg", "Zlib_jll", "libpng_jll"] +git-tree-sha1 = "8d2e786fd090199a91ecbf4a66d03aedd0fb24d4" +uuid = "c73af94c-d91f-53ed-93a7-00f77d67a9d7" +version = "6.9.11+4" + +[[deps.ImageMetadata]] +deps = ["AxisArrays", "ImageAxes", "ImageBase", "ImageCore"] +git-tree-sha1 = "355e2b974f2e3212a75dfb60519de21361ad3cb7" +uuid = "bc367c6b-8a6b-528e-b4bd-a4b897500b49" +version = "0.9.9" + +[[deps.ImageMorphology]] +deps = ["ImageCore", "LinearAlgebra", "Requires", "TiledIteration"] +git-tree-sha1 = "e7c68ab3df4a75511ba33fc5d8d9098007b579a8" +uuid = "787d08f9-d448-5407-9aad-5290dd7ab264" +version = "0.3.2" + +[[deps.ImageQualityIndexes]] +deps = ["ImageContrastAdjustment", "ImageCore", "ImageDistances", "ImageFiltering", "LazyModules", "OffsetArrays", "PrecompileTools", "Statistics"] +git-tree-sha1 = "783b70725ed326340adf225be4889906c96b8fd1" +uuid = "2996bd0c-7a13-11e9-2da2-2f5ce47296a9" +version = "0.3.7" + +[[deps.ImageSegmentation]] +deps = ["Clustering", "DataStructures", "Distances", "Graphs", "ImageCore", "ImageFiltering", "ImageMorphology", "LinearAlgebra", "MetaGraphs", "RegionTrees", "SimpleWeightedGraphs", "StaticArrays", "Statistics"] +git-tree-sha1 = "44664eea5408828c03e5addb84fa4f916132fc26" +uuid = "80713f31-8817-5129-9cf8-209ff8fb23e1" +version = "1.8.1" + +[[deps.ImageShow]] +deps = ["Base64", "ColorSchemes", "FileIO", "ImageBase", "ImageCore", "OffsetArrays", "StackViews"] +git-tree-sha1 = "3b5344bcdbdc11ad58f3b1956709b5b9345355de" +uuid = "4e3cecfd-b093-5904-9786-8bbb286a6a31" +version = "0.3.8" + +[[deps.ImageTransformations]] +deps = ["AxisAlgorithms", "ColorVectorSpace", "CoordinateTransformations", "ImageBase", "ImageCore", "Interpolations", "OffsetArrays", "Rotations", "StaticArrays"] +git-tree-sha1 = "8717482f4a2108c9358e5c3ca903d3a6113badc9" +uuid = "02fcd773-0e25-5acc-982a-7f6622650795" +version = "0.9.5" + +[[deps.Images]] +deps = ["Base64", "FileIO", "Graphics", "ImageAxes", "ImageBase", "ImageContrastAdjustment", "ImageCore", "ImageDistances", "ImageFiltering", "ImageIO", "ImageMagick", "ImageMetadata", "ImageMorphology", "ImageQualityIndexes", "ImageSegmentation", "ImageShow", "ImageTransformations", "IndirectArrays", "IntegralArrays", "Random", "Reexport", "SparseArrays", "StaticArrays", "Statistics", "StatsBase", "TiledIteration"] +git-tree-sha1 = "5fa9f92e1e2918d9d1243b1131abe623cdf98be7" +uuid = "916415d5-f1e6-5110-898d-aaa5f9f070e0" +version = "0.25.3" + +[[deps.Imath_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "0936ba688c6d201805a83da835b55c61a180db52" +uuid = "905a6f67-0a94-5f89-b386-d35d92009cd1" +version = "3.1.11+0" + +[[deps.IndirectArrays]] +git-tree-sha1 = "012e604e1c7458645cb8b436f8fba789a51b257f" +uuid = "9b13fd28-a010-5f03-acff-a1bbcff69959" +version = "1.0.0" + +[[deps.Inflate]] +git-tree-sha1 = "ea8031dea4aff6bd41f1df8f2fdfb25b33626381" +uuid = "d25df0c9-e2be-5dd7-82c8-3ad0b3e990b9" +version = "0.1.4" + +[[deps.IntegralArrays]] +deps = ["ColorTypes", "FixedPointNumbers", "IntervalSets"] +git-tree-sha1 = "be8e690c3973443bec584db3346ddc904d4884eb" +uuid = "1d092043-8f09-5a30-832f-7509e371ab51" +version = "0.1.5" + +[[deps.IntelOpenMP_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "be50fe8df3acbffa0274a744f1a99d29c45a57f4" +uuid = "1d5cc7b8-4909-519e-a0f8-d0f5ad9712d0" +version = "2024.1.0+0" + +[[deps.InteractiveUtils]] +deps = ["Markdown"] +uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" + +[[deps.Interpolations]] +deps = ["Adapt", "AxisAlgorithms", "ChainRulesCore", "LinearAlgebra", "OffsetArrays", "Random", "Ratios", "Requires", "SharedArrays", "SparseArrays", "StaticArrays", "WoodburyMatrices"] +git-tree-sha1 = "721ec2cf720536ad005cb38f50dbba7b02419a15" +uuid = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59" +version = "0.14.7" + +[[deps.IntervalSets]] +git-tree-sha1 = "dba9ddf07f77f60450fe5d2e2beb9854d9a49bd0" +uuid = "8197267c-284f-5f27-9208-e0e47529a953" +version = "0.7.10" + + [deps.IntervalSets.extensions] + IntervalSetsRandomExt = "Random" + IntervalSetsRecipesBaseExt = "RecipesBase" + IntervalSetsStatisticsExt = "Statistics" + + [deps.IntervalSets.weakdeps] + Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" + Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" + +[[deps.IrrationalConstants]] +git-tree-sha1 = "630b497eafcc20001bba38a4651b327dcfc491d2" +uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" +version = "0.2.2" + +[[deps.IterTools]] +git-tree-sha1 = "42d5f897009e7ff2cf88db414a389e5ed1bdd023" +uuid = "c8e1da08-722c-5040-9ed9-7db0dc04731e" +version = "1.10.0" + +[[deps.JLD2]] +deps = ["FileIO", "MacroTools", "Mmap", "OrderedCollections", "Pkg", "PrecompileTools", "Printf", "Reexport", "Requires", "TranscodingStreams", "UUIDs"] +git-tree-sha1 = "5ea6acdd53a51d897672edb694e3cc2912f3f8a7" +uuid = "033835bb-8acc-5ee8-8aae-3f567f8a3819" +version = "0.4.46" + +[[deps.JLLWrappers]] +deps = ["Artifacts", "Preferences"] +git-tree-sha1 = "7e5d6779a1e09a36db2a7b6cff50942a0a7d0fca" +uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" +version = "1.5.0" + +[[deps.JSON]] +deps = ["Dates", "Mmap", "Parsers", "Unicode"] +git-tree-sha1 = "31e996f0a15c7b280ba9f76636b3ff9e2ae58c9a" +uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" +version = "0.21.4" + +[[deps.JpegTurbo]] +deps = ["CEnum", "FileIO", "ImageCore", "JpegTurbo_jll", "TOML"] +git-tree-sha1 = "fa6d0bcff8583bac20f1ffa708c3913ca605c611" +uuid = "b835a17e-a41a-41e7-81f0-2f016b05efe0" +version = "0.1.5" + +[[deps.JpegTurbo_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "3336abae9a713d2210bb57ab484b1e065edd7d23" +uuid = "aacddb02-875f-59d6-b918-886e6ef4fbf8" +version = "3.0.2+0" + +[[deps.JuliaInterpreter]] +deps = ["CodeTracking", "InteractiveUtils", "Random", "UUIDs"] +git-tree-sha1 = "e9648d90370e2d0317f9518c9c6e0841db54a90b" +uuid = "aa1ae85d-cabe-5617-a682-6adf51b2e16a" +version = "0.9.31" + +[[deps.LERC_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "bf36f528eec6634efc60d7ec062008f171071434" +uuid = "88015f11-f218-50d7-93a8-a6af411a945d" +version = "3.0.0+1" + +[[deps.LaTeXStrings]] +git-tree-sha1 = "50901ebc375ed41dbf8058da26f9de442febbbec" +uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" +version = "1.3.1" + +[[deps.Latexify]] +deps = ["Format", "InteractiveUtils", "LaTeXStrings", "MacroTools", "Markdown", "OrderedCollections", "Requires"] +git-tree-sha1 = "e0b5cd21dc1b44ec6e64f351976f961e6f31d6c4" +uuid = "23fbe1c1-3f47-55db-b15f-69d7ec21a316" +version = "0.16.3" + + [deps.Latexify.extensions] + DataFramesExt = "DataFrames" + SymEngineExt = "SymEngine" + + [deps.Latexify.weakdeps] + DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" + SymEngine = "123dc426-2d89-5057-bbad-38513e3affd8" + +[[deps.LazyArtifacts]] +deps = ["Artifacts", "Pkg"] +uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3" + +[[deps.LazyModules]] +git-tree-sha1 = "a560dd966b386ac9ae60bdd3a3d3a326062d3c3e" +uuid = "8cdb02fc-e678-4876-92c5-9defec4f444e" +version = "0.3.1" + +[[deps.LibCURL]] +deps = ["LibCURL_jll", "MozillaCACerts_jll"] +uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21" +version = "0.6.4" + +[[deps.LibCURL_jll]] +deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"] +uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" +version = "8.4.0+0" + +[[deps.LibGit2]] +deps = ["Base64", "LibGit2_jll", "NetworkOptions", "Printf", "SHA"] +uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" + +[[deps.LibGit2_jll]] +deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll"] +uuid = "e37daf67-58a4-590a-8e99-b0245dd2ffc5" +version = "1.6.4+0" + +[[deps.LibSSH2_jll]] +deps = ["Artifacts", "Libdl", "MbedTLS_jll"] +uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8" +version = "1.11.0+1" + +[[deps.Libdl]] +uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" + +[[deps.Libtiff_jll]] +deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "LERC_jll", "Libdl", "Pkg", "Zlib_jll", "Zstd_jll"] +git-tree-sha1 = "3eb79b0ca5764d4799c06699573fd8f533259713" +uuid = "89763e89-9b03-5906-acba-b20f662cd828" +version = "4.4.0+0" + +[[deps.LinearAlgebra]] +deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"] +uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" + +[[deps.LittleCMS_jll]] +deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "Pkg"] +git-tree-sha1 = "110897e7db2d6836be22c18bffd9422218ee6284" +uuid = "d3a379c0-f9a3-5b72-a4c0-6bf4d2e8af0f" +version = "2.12.0+0" + +[[deps.LogExpFunctions]] +deps = ["DocStringExtensions", "IrrationalConstants", "LinearAlgebra"] +git-tree-sha1 = "18144f3e9cbe9b15b070288eef858f71b291ce37" +uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688" +version = "0.3.27" + + [deps.LogExpFunctions.extensions] + LogExpFunctionsChainRulesCoreExt = "ChainRulesCore" + LogExpFunctionsChangesOfVariablesExt = "ChangesOfVariables" + LogExpFunctionsInverseFunctionsExt = "InverseFunctions" + + [deps.LogExpFunctions.weakdeps] + ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + ChangesOfVariables = "9e997f8a-9a97-42d5-a9f1-ce6bfc15e2c0" + InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112" + +[[deps.Logging]] +uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" + +[[deps.LoweredCodeUtils]] +deps = ["JuliaInterpreter"] +git-tree-sha1 = "31e27f0b0bf0df3e3e951bfcc43fe8c730a219f6" +uuid = "6f1432cf-f94c-5a45-995e-cdbf5db27b0b" +version = "2.4.5" + +[[deps.MIMEs]] +git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb" +uuid = "6c6e2e6c-3030-632d-7369-2d6c69616d65" +version = "0.1.4" + +[[deps.MKL_jll]] +deps = ["Artifacts", "IntelOpenMP_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "oneTBB_jll"] +git-tree-sha1 = "80b2833b56d466b3858d565adcd16a4a05f2089b" +uuid = "856f044c-d86e-5d09-b602-aeab76dc8ba7" +version = "2024.1.0+0" + +[[deps.MacroTools]] +deps = ["Markdown", "Random"] +git-tree-sha1 = "2fa9ee3e63fd3a4f7a9a4f4744a52f4856de82df" +uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" +version = "0.5.13" + +[[deps.MappedArrays]] +git-tree-sha1 = "2dab0221fe2b0f2cb6754eaa743cc266339f527e" +uuid = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" +version = "0.4.2" + +[[deps.Markdown]] +deps = ["Base64"] +uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" + +[[deps.MbedTLS_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" +version = "2.28.2+1" + +[[deps.MetaGraphs]] +deps = ["Graphs", "JLD2", "Random"] +git-tree-sha1 = "1130dbe1d5276cb656f6e1094ce97466ed700e5a" +uuid = "626554b9-1ddb-594c-aa3c-2596fe9399a5" +version = "0.7.2" + +[[deps.Missings]] +deps = ["DataAPI"] +git-tree-sha1 = "ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d" +uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" +version = "1.2.0" + +[[deps.Mmap]] +uuid = "a63ad114-7e13-5084-954f-fe012c677804" + +[[deps.MosaicViews]] +deps = ["MappedArrays", "OffsetArrays", "PaddedViews", "StackViews"] +git-tree-sha1 = "7b86a5d4d70a9f5cdf2dacb3cbe6d251d1a61dbe" +uuid = "e94cdb99-869f-56ef-bcf0-1ae2bcbe0389" +version = "0.3.4" + +[[deps.MozillaCACerts_jll]] +uuid = "14a3606d-f60d-562e-9121-12d972cd8159" +version = "2023.1.10" + +[[deps.NaNMath]] +deps = ["OpenLibm_jll"] +git-tree-sha1 = "0877504529a3e5c3343c6f8b4c0381e57e4387e4" +uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" +version = "1.0.2" + +[[deps.NearestNeighbors]] +deps = ["Distances", "StaticArrays"] +git-tree-sha1 = "ded64ff6d4fdd1cb68dfcbb818c69e144a5b2e4c" +uuid = "b8a86587-4115-5ab1-83bc-aa920d37bbce" +version = "0.4.16" + +[[deps.Netpbm]] +deps = ["FileIO", "ImageCore", "ImageMetadata"] +git-tree-sha1 = "d92b107dbb887293622df7697a2223f9f8176fcd" +uuid = "f09324ee-3d7c-5217-9330-fc30815ba969" +version = "1.1.1" + +[[deps.NetworkOptions]] +uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" +version = "1.2.0" + +[[deps.OffsetArrays]] +git-tree-sha1 = "e64b4f5ea6b7389f6f046d13d4896a8f9c1ba71e" +uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" +version = "1.14.0" +weakdeps = ["Adapt"] + + [deps.OffsetArrays.extensions] + OffsetArraysAdaptExt = "Adapt" + +[[deps.OpenBLAS_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"] +uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" +version = "0.3.23+2" + +[[deps.OpenEXR]] +deps = ["Colors", "FileIO", "OpenEXR_jll"] +git-tree-sha1 = "327f53360fdb54df7ecd01e96ef1983536d1e633" +uuid = "52e1d378-f018-4a11-a4be-720524705ac7" +version = "0.3.2" + +[[deps.OpenEXR_jll]] +deps = ["Artifacts", "Imath_jll", "JLLWrappers", "Libdl", "Zlib_jll"] +git-tree-sha1 = "8292dd5c8a38257111ada2174000a33745b06d4e" +uuid = "18a262bb-aa17-5467-a713-aee519bc75cb" +version = "3.2.4+0" + +[[deps.OpenJpeg_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libtiff_jll", "LittleCMS_jll", "Pkg", "libpng_jll"] +git-tree-sha1 = "76374b6e7f632c130e78100b166e5a48464256f8" +uuid = "643b3616-a352-519d-856d-80112ee9badc" +version = "2.4.0+0" + +[[deps.OpenLibm_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "05823500-19ac-5b8b-9628-191a04bc5112" +version = "0.8.1+2" + +[[deps.OpenSpecFun_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "13652491f6856acfd2db29360e1bbcd4565d04f1" +uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" +version = "0.5.5+0" + +[[deps.OrderedCollections]] +git-tree-sha1 = "dfdf5519f235516220579f949664f1bf44e741c5" +uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" +version = "1.6.3" + +[[deps.PNGFiles]] +deps = ["Base64", "CEnum", "ImageCore", "IndirectArrays", "OffsetArrays", "libpng_jll"] +git-tree-sha1 = "67186a2bc9a90f9f85ff3cc8277868961fb57cbd" +uuid = "f57f5aa1-a3ce-4bc8-8ab9-96f992907883" +version = "0.4.3" + +[[deps.PaddedViews]] +deps = ["OffsetArrays"] +git-tree-sha1 = "0fac6313486baae819364c52b4f483450a9d793f" +uuid = "5432bcbf-9aad-5242-b902-cca2824c8663" +version = "0.5.12" + +[[deps.Parameters]] +deps = ["OrderedCollections", "UnPack"] +git-tree-sha1 = "34c0e9ad262e5f7fc75b10a9952ca7692cfc5fbe" +uuid = "d96e819e-fc66-5662-9728-84c9c7592b0a" +version = "0.12.3" + +[[deps.Parsers]] +deps = ["Dates", "PrecompileTools", "UUIDs"] +git-tree-sha1 = "8489905bcdbcfac64d1daa51ca07c0d8f0283821" +uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" +version = "2.8.1" + +[[deps.Pkg]] +deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] +uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" +version = "1.10.0" + +[[deps.PkgVersion]] +deps = ["Pkg"] +git-tree-sha1 = "f9501cc0430a26bc3d156ae1b5b0c1b47af4d6da" +uuid = "eebad327-c553-4316-9ea0-9fa01ccd7688" +version = "0.3.3" + +[[deps.PlutoHooks]] +deps = ["InteractiveUtils", "Markdown", "UUIDs"] +git-tree-sha1 = "072cdf20c9b0507fdd977d7d246d90030609674b" +uuid = "0ff47ea0-7a50-410d-8455-4348d5de0774" +version = "0.0.5" + +[[deps.PlutoLinks]] +deps = ["FileWatching", "InteractiveUtils", "Markdown", "PlutoHooks", "Revise", "UUIDs"] +git-tree-sha1 = "8f5fa7056e6dcfb23ac5211de38e6c03f6367794" +uuid = "0ff47ea0-7a50-410d-8455-4348d5de0420" +version = "0.1.6" + +[[deps.PlutoTeachingTools]] +deps = ["Downloads", "HypertextLiteral", "LaTeXStrings", "Latexify", "Markdown", "PlutoLinks", "PlutoUI", "Random"] +git-tree-sha1 = "5d9ab1a4faf25a62bb9d07ef0003396ac258ef1c" +uuid = "661c6b06-c737-4d37-b85c-46df65de6f69" +version = "0.2.15" + +[[deps.PlutoUI]] +deps = ["AbstractPlutoDingetjes", "Base64", "ColorTypes", "Dates", "FixedPointNumbers", "Hyperscript", "HypertextLiteral", "IOCapture", "InteractiveUtils", "JSON", "Logging", "MIMEs", "Markdown", "Random", "Reexport", "URIs", "UUIDs"] +git-tree-sha1 = "ab55ee1510ad2af0ff674dbcced5e94921f867a9" +uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" +version = "0.7.59" + +[[deps.PrecompileTools]] +deps = ["Preferences"] +git-tree-sha1 = "5aa36f7049a63a1528fe8f7c3f2113413ffd4e1f" +uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a" +version = "1.2.1" + +[[deps.Preferences]] +deps = ["TOML"] +git-tree-sha1 = "9306f6085165d270f7e3db02af26a400d580f5c6" +uuid = "21216c6a-2e73-6563-6e65-726566657250" +version = "1.4.3" + +[[deps.Printf]] +deps = ["Unicode"] +uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" + +[[deps.ProgressMeter]] +deps = ["Distributed", "Printf"] +git-tree-sha1 = "763a8ceb07833dd51bb9e3bbca372de32c0605ad" +uuid = "92933f4c-e287-5a05-a399-4b506db050ca" +version = "1.10.0" + +[[deps.QOI]] +deps = ["ColorTypes", "FileIO", "FixedPointNumbers"] +git-tree-sha1 = "18e8f4d1426e965c7b532ddd260599e1510d26ce" +uuid = "4b34888f-f399-49d4-9bb3-47ed5cae4e65" +version = "1.0.0" + +[[deps.Quaternions]] +deps = ["LinearAlgebra", "Random", "RealDot"] +git-tree-sha1 = "994cc27cdacca10e68feb291673ec3a76aa2fae9" +uuid = "94ee1d12-ae83-5a48-8b1c-48b8ff168ae0" +version = "0.7.6" + +[[deps.REPL]] +deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] +uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" + +[[deps.Random]] +deps = ["SHA"] +uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + +[[deps.RangeArrays]] +git-tree-sha1 = "b9039e93773ddcfc828f12aadf7115b4b4d225f5" +uuid = "b3c3ace0-ae52-54e7-9d0b-2c1406fd6b9d" +version = "0.3.2" + +[[deps.Ratios]] +deps = ["Requires"] +git-tree-sha1 = "1342a47bf3260ee108163042310d26f2be5ec90b" +uuid = "c84ed2f1-dad5-54f0-aa8e-dbefe2724439" +version = "0.4.5" +weakdeps = ["FixedPointNumbers"] + + [deps.Ratios.extensions] + RatiosFixedPointNumbersExt = "FixedPointNumbers" + +[[deps.RealDot]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "9f0a1b71baaf7650f4fa8a1d168c7fb6ee41f0c9" +uuid = "c1ae055f-0cd5-4b69-90a6-9a35b1a98df9" +version = "0.1.0" + +[[deps.Reexport]] +git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b" +uuid = "189a3867-3050-52da-a836-e630ba90ab69" +version = "1.2.2" + +[[deps.RegionTrees]] +deps = ["IterTools", "LinearAlgebra", "StaticArrays"] +git-tree-sha1 = "4618ed0da7a251c7f92e869ae1a19c74a7d2a7f9" +uuid = "dee08c22-ab7f-5625-9660-a9af2021b33f" +version = "0.3.2" + +[[deps.Requires]] +deps = ["UUIDs"] +git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7" +uuid = "ae029012-a4dd-5104-9daa-d747884805df" +version = "1.3.0" + +[[deps.Revise]] +deps = ["CodeTracking", "Distributed", "FileWatching", "JuliaInterpreter", "LibGit2", "LoweredCodeUtils", "OrderedCollections", "Pkg", "REPL", "Requires", "UUIDs", "Unicode"] +git-tree-sha1 = "12aa2d7593df490c407a3bbd8b86b8b515017f3e" +uuid = "295af30f-e4ad-537b-8983-00126c2a3abe" +version = "3.5.14" + +[[deps.Rotations]] +deps = ["LinearAlgebra", "Quaternions", "Random", "StaticArrays"] +git-tree-sha1 = "2a0a5d8569f481ff8840e3b7c84bbf188db6a3fe" +uuid = "6038ab10-8711-5258-84ad-4b1120ba62dc" +version = "1.7.0" + + [deps.Rotations.extensions] + RotationsRecipesBaseExt = "RecipesBase" + + [deps.Rotations.weakdeps] + RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" + +[[deps.SHA]] +uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" +version = "0.7.0" + +[[deps.Serialization]] +uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" + +[[deps.SharedArrays]] +deps = ["Distributed", "Mmap", "Random", "Serialization"] +uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383" + +[[deps.SimpleTraits]] +deps = ["InteractiveUtils", "MacroTools"] +git-tree-sha1 = "5d7e3f4e11935503d3ecaf7186eac40602e7d231" +uuid = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" +version = "0.9.4" + +[[deps.SimpleWeightedGraphs]] +deps = ["Graphs", "LinearAlgebra", "Markdown", "SparseArrays"] +git-tree-sha1 = "4b33e0e081a825dbfaf314decf58fa47e53d6acb" +uuid = "47aef6b3-ad0c-573a-a1e2-d07658019622" +version = "1.4.0" + +[[deps.Sixel]] +deps = ["Dates", "FileIO", "ImageCore", "IndirectArrays", "OffsetArrays", "REPL", "libsixel_jll"] +git-tree-sha1 = "2da10356e31327c7096832eb9cd86307a50b1eb6" +uuid = "45858cf5-a6b0-47a3-bbea-62219f50df47" +version = "0.1.3" + +[[deps.Sockets]] +uuid = "6462fe0b-24de-5631-8697-dd941f90decc" + +[[deps.SortingAlgorithms]] +deps = ["DataStructures"] +git-tree-sha1 = "66e0a8e672a0bdfca2c3f5937efb8538b9ddc085" +uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" +version = "1.2.1" + +[[deps.SparseArrays]] +deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"] +uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +version = "1.10.0" + +[[deps.SpecialFunctions]] +deps = ["IrrationalConstants", "LogExpFunctions", "OpenLibm_jll", "OpenSpecFun_jll"] +git-tree-sha1 = "e2cfc4012a19088254b3950b85c3c1d8882d864d" +uuid = "276daf66-3868-5448-9aa4-cd146d93841b" +version = "2.3.1" +weakdeps = ["ChainRulesCore"] + + [deps.SpecialFunctions.extensions] + SpecialFunctionsChainRulesCoreExt = "ChainRulesCore" + +[[deps.StackViews]] +deps = ["OffsetArrays"] +git-tree-sha1 = "46e589465204cd0c08b4bd97385e4fa79a0c770c" +uuid = "cae243ae-269e-4f55-b966-ac2d0dc13c15" +version = "0.1.1" + +[[deps.StaticArrays]] +deps = ["LinearAlgebra", "PrecompileTools", "Random", "StaticArraysCore"] +git-tree-sha1 = "bf074c045d3d5ffd956fa0a461da38a44685d6b2" +uuid = "90137ffa-7385-5640-81b9-e52037218182" +version = "1.9.3" +weakdeps = ["ChainRulesCore", "Statistics"] + + [deps.StaticArrays.extensions] + StaticArraysChainRulesCoreExt = "ChainRulesCore" + StaticArraysStatisticsExt = "Statistics" + +[[deps.StaticArraysCore]] +git-tree-sha1 = "36b3d696ce6366023a0ea192b4cd442268995a0d" +uuid = "1e83bf80-4336-4d27-bf5d-d5a4f845583c" +version = "1.4.2" + +[[deps.Statistics]] +deps = ["LinearAlgebra", "SparseArrays"] +uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" +version = "1.10.0" + +[[deps.StatsAPI]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "1ff449ad350c9c4cbc756624d6f8a8c3ef56d3ed" +uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0" +version = "1.7.0" + +[[deps.StatsBase]] +deps = ["DataAPI", "DataStructures", "LinearAlgebra", "LogExpFunctions", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"] +git-tree-sha1 = "5cf7606d6cef84b543b483848d4ae08ad9832b21" +uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" +version = "0.34.3" + +[[deps.SuiteSparse_jll]] +deps = ["Artifacts", "Libdl", "libblastrampoline_jll"] +uuid = "bea87d4a-7f5b-5778-9afe-8cc45184846c" +version = "7.2.1+1" + +[[deps.TOML]] +deps = ["Dates"] +uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" +version = "1.0.3" + +[[deps.Tar]] +deps = ["ArgTools", "SHA"] +uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e" +version = "1.10.0" + +[[deps.TensorCore]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "1feb45f88d133a655e001435632f019a9a1bcdb6" +uuid = "62fd8b95-f654-4bbd-a8a5-9c27f68ccd50" +version = "0.1.1" + +[[deps.Test]] +deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] +uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[[deps.TiffImages]] +deps = ["ColorTypes", "DataStructures", "DocStringExtensions", "FileIO", "FixedPointNumbers", "IndirectArrays", "Inflate", "Mmap", "OffsetArrays", "PkgVersion", "ProgressMeter", "UUIDs"] +git-tree-sha1 = "34cc045dd0aaa59b8bbe86c644679bc57f1d5bd0" +uuid = "731e570b-9d59-4bfa-96dc-6df516fadf69" +version = "0.6.8" + +[[deps.TiledIteration]] +deps = ["OffsetArrays"] +git-tree-sha1 = "5683455224ba92ef59db72d10690690f4a8dc297" +uuid = "06e1c1a7-607b-532d-9fad-de7d9aa2abac" +version = "0.3.1" + +[[deps.TranscodingStreams]] +git-tree-sha1 = "71509f04d045ec714c4748c785a59045c3736349" +uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" +version = "0.10.7" +weakdeps = ["Random", "Test"] + + [deps.TranscodingStreams.extensions] + TestExt = ["Test", "Random"] + +[[deps.Tricks]] +git-tree-sha1 = "eae1bb484cd63b36999ee58be2de6c178105112f" +uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775" +version = "0.1.8" + +[[deps.URIs]] +git-tree-sha1 = "67db6cc7b3821e19ebe75791a9dd19c9b1188f2b" +uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" +version = "1.5.1" + +[[deps.UUIDs]] +deps = ["Random", "SHA"] +uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" + +[[deps.UnPack]] +git-tree-sha1 = "387c1f73762231e86e0c9c5443ce3b4a0a9a0c2b" +uuid = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" +version = "1.0.2" + +[[deps.Unicode]] +uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" + +[[deps.WoodburyMatrices]] +deps = ["LinearAlgebra", "SparseArrays"] +git-tree-sha1 = "5f24e158cf4cee437052371455fe361f526da062" +uuid = "efce3f68-66dc-5838-9240-27a6d6f5f9b6" +version = "0.5.6" + +[[deps.Zlib_jll]] +deps = ["Libdl"] +uuid = "83775a58-1f1d-513f-b197-d71354ab007a" +version = "1.2.13+1" + +[[deps.Zstd_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "e678132f07ddb5bfa46857f0d7620fb9be675d3b" +uuid = "3161d3a3-bdf6-5164-811a-617609db77b4" +version = "1.5.6+0" + +[[deps.libblastrampoline_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "8e850b90-86db-534c-a0d3-1478176c7d93" +version = "5.8.0+1" + +[[deps.libpng_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"] +git-tree-sha1 = "d7015d2e18a5fd9a4f47de711837e980519781a4" +uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" +version = "1.6.43+1" + +[[deps.libsixel_jll]] +deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Pkg", "libpng_jll"] +git-tree-sha1 = "d4f63314c8aa1e48cd22aa0c17ed76cd1ae48c3c" +uuid = "075b6546-f08a-558a-be8f-8157d0f608a5" +version = "1.10.3+0" + +[[deps.nghttp2_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d" +version = "1.52.0+1" + +[[deps.oneTBB_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "7d0ea0f4895ef2f5cb83645fa689e52cb55cf493" +uuid = "1317d2d5-d96f-522e-a858-c73665f53c3e" +version = "2021.12.0+0" + +[[deps.p7zip_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" +version = "17.4.0+2" +""" + +# ╔═╡ Cell order: +# ╟─b59ecffd-d201-4292-b61d-d18c88d4a15b +# ╟─ac8ff080-ed61-11ea-3650-d9df06123e1f +# ╟─5f95e01a-ee0a-11ea-030c-9dba276aba92 +# ╠═65780f00-ed6b-11ea-1ecf-8b35523a7ac0 +# ╟─54056a02-ee0a-11ea-101f-47feb6623bec +# ╟─540ccfcc-ee0a-11ea-15dc-4f8120063397 +# ╟─467856dc-eded-11ea-0f83-13d939021ef3 +# ╠═56ced344-eded-11ea-3e81-3936e9ad5777 +# ╟─ad6a33b0-eded-11ea-324c-cfabfd658b56 +# ╠═f51333a6-eded-11ea-34e6-bfbb3a69bcb0 +# ╟─b18e2c54-edf1-11ea-0cbf-85946d64b6a2 +# ╟─397941fc-edee-11ea-33f2-5d46c759fbf7 +# ╟─b1d5ca28-edf6-11ea-269e-75a9fb549f1d +# ╟─5da8cbe8-eded-11ea-2e43-c5b7cc71e133 +# ╟─77adb065-bfd4-4680-9c2a-ad4d92689dbf +# ╠═bd907ee1-5253-4cae-b5a5-267dac24362a +# ╠═6640110a-d171-4b32-8d12-26979a36b718 +# ╟─e0bfc973-2808-4f84-b065-fb3d05401e30 +# ╟─24090306-7395-4f2f-af31-34f7486f3945 +# ╟─cf738088-eded-11ea-2915-61735c2aa990 +# ╠═0ffa8354-edee-11ea-2883-9d5bfea4a236 +# ╠═1f104ce4-ee0e-11ea-2029-1d9c817175af +# ╟─38dc80a0-edef-11ea-10e9-615255a4588c +# ╟─1f229ca4-edee-11ea-2c56-bb00cc6ea53c +# ╠═2a391708-edee-11ea-124e-d14698171b68 +# ╟─2b1ccaca-edee-11ea-34b0-c51659f844d0 +# ╟─e2863d4c-edef-11ea-1d67-332ddca03cc4 +# ╟─ea8d92f8-159c-4161-8c54-bab7bc00f290 +# ╠═ec5efe8c-edef-11ea-2c6f-afaaeb5bc50c +# ╟─d6ddafdd-1a44-48c7-b49a-554073cdf331 +# ╟─29e10640-edf0-11ea-0398-17dbf4242de3 +# ╠═1267e961-5b75-4b55-8080-d45316a03b9b +# ╠═38155b5a-edf0-11ea-3e3f-7163da7433fb +# ╟─adf476d8-a334-4b35-81e8-cc3b37de1f28 +# ╟─a5f8bafe-edf0-11ea-0da3-3330861ae43a +# ╠═b6b65b94-edf0-11ea-3686-fbff0ff53d08 +# ╠═4a5e9d2c-dd90-4bb0-9e31-3f5c834406b4 +# ╟─d862fb16-edf1-11ea-36ec-615d521e6bc0 +# ╟─aa1ff74a-4e78-4ef1-8b8d-3a60a168cf6d +# ╟─e3394c8a-edf0-11ea-1bb8-619f7abb6881 +# ╟─e083b3e8-ed61-11ea-2ec9-217820b0a1b4 +# ╠═59414833-a108-4b1e-9a34-0f31dc907c6e +# ╠═c5484572-ee05-11ea-0424-f37295c3072d +# ╠═c8ecfe5c-ee05-11ea-322b-4b2714898831 +# ╟─e86ed944-ee05-11ea-3e0f-d70fc73b789c +# ╠═6ccd8902-0dd9-4335-a11a-ee7f9a1a6c09 +# ╟─15088baa-c337-405d-8885-19a6e2bfd6aa +# ╠═7ad4f6bc-588e-44ab-8ca9-c87cd1048442 +# ╟─a55bb5ca-600b-4aa0-b95f-7ece20845c9b +# ╠═c5dc0cc8-9305-47e6-8b20-a9f8ef867799 +# ╠═de772e21-0bea-4fd2-868a-9a7d32550bc9 +# ╟─21bdc692-91ee-474d-ae98-455913a2342e +# ╠═2ae3f379-96ce-435d-b863-deba4586ec71 +# ╟─c49ba901-d798-489a-963c-4cc113c7abfd +# ╠═93451c37-77e1-4d4f-9788-c2a3da1401ee +# ╟─f52e4914-2926-4a42-9e45-9caaace9a7db +# ╠═a8b2270a-600c-4f83-939e-dc5ab35f4735 +# ╠═c320b39d-4cea-4fa1-b1ce-053c898a67a6 +# ╟─09102183-f9fb-4d89-b4f9-5d76af7b8e90 +# ╟─d8cf9bd5-dbf7-4841-acf9-eef7e7cabab3 +# ╠═ebe1d05c-f6aa-437d-83cb-df0ba30f20bf +# ╠═c427554a-6f6a-43f1-b03b-f83239887cee +# ╟─63ac142e-6d9d-4109-9286-030a02c900b4 +# ╟─50e2b0fb-b06d-4ac1-bdfb-eab833466736 +# ╟─4fd07e01-2f8b-4ec9-9f4f-8a9e5ff56fb6 +# ╠═97c15896-6d99-4292-b7d7-4fcd2353656f +# ╠═cbb9bf41-4c21-42c7-b0e0-fc1ce29e0eb1 +# ╟─3f1a670b-44c2-4cab-909c-65f4ae9ed14b +# ╠═21ba6e75-55a2-4614-9b5d-ea6378bf1d98 +# ╟─f7825c18-ff28-4e23-bf26-cc64f2f5049a +# ╠═d994e178-78fd-46ab-a1bc-a31485423cad +# ╟─c54ccdea-ee05-11ea-0365-23aaf053b7d7 +# ╠═f6898df6-ee07-11ea-2838-fde9bc739c11 +# ╠═5be9b144-ee0d-11ea-2a8d-8775de265a1d +# ╟─4d0158d0-ee0d-11ea-17c3-c169d4284acb +# ╟─5f6635b4-63ed-4a62-969c-bd4084a8202f +# ╟─f6cc03a0-ee07-11ea-17d8-013991514d42 +# ╠═63e8d636-ee0b-11ea-173d-bd3327347d55 +# ╟─80a4cb23-49c9-4446-a3ec-b2203128dc27 +# ╟─2cc2f84e-ee0d-11ea-373b-e7ad3204bb00 +# ╠═b8f26960-ee0a-11ea-05b9-3f4bc1099050 +# ╠═5de3a22e-ee0b-11ea-230f-35df4ca3c96d +# ╠═4e21e0c4-ee0b-11ea-3d65-b311ae3f98e9 +# ╠═6dbf67ce-ee0b-11ea-3b71-abc05a64dc43 +# ╟─846b1330-ee0b-11ea-3579-7d90fafd7290 +# ╠═943103e2-ee0b-11ea-33aa-75a8a1529931 +# ╟─55b138b7-19fb-4da1-9eb1-1e8304528251 +# ╟─f68d4a36-ee07-11ea-0832-0360530f102e +# ╠═fbd1638d-8d7a-4d12-aff9-9c160cc3fd74 +# ╠═f6a655f8-ee07-11ea-13b6-43ca404ddfc7 +# ╟─c905b73e-ee1a-11ea-2e36-23b8e73bfdb6 +# ╟─7720740e-2d2b-47f7-98fd-500ed3eee479 +# ╠═90421bca-0804-4d6b-8bd0-3ddbd54cc5fe +# ╠═b2329e4c-6204-453e-8998-2414b869b808 +# ╟─23fcd65f-0182-41f3-80ec-d85b05136c47 +# ╠═5055b74c-b98d-41fa-a0d8-cb36200d82cc +# ╠═8db17b2b-0cf9-40ba-8f6f-2e53be7b6355 +# ╟─a8a597e0-a01c-40cd-9902-d56430afd938 +# ╟─f6b218c0-ee07-11ea-2adb-1968c4fd473a +# ╠═04e6b486-ceb7-45fe-a6ca-733703f16357 +# ╟─a6d9635b-85ed-4590-ad09-ca2903ea8f1d +# ╟─f6bf64da-ee07-11ea-3efb-05af01b14f67 +# ╠═13e9ec8d-f615-4833-b1cf-0153010ccb65 +# ╟─25dad7ce-ee0b-11ea-3e20-5f3019dd7fa3 +# ╠═9751586e-ee0c-11ea-0cbb-b7eda92977c9 +# ╟─f6d6c71a-ee07-11ea-2b63-d759af80707b +# ╠═f38b198d-39cf-456f-a841-1ba08f206010 +# ╠═1ea53f41-b791-40e2-a0f8-04e13d856829 +# ╟─31ef3710-e4c9-4aa7-bd8f-c69cc9a977ee +# ╟─f6ef2c2e-ee07-11ea-13a8-2512e7d94426 +# ╟─f6fc1312-ee07-11ea-39a0-299b67aee3d8 +# ╠═db4bad9f-df1c-4640-bb34-dd2fe9bdce18 +# ╟─0000b7f8-4c43-4dd8-8665-0dfe59e74c0a +# ╠═774b4ce6-ee1b-11ea-2b48-e38ee25fc89b +# ╠═7e4aeb70-ee1b-11ea-100f-1952ba66f80f +# ╟─48de5bc2-72d3-11eb-3fd9-eff2b686cb75 +# ╠═8e848279-1b3e-4f32-8c0c-45693d12de96 +# ╟─f70823d2-ee07-11ea-2bb3-01425212aaf9 +# ╠═21a5885d-00ab-428b-96c3-c28c98c4ca6d +# ╟─d896b7fd-20db-4aa9-bbcf-81b1cd44ec46 +# ╠═e70a84d4-ee0c-11ea-0640-bf78653ba102 +# ╠═ac15e0d0-ee0c-11ea-1eaf-d7f88b5df1d7 +# ╟─9604bc44-ee1b-11ea-28f8-7f7af8d0cbb2 +# ╟─f714699e-ee07-11ea-08b6-5f5169861b57 +# ╠═bdc2df7c-ee0c-11ea-2e9f-7d2c085617c1 +# ╟─4139ee66-ee0a-11ea-2282-15d63bcca8b8 +# ╠═20402780-426b-4caa-af8f-ff1e7787b7f9 +# ╟─e87e0d14-43a5-490d-84d9-b14ece472061 +# ╠═9dafc1bb-afe1-4de6-abef-05b8c9ab8b1d +# ╠═d38c6958-9300-4f7a-89cf-95ca9e899c13 +# ╠═82f1e006-60fe-4ad1-b9cb-180fafdeb4da +# ╠═54c83589-b8c6-422a-b5e9-d8e0ee72a224 +# ╠═18e781f8-66f3-4216-bc84-076a08f9f3fb +# ╠═ebf3193d-8c8d-4425-b252-45067a5851d9 +# ╟─87dabfd2-461e-4769-ad0f-132cb2370b88 +# ╠═8917529e-fa7a-412b-8aea-54f92f6270fa +# ╠═ee5f21fb-1076-42b6-8926-8bbb6ed0ad67 +# ╠═9e5a08dd-332a-486b-94ab-15c49e72e522 +# ╟─115ded8c-ee0a-11ea-3493-89487315feb7 +# ╟─83eb9ca0-ed68-11ea-0bc5-99a09c68f867 +# ╠═7c798410-ffd2-4873-bff8-d3802fd20ee8 +# ╟─00000000-0000-0000-0000-000000000001 +# ╟─00000000-0000-0000-0000-000000000002 diff --git a/src/computational-thinking/images.jl b/src/computational-thinking/images.jl new file mode 100644 index 0000000..df3cb90 --- /dev/null +++ b/src/computational-thinking/images.jl @@ -0,0 +1,1627 @@ +### A Pluto.jl notebook ### +# v0.19.41 + +#> [frontmatter] +#> chapter = 1 +#> license_url = "https://github.com/mitmath/computational-thinking/blob/Fall23/LICENSE.md" +#> text_license = "CC-BY-SA-4.0" +#> code_license = "MIT" +#> video = "https://www.youtube.com/watch?v=3zTO3LEY-cM" +#> image = "https://user-images.githubusercontent.com/6933510/136196634-2294d0a7-e79a-40d0-bbb8-81da70f4d398.png" +#> section = 1 +#> order = 1 +#> title = "Images as Data and Arrays" +#> layout = "layout.jlhtml" +#> youtube_id = "3zTO3LEY-cM" +#> description = "" +#> tags = ["lecture", "module1", "philip", "track_julia", "matrix", "image"] + +using Markdown +using InteractiveUtils + +# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error). +macro bind(def, element) + quote + local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end + local el = $(esc(element)) + global $(esc(def)) = Core.applicable(Base.get, el) ? Base.get(el) : iv(el) + el + end +end + +# ╔═╡ 74b008f6-ed6b-11ea-291f-b3791d6d1b35 +begin + using Colors, ColorVectorSpace, ImageShow, FileIO, ImageIO + using PlutoUI + using PlutoTeachingTools + using HypertextLiteral +end + +# ╔═╡ fed94a2f-d800-4973-9105-d712ce08d5d9 +html""" + + + + + +
+
Section
+

Loading...

+ +

This lecture is part of Computational Thinking, a live online Julia/Pluto textbook. Go to computationalthinking.mit.edu to read all 50 lectures for free.

+ +
+ +

Lecture Video

+
+ +
+
+ + + + +
+""" + +# ╔═╡ d07fcdb0-7afc-4a25-b68a-49fd1e3405e7 +PlutoUI.TableOfContents(aside=true) + +# ╔═╡ 9b49500c-0164-4556-a17b-7595e35c5ede +md""" +#### Initializing packages + +_When running this notebook for the first time, this could take up to 15 minutes. Hang in there!_ +""" + +# ╔═╡ ca1b507e-6017-11eb-34e6-6b85cd189002 +md""" +# Images as examples of data all around us +Welcome to the Computational Thinking using Julia for Real-World Problems at MIT! + +The aim of this course is to bring together concepts from computer science and applied math with coding in the modern **Julia language**, and to see how to apply these techniques to study interesting applications (and of course to have fun). + +We would be pleased if students who have been interested in computer science now become interested in computational science and those interested in scientific applications learn computer science they may not see elsewhere. +... and for all students, we wish to share the value of +the Julia language as the best of both worlds. +""" + +# ╔═╡ e9ff96d8-6bc1-11eb-0f6a-234b9fae047e +md""" + +## Alan's Essay: Are all programming languages the same? + +>Superficially, many programming languages are very similar. "Showoffs" will compare functional programming vs imperative programming. Others will compare compiled languages vs dynamic languages. I will avoid such fancy terms in this little essay, preferring to provide this course's pedagogical viewpoint. +> +>Generally speaking beginning programmers should learn to create "arrays" write "for loops", "conditionals", "comparisons", express mathematical formulas, etc. So why Julia at a time when Python seems to be the language of teaching, and Java and C++ so prominent in the corporate world? +> +>As you might imagine, we believe Julia is special. Oh you will still have the nitty gritty of when to use a bracket and a comma. You might have strong opinions as to whether arrays should begin with 0 or 1 (joke: some say it's time to compromise and use ½.) Getting past these irrelevant issues, you will begin to experience one by one what makes Julia so very special. For starters, a language that runs fast is more fun. We can have you try things that would just be so slow in other languages it would be boring. We also think you will start to notice how natural Julia is, how it feels like the mathematics, and how flexible it can be. +> +>Getting to see the true value of fancy terms like multiple dispatch, strong typing, generic programming, and composable software will take a little longer, but stick with us, and you too will see why Julia is so very special. +""" + +# ╔═╡ 9111db10-6bc3-11eb-38e5-cf3f58536914 +md""" +## Computer Science and Computational Science Working Together +""" + +# ╔═╡ fb8a99ac-6bc1-11eb-0835-3146734a1c99 +md""" +Applications of computer science in the real world use **data**, i.e. information that we can **measure** in some way. Data take many different forms, for example: + +- Numbers that change over time (**time series**): + - Stock price each second / minute / day + - Weekly number of infections + - Earth's global average temperature + +- Video: + - The view from a window of a self-driving car + - A hurricane monitoring station + - Ultrasound e.g. prenatal + +- Images: + - Diseased versus healthy tissue in a medical scan + - Pictures of your favourite dog +""" + +# ╔═╡ b795dcb4-6bc3-11eb-20ec-db2cc4b89bfb +md""" +#### Exercise: +> Think of another two examples in each category. Can you think of other categories of data? +""" + +# ╔═╡ 8691e434-6bc4-11eb-07d1-8169158484e6 +md""" +Computational science can be summed up by a simplified workflow: +""" + +# ╔═╡ 546db74c-6d4e-11eb-2e27-f5bed9dbd9ba +md""" +## data ⟶ input ⟶ process ⟶ model ⟶ visualize ⟶ output +""" + +# ╔═╡ 6385d174-6d4e-11eb-093b-6f6fafb79f84 +md""" +$(html"
") +To use any data source, we need to **input** the data of interest, for example by downloading it, reading in the resulting file, and converting it into a form that we can use in the computer. Then we need to **process** it in some way to extract information of interest. We usually want to **visualize** the results, and we may want to **output** them, for example by saving to disc or putting them on a website. + +We often want to make a mathematical or computational **model** that can help us to understand and predict the behavior of the system of interest. + +> In this course we aim to show how programming, computer science and applied math combine to help us with these goals. +""" + +# ╔═╡ 132f6596-6bc6-11eb-29f1-1b2478c929af +md""" +# Data: Images (as an example of data) +Let's start off by looking at **images** and how we can process them. +Our goal is to process the data contained in an image in some way, which we will do by developing and coding certain **algorithms**. + +Here is the the Fall 2020 version of this lecture (small variations) by 3-Blue-1-Brown (Grant Sanderson) for your reference. +""" + +# ╔═╡ e1bd938e-d067-4854-b5da-9aa71023d8a1 +html""" + + + + +""" + +# ╔═╡ 9eb6efd2-6018-11eb-2db8-c3ce41d9e337 +md""" + + +If we open an image on our computer or the web and zoom in enough, we will see that it consists of many tiny squares, or **pixels** ("picture elements"). Each pixel is a block of one single colour, and the pixels are arranged in a two-dimensional square grid. + +You probably already know that these pixels are stored in a computer numerically +perhaps in some form of RGB (red,green,blue) format. This is the computer's representation of the data. + +Note that an image is already an **approximation** of the real world -- it is a two-dimensional, discrete representation of a three-dimensional reality. + +""" + +# ╔═╡ e37e4d40-6018-11eb-3e1d-093266c98507 +md""" +# Input and Visualize: loading and viewing an Image (in Julia) +""" + +# ╔═╡ e1c9742a-6018-11eb-23ba-d974e57f78f9 +md""" +Let's use Julia to load actual images and play around with them. We can download images from the internet, your own file, or your own webcam. +""" + +# ╔═╡ 9b004f70-6bc9-11eb-128c-914eadfc9a0e +md""" +## Downloading an image from the internet or a local file +We can use the `Images.jl` package to load an image file in three steps. +""" + +# ╔═╡ 62fa19da-64c6-11eb-0038-5d40a6890cf5 +md""" +Step 1: (from internet) we specify the URL (web address) to download from: +$(html"
") +(note that Pluto places results before commands because some people believe +output is more interesting than code. This takes some getting used to.) +""" + +# ╔═╡ 34ee0954-601e-11eb-1912-97dc2937fd52 +url = "https://user-images.githubusercontent.com/6933510/107239146-dcc3fd00-6a28-11eb-8c7b-41aaf6618935.png" + +# ╔═╡ 9180fbcc-601e-11eb-0c22-c920dc7ee9a9 +md""" +Step 2: Now we use the aptly-named `download` function to download the image file to our own computer. (Philip is Prof. Edelman's corgi.) +""" + +# ╔═╡ 34ffc3d8-601e-11eb-161c-6f9a07c5fd78 +philip_filename = download(url) # download to a local file. The filename is returned + +# ╔═╡ abaaa980-601e-11eb-0f71-8ff02269b775 +md""" +Step 3: +Using the `Images.jl` package (loaded at the start of this notebook; scroll up and take a look.) we can **load** the file, which automatically converts it into usable data. We'll store the result in a variable. (Remember the code is after the output.) +""" + +# ╔═╡ aafe76a6-601e-11eb-1ff5-01885c5238da +philip = load(philip_filename) + +# ╔═╡ e86ed944-ee05-11ea-3e0f-d70fc73b789c +md"_Hi there Philip_" + +# ╔═╡ c99d2aa8-601e-11eb-3469-497a246db17c +md""" +We see that the Pluto notebook has recognised that we created an object representing an image, and automatically displayed the resulting image of Philip, the cute Welsh Pembroke corgi and co-professor of this course. +Poor Philip will undergo quite a few transformations as we go along! +""" + +# ╔═╡ 11dff4ce-6bca-11eb-1056-c1345c796ed4 +md""" +👉 **Exercise:** change the url to use another image from the web. +""" + +# ╔═╡ efef3a32-6bc9-11eb-17e9-dd2171be9c21 +md""" +## Capturing an Image from your own camera +""" + +# ╔═╡ e94dcc62-6d4e-11eb-3d53-ff9878f0091e +md""" +Even more fun is to use your own webcam. Try pressing the enable button below. Then +press the camera to capture an image. Kind of fun to keep pressing the button as you move your hand etc. +""" + +# ╔═╡ bd0e4cfc-72bb-43c1-8178-63872f859fab +@bind myface1 PlutoUI.WebcamInput(help=false, max_size=150) + +# ╔═╡ 6224c74b-8915-4983-abf0-30e6ba04a46d +[ + myface1 myface1[ : , end:-1:1] + myface1[end:-1:1, :] myface1[end:-1:1, end:-1:1] +] + +# ╔═╡ cef1a95a-64c6-11eb-15e7-636a3621d727 +md""" +## Inspecting your data +""" + +# ╔═╡ f26d9326-64c6-11eb-1166-5d82586422ed +md""" +### Image size +""" + +# ╔═╡ 6f928b30-602c-11eb-1033-71d442feff93 +md""" +The first thing we might want to know is the size of the image: +""" + +# ╔═╡ 75c5c85a-602c-11eb-2fb1-f7e7f2c5d04b +philip_size = size(philip) + +# ╔═╡ 77f93eb8-602c-11eb-1f38-efa56cc93ca5 +md""" +Julia returns a pair of two numbers. Comparing these with the picture of the image, we see that the first number is the height, i.e. the vertical number of pixels, and the second is the width. +""" + +# ╔═╡ 96b7d801-c427-4e27-ab1f-e2fd18fc24d0 +philip_height = philip_size[1] + +# ╔═╡ f08d02af-6e38-4ace-8b11-7af4930b64ea +philip_width = philip_size[2] + +# ╔═╡ f9244264-64c6-11eb-23a6-cfa76f8aff6d +md""" +### Locations in an image: Indexing + +Now suppose that we want to examine a piece of the image in more detail. We need some way of specifying which piece of the image we want. + +Thinking of the image as a grid of pixels, we need a way to tell the computer which pixel or group of pixels we want to refer to. +Since the image is a two-dimensional grid, we can use two integers (whole numbers) to give the coordinates of a single pixel. Specifying coordinates like this is called **indexing**: think of the index of a book, which tells you *on which page* an idea is discussed. + +In Julia we use (square) brackets, `[` and `]` for indexing: +""" + +# ╔═╡ bd22d09a-64c7-11eb-146f-67733b8be241 +a_pixel = philip[200, 100] + +# ╔═╡ 28860d48-64c8-11eb-240f-e1232b3638df +md""" +We see that Julia knows to draw our pixel object for us a block of the relevant color. + +When we index into an image like this, the first number indicates the *row* in the image, starting from the top, and the second the *column*, starting from the left. In Julia, the first row and column are numbered starting from 1, not from 0 as in some other programming languages. +""" + +# ╔═╡ 4ef99715-4d8d-4f9d-bf0b-8df9907a14cf + + +# ╔═╡ a510fc33-406e-4fb5-be83-9e4b5578717c +md""" +We can also use variables as indices... +""" + +# ╔═╡ 13844ebf-52c4-47e9-bda4-106a02fad9d7 +md""" +...and these variables can be controlled by sliders! +""" + +# ╔═╡ 08d61afb-c641-4aa9-b995-2552af89f3b8 +@bind row_i Slider(1:size(philip)[1], show_value=true) + +# ╔═╡ 6511a498-7ac9-445b-9c15-ec02d09783fe +@bind col_i Slider(1:size(philip)[2], show_value=true) + +# ╔═╡ 94b77934-713e-11eb-18cf-c5dc5e7afc5b +row_i,col_i + +# ╔═╡ ff762861-b186-4eb0-9582-0ce66ca10f60 +philip[row_i, col_i] + +# ╔═╡ c9ed950c-dcd9-4296-a431-ee0f36d5b557 +md""" +### Locations in an image: Range indexing + +We saw that we can use the **row number** and **column number** to index a _single pixel_ of our image. Next, we will use a **range of numbers** to index _multiple rows or columns_ at once, returning a subarray: +""" + +# ╔═╡ f0796032-8105-4f6d-b5ee-3647b052f2f6 +philip[550:650, 1:philip_width] + +# ╔═╡ b9be8761-a9c9-49eb-ba1b-527d12097362 +md""" +Here, we use `a:b` to mean "_all numbers between `a` and `b`_". For example: + +""" + +# ╔═╡ d515286b-4ad4-449b-8967-06b9b4c87684 +collect(1:10) + +# ╔═╡ eef8fbc8-8887-4628-8ba8-114575d6b91f +md""" + +You can also use a `:` without start and end to mean "_every index_" +""" + +# ╔═╡ 4e6a31d6-1ef8-4a69-b346-ad58cfc4d8a5 +philip[550:650, :] + +# ╔═╡ e11f0e47-02d9-48a6-9b1a-e313c18db129 +md""" +Let's get a single row of pixels: +""" + +# ╔═╡ 9e447eab-14b6-45d8-83ab-1f7f1f1c70d2 +philip[550, :] + +# ╔═╡ c926435c-c648-419c-9951-ac8a1d4f3b92 +philip_head = philip[470:800, 140:410] + +# ╔═╡ 32e7e51c-dd0d-483d-95cb-e6043f2b2975 +md""" +#### Scroll in on Philip's nose! + +Use the widgets below (slide left and right sides). +""" + +# ╔═╡ 4b64e1f2-d0ca-4e22-a89d-1d9a16bd6788 +@bind range_rows RangeSlider(1:size(philip_head)[1]) + +# ╔═╡ 85919db9-1444-4904-930f-ba572cff9460 +@bind range_cols RangeSlider(1:size(philip_head)[2]) + +# ╔═╡ 2ac47b91-bbc3-49ae-9bf5-4def30ff46f4 +nose = philip_head[range_rows, range_cols] + +# ╔═╡ 5a0cc342-64c9-11eb-1211-f1b06d652497 +md""" +# Process: Modifying an image + +Now that we have access to image data, we can start to **process** that data to extract information and/or modify it in some way. + +We might want to detect what type of objects are in the image, say to detect whether a patient has a certain disease. To achieve a high-level goal like this, we will need to perform mid-level operations, such as detecting edges that separate different objects based on their color. And, in turn, to carry that out we will need to do low-level operations like comparing colors of neighboring pixels and somehow deciding if they are "different". + +""" + +# ╔═╡ 4504577c-64c8-11eb-343b-3369b6d10d8b +md""" +## Representing colors + +We can use indexing to *modify* a pixel's color. To do so, we need a way to specify a new color. + +Color turns out to be a complicated concept, having to do with the interaction of the physical properties of light with the physiological mechanisms and mental processes by which we detect it! + +We will ignore this complexity by using a standard method of representing colours in the computer as an **RGB triple**, i.e. a triple of three numbers $(r, g, b)$, giving the amount of red, of green and of blue in a colour, respectively. These are numbers between 0 (none) and 1 (full). The final colour that we perceive is the result of "adding" the corresponding amount of light of each colour; the details are fascinating, but beyond the scope of this course! +""" + +# ╔═╡ 40886d36-64c9-11eb-3c69-4b68673a6dde +md""" +We can create a new color in Julia as follows: +""" + +# ╔═╡ 552235ec-64c9-11eb-1f7f-f76da2818cb3 +RGB(1.0, 0.0, 0.0) + +# ╔═╡ c2907d1a-47b1-4634-8669-a68022706861 +begin + md""" + A pixel with $(@bind test_r Scrubbable(0:0.1:1; default=0.1)) red, $(@bind test_g Scrubbable(0:0.1:1; default=0.5)) green and $(@bind test_b Scrubbable(0:0.1:1; default=1.0)) blue looks like: + """ +end + + +# ╔═╡ ff9eea3f-cab0-4030-8337-f519b94316c5 +RGB(test_r, test_g, test_b) + +# ╔═╡ f6cc03a0-ee07-11ea-17d8-013991514d42 +md""" +#### Exercise 2.5 +👉 Write a function `invert` that inverts a color, i.e. sends $(r, g, b)$ to $(1 - r, 1-g, 1-b)$. +""" + +# ╔═╡ 63e8d636-ee0b-11ea-173d-bd3327347d55 +function invert(color::AbstractRGB) + + return missing +end + +# ╔═╡ 2cc2f84e-ee0d-11ea-373b-e7ad3204bb00 +md"Let's invert some colors:" + +# ╔═╡ b8f26960-ee0a-11ea-05b9-3f4bc1099050 +color_black = RGB(0.0, 0.0, 0.0) + +# ╔═╡ 5de3a22e-ee0b-11ea-230f-35df4ca3c96d +invert(color_black) + +# ╔═╡ 4e21e0c4-ee0b-11ea-3d65-b311ae3f98e9 +color_red = RGB(0.8, 0.1, 0.1) + +# ╔═╡ 6dbf67ce-ee0b-11ea-3b71-abc05a64dc43 +invert(color_red) + +# ╔═╡ 846b1330-ee0b-11ea-3579-7d90fafd7290 +md"Can you invert the picture of Philip?" + +# ╔═╡ 943103e2-ee0b-11ea-33aa-75a8a1529931 +philip_inverted = missing + +# ╔═╡ 2ee543b2-64d6-11eb-3c39-c5660141787e +md""" + +## Modifying a pixel + +Let's start by seeing how to modify an image, e.g. in order to hide sensitive information. + +We do this by assigning a new value to the color of a pixel: +""" + +# ╔═╡ 53bad296-4c7b-471f-b481-0e9423a9288a +let + temp = copy(philip_head) + temp[100, 200] = RGB(1.0, 0.0, 0.0) + temp +end + +# ╔═╡ ab9af0f6-64c9-11eb-13d3-5dbdb75a69a7 +md""" +## Groups of pixels + +We probably want to examine and modify several pixels at once. +For example, we can extract a horizontal strip 1 pixel tall: +""" + +# ╔═╡ e29b7954-64cb-11eb-2768-47de07766055 +philip_head[50, 50:100] + +# ╔═╡ 8e7c4866-64cc-11eb-0457-85be566a8966 +md""" +Here, Julia is showing the strip as a collection of rectangles in a row. + + +""" + +# ╔═╡ f2ad501a-64cb-11eb-1707-3365d05b300a +md""" +And then modify it: +""" + +# ╔═╡ 4f03f651-56ed-4361-b954-e6848ac56089 +let + temp = copy(philip_head) + temp[50, 50:100] .= RGB(1.0, 0.0, 0.0) + temp +end + +# ╔═╡ 2808339c-64cc-11eb-21d1-c76a9854aa5b +md""" +Similarly we can modify a whole rectangular block of pixels: +""" + +# ╔═╡ 1bd53326-d705-4d1a-bf8f-5d7f2a4e696f +let + temp = copy(philip_head) + temp[50:100, 50:100] .= RGB(1.0, 0.0, 0.0) + temp +end + +# ╔═╡ a5f8bafe-edf0-11ea-0da3-3330861ae43a +md""" +#### Exercise 1.2 + +👉 Generate a vector of 100 zeros. Change the center 20 elements to 1. +""" + +# ╔═╡ b6b65b94-edf0-11ea-3686-fbff0ff53d08 +function create_bar() + + return missing +end + +# ╔═╡ e3394c8a-edf0-11ea-1bb8-619f7abb6881 +if !@isdefined(create_bar) + not_defined(:create_bar) +else + let + result = create_bar() + if ismissing(result) + still_missing() + elseif isnothing(result) + keep_working(md"Did you forget to write `return`?") + elseif !(result isa Vector) || length(result) != 100 + keep_working(md"The result should be a `Vector` with 100 elements.") + elseif result[[1,50,100]] != [0,1,0] + keep_working() + else + correct() + end + end +end + +# ╔═╡ 693af19c-64cc-11eb-31f3-57ab2fbae597 +md""" +## Reducing the size of an image +""" + +# ╔═╡ 6361d102-64cc-11eb-31b7-fb631b632040 +md""" +Maybe we would also like to reduce the size of this image, since it's rather large. For example, we could take every 10th row and every 10th column and make a new image from the result: +""" + +# ╔═╡ ae542fe4-64cc-11eb-29fc-73b7a66314a9 +reduced_image = philip[1:10:end, 1:10:end] + +# ╔═╡ c29292b8-64cc-11eb-28db-b52c46e865e6 +md""" +Note that the resulting image doesn't look very good, since we seem to have lost too much detail. + +#### Exercise + +> Think about what we might do to reduce the size of an image without losing so much detail. +""" + +# ╔═╡ 7b04331a-6bcb-11eb-34fa-1f5b151e5510 +md""" +# Model: Creating synthetic images + +Think about your favorite Pixar movie (e.g. Monsters Inc.) Movie frames are images that are generated from complicated mathematical models. Ray tracing (which may be covered in this class) +is a method for making images feel realistic. +""" + +# ╔═╡ 5319c03c-64cc-11eb-0743-a1612476e2d3 +md""" +# Output: Saving an image to a file + +Finally, we want to be able to save our new creation to a file. To do so, you can **right click** on a displayed image, or you can write it to a file. Fill in a path below: +""" + +# ╔═╡ 3db09d92-64cc-11eb-0333-45193c0fd1fe +save("reduced_phil.png", reduced_image) + +# ╔═╡ 61606acc-6bcc-11eb-2c80-69ceec9f9702 +md""" +# $(html"
") +""" + +# ╔═╡ dd183eca-6018-11eb-2a83-2fcaeea62942 +md""" +# Computer science: Arrays + +An image is a concrete example of a fundamental concept in computer science, namely an **array**. + +Just as an image is a rectangular grid, where each grid cell contains a single color, +an array is a rectangular grid for storing data. Data is stored and retrieved using indexing, just as in the image examples: each cell in the grid can store a single "piece of data" of a given type. + + +## Dimension of an array + +An array can be one-dimensional, like the strip of pixels above, two-dimensional, three-dimensional, and so on. The dimension tells us the number of indices that we need to specify a unique location in the grid. +The array object also needs to know the length of the data in each dimension. + +## Names for different types of array + +One-dimensional arrays are often called **vectors** (or, in some other languages, "lists") and two-dimensional arrays are **matrices**. Higher-dimensional arrays are **tensors**. + + +## Arrays as data structures + +An array is an example of a **data structure**, i.e. a way of arranging data such that we can access it. A key theme in computer science is that of designing different data structures that represent data in different ways. + +Conceptually, we can think of an array as a block of data that has a position or location in space. This can be a useful way to arrange data if, for example, we want to represent the fact that values in nearby locations in array are somehow near to one another. + +Images are a good example of this: neighbouring pixels often represent different pieces of the same object, for example the rug or floor, or Philip himself, in the photo. We thus expect neighbouring pixels to be of a similar color. On the other hand, if they are not, this is also useful information, since that may correspond to the edge of an object. + +""" + +# ╔═╡ 8ddcb286-602a-11eb-3ae0-07d3c77a0f8c +md""" +# Julia: constructing arrays + +## Creating vectors and matrices +Julia has strong support for arrays of any dimension. + +Vectors, or one-dimensional arrays, are written using square brackets and commas: +""" + +# ╔═╡ f4b0aa23-2d76-4d88-b2a4-3807e88d27ce +[1, 20, "hello"] + +# ╔═╡ 1b2b2b18-64d4-11eb-2d43-e31cb8bc25d1 +[RGB(1, 0, 0), RGB(0, 1, 0), RGB(0, 0, 1)] + +# ╔═╡ 2b0e6450-64d4-11eb-182b-ff1bd515b56f +md""" +Matrices, or two-dimensional arrays, also use square brackets, but with spaces and new lines instead of commas: +""" + +# ╔═╡ 3b2b041a-64d4-11eb-31dd-47d7321ee909 +[RGB(1, 0, 0) RGB(0, 1, 0) + RGB(0, 0, 1) RGB(0.5, 0.5, 0.5)] + +# ╔═╡ 0f35603a-64d4-11eb-3baf-4fef06d82daa +md""" + +## Array comprehensions + +It's clear that if we want to create an array with more than a few elements, it will be *very* tedious to do so by hand like this. +Rather, we want to *automate* the process of creating an array by following some pattern, for example to create a whole palette of colors! + +Let's start with all the possible colors interpolating between black, `RGB(0, 0, 0)`, and red, `RGB(1, 0, 0)`. Since only one of the values is changing, we can represent this as a vector, i.e. a one-dimensional array. + +A neat method to do this is an **array comprehension**. Again we use square brackets to create an array, but now we use a **variable** that varies over a given **range** values: +""" + +# ╔═╡ e69b02c6-64d6-11eb-02f1-21c4fb5d1043 +[RGB(x, 0, 0) for x in 0:0.1:1] + +# ╔═╡ fce76132-64d6-11eb-259d-b130038bbae6 +md""" +Here, `0:0.1:1` is a **range**; the first and last numbers are the start and end values, and the middle number is the size of the step. +""" + +# ╔═╡ 17a69736-64d7-11eb-2c6c-eb5ebf51b285 +md""" +In a similar way we can create two-dimensional matrices, by separating the two variables for each dimension with a comma (`,`): +""" + +# ╔═╡ 291b04de-64d7-11eb-1ee0-d998dccb998c +[RGB(i, j, 0) for i in 0:0.1:1, j in 0:0.1:1] + +# ╔═╡ 647fddf2-60ee-11eb-124d-5356c7014c3b +md""" +## Joining matrices + +We often want to join vectors and matrices together. We can do so using an extension of the array creation syntax: +""" + +# ╔═╡ 7d9ad134-60ee-11eb-1b2a-a7d63f3a7a2d +[philip_head philip_head] + +# ╔═╡ 8433b862-60ee-11eb-0cfc-add2b72997dc +[philip_head reverse(philip_head, dims=2) + reverse(philip_head, dims=1) rot180(philip_head)] + +# ╔═╡ 5e52d12e-64d7-11eb-0905-c9038a404e24 +md""" +# Pluto: Interactivity using sliders +""" + +# ╔═╡ 6aba7e62-64d7-11eb-2c49-7944e9e2b94b +md""" +Suppose we want to see the effect of changing the number of colors in our vector or matrix. We could, of course, do so by manually fiddling with the range. + +It would be nice if we could do so using a **user interface**, for example with a **slider**. Fortunately, the Pluto notebook allows us to do so! +""" + +# ╔═╡ afc66dac-64d7-11eb-1ad0-7f62c20ffefb +md""" +We can define a slider using +""" + +# ╔═╡ b37c9868-64d7-11eb-3033-a7b5d3065f7f +@bind number_reds Slider(1:100, show_value=true) + +# ╔═╡ b1dfe122-64dc-11eb-1104-1b8852b2c4c5 +md""" +[The `Slider` type is defined in the `PlutoUI.jl` package.] +""" + +# ╔═╡ cfc55140-64d7-11eb-0ff6-e59c70d01d67 +md""" +This creates a new variable called `number_reds`, whose value is the value shown by the slider. When we move the slider, the value of the variable gets updated. Since Pluto is a **reactive** notebook, other cells which use the value of this variable will *automatically be updated too*! +""" + +# ╔═╡ fca72490-64d7-11eb-1464-f5e0582c4d18 +md""" +Let's use this to make a slider for our one-dimensional collection of reds: +""" + +# ╔═╡ 88933746-6028-11eb-32de-13eb6ff43e29 +[RGB(red_value / number_reds, 0, 0) for red_value in 0:number_reds] + +# ╔═╡ 1c539b02-64d8-11eb-3505-c9288357d139 +md""" +When you move the slider, you should see the number of red color patches change! +""" + +# ╔═╡ 10f6e6da-64d8-11eb-366f-11f16e73043b +md""" +What is going on here is that we are creating a vector in which `red_value` takes each value in turn from the range from `0` up to the current value of `number_reds`. If we change `number_reds`, then we create a new vector with that new number of red patches. +""" + +# ╔═╡ 82a8314c-64d8-11eb-1acb-e33625381178 +md""" +#### Exercise + +> Make three sliders with variables `r`, `g` and `b`. Then make a single color patch with the RGB color given by those values. +""" + +# ╔═╡ 576d5e3a-64d8-11eb-10c9-876be31f7830 +md""" +We can do the same to create different size matrices, by creating two sliders, one for reds and one for greens. Try it out! +""" + +# ╔═╡ ace86c8a-60ee-11eb-34ef-93c54abc7b1a +md""" +# Summary +""" + +# ╔═╡ b08e57e4-60ee-11eb-0e1a-2f49c496668b +md""" +Let's summarize the main ideas from this notebook: +- Images are **arrays** of colors +- We can inspect and modify arrays using **indexing** +- We can create arrays directly or using **array comprehensions** +""" + +# ╔═╡ 5da8cbe8-eded-11ea-2e43-c5b7cc71e133 +begin + colored_line(x::Vector{<:Real}) = Gray.(Float64.((hcat(x)'))) + colored_line(x::Any) = nothing +end + +# ╔═╡ d862fb16-edf1-11ea-36ec-615d521e6bc0 +colored_line(create_bar()) + +# ╔═╡ e0a6031c-601b-11eb-27a5-65140dd92897 +bigbreak = html"




"; + +# ╔═╡ 45815734-ee0a-11ea-2982-595e1fc0e7b1 +bigbreak + +# ╔═╡ 00000000-0000-0000-0000-000000000001 +PLUTO_PROJECT_TOML_CONTENTS = """ +[deps] +ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4" +Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" +FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" +HypertextLiteral = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2" +ImageIO = "82e4d734-157c-48bb-816b-45c225c6df19" +ImageShow = "4e3cecfd-b093-5904-9786-8bbb286a6a31" +PlutoTeachingTools = "661c6b06-c737-4d37-b85c-46df65de6f69" +PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" + +[compat] +ColorVectorSpace = "~0.10.0" +Colors = "~0.12.10" +FileIO = "~1.16.3" +HypertextLiteral = "~0.9.5" +ImageIO = "~0.6.7" +ImageShow = "~0.3.8" +PlutoTeachingTools = "~0.2.15" +PlutoUI = "~0.7.59" +""" + +# ╔═╡ 00000000-0000-0000-0000-000000000002 +PLUTO_MANIFEST_TOML_CONTENTS = """ +# This file is machine-generated - editing it directly is not advised + +[[AbstractPlutoDingetjes]] +deps = ["Pkg"] +git-tree-sha1 = "6e1d2a35f2f90a4bc7c2ed98079b2ba09c35b83a" +uuid = "6e696c72-6542-2067-7265-42206c756150" +version = "1.3.2" + +[[ArgTools]] +uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" +version = "1.1.1" + +[[Artifacts]] +uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" + +[[AxisArrays]] +deps = ["Dates", "IntervalSets", "IterTools", "RangeArrays"] +git-tree-sha1 = "16351be62963a67ac4083f748fdb3cca58bfd52f" +uuid = "39de3d68-74b9-583c-8d2d-e117c070f3a9" +version = "0.4.7" + +[[Base64]] +uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" + +[[CEnum]] +git-tree-sha1 = "389ad5c84de1ae7cf0e28e381131c98ea87d54fc" +uuid = "fa961155-64e5-5f13-b03f-caf6b980ea82" +version = "0.5.0" + +[[CodeTracking]] +deps = ["InteractiveUtils", "UUIDs"] +git-tree-sha1 = "c0216e792f518b39b22212127d4a84dc31e4e386" +uuid = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2" +version = "1.3.5" + +[[ColorSchemes]] +deps = ["ColorTypes", "ColorVectorSpace", "Colors", "FixedPointNumbers", "PrecompileTools", "Random"] +git-tree-sha1 = "67c1f244b991cad9b0aa4b7540fb758c2488b129" +uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4" +version = "3.24.0" + +[[ColorTypes]] +deps = ["FixedPointNumbers", "Random"] +git-tree-sha1 = "b10d0b65641d57b8b4d5e234446582de5047050d" +uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" +version = "0.11.5" + +[[ColorVectorSpace]] +deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "Requires", "Statistics", "TensorCore"] +git-tree-sha1 = "a1f44953f2382ebb937d60dafbe2deea4bd23249" +uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4" +version = "0.10.0" + + [ColorVectorSpace.extensions] + SpecialFunctionsExt = "SpecialFunctions" + + [ColorVectorSpace.weakdeps] + SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" + +[[Colors]] +deps = ["ColorTypes", "FixedPointNumbers", "Reexport"] +git-tree-sha1 = "fc08e5930ee9a4e03f84bfb5211cb54e7769758a" +uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" +version = "0.12.10" + +[[Compat]] +deps = ["TOML", "UUIDs"] +git-tree-sha1 = "b1c55339b7c6c350ee89f2c1604299660525b248" +uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" +version = "4.15.0" +weakdeps = ["Dates", "LinearAlgebra"] + + [Compat.extensions] + CompatLinearAlgebraExt = "LinearAlgebra" + +[[CompilerSupportLibraries_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" +version = "1.0.5+1" + +[[DataStructures]] +deps = ["Compat", "InteractiveUtils", "OrderedCollections"] +git-tree-sha1 = "1d0a14036acb104d9e89698bd408f63ab58cdc82" +uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +version = "0.18.20" + +[[Dates]] +deps = ["Printf"] +uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" + +[[Distributed]] +deps = ["Random", "Serialization", "Sockets"] +uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" + +[[DocStringExtensions]] +deps = ["LibGit2"] +git-tree-sha1 = "2fb1e02f2b635d0845df5d7c167fec4dd739b00d" +uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +version = "0.9.3" + +[[Downloads]] +deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"] +uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" +version = "1.6.0" + +[[FileIO]] +deps = ["Pkg", "Requires", "UUIDs"] +git-tree-sha1 = "82d8afa92ecf4b52d78d869f038ebfb881267322" +uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" +version = "1.16.3" + +[[FileWatching]] +uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" + +[[FixedPointNumbers]] +deps = ["Statistics"] +git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc" +uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" +version = "0.8.4" + +[[Format]] +git-tree-sha1 = "9c68794ef81b08086aeb32eeaf33531668d5f5fc" +uuid = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8" +version = "1.3.7" + +[[Hyperscript]] +deps = ["Test"] +git-tree-sha1 = "179267cfa5e712760cd43dcae385d7ea90cc25a4" +uuid = "47d2ed2b-36de-50cf-bf87-49c2cf4b8b91" +version = "0.0.5" + +[[HypertextLiteral]] +deps = ["Tricks"] +git-tree-sha1 = "7134810b1afce04bbc1045ca1985fbe81ce17653" +uuid = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2" +version = "0.9.5" + +[[IOCapture]] +deps = ["Logging", "Random"] +git-tree-sha1 = "8b72179abc660bfab5e28472e019392b97d0985c" +uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89" +version = "0.2.4" + +[[ImageAxes]] +deps = ["AxisArrays", "ImageBase", "ImageCore", "Reexport", "SimpleTraits"] +git-tree-sha1 = "2e4520d67b0cef90865b3ef727594d2a58e0e1f8" +uuid = "2803e5a7-5153-5ecf-9a86-9b4c37f5f5ac" +version = "0.6.11" + +[[ImageBase]] +deps = ["ImageCore", "Reexport"] +git-tree-sha1 = "eb49b82c172811fd2c86759fa0553a2221feb909" +uuid = "c817782e-172a-44cc-b673-b171935fbb9e" +version = "0.1.7" + +[[ImageCore]] +deps = ["ColorVectorSpace", "Colors", "FixedPointNumbers", "MappedArrays", "MosaicViews", "OffsetArrays", "PaddedViews", "PrecompileTools", "Reexport"] +git-tree-sha1 = "b2a7eaa169c13f5bcae8131a83bc30eff8f71be0" +uuid = "a09fc81d-aa75-5fe9-8630-4744c3626534" +version = "0.10.2" + +[[ImageIO]] +deps = ["FileIO", "IndirectArrays", "JpegTurbo", "LazyModules", "Netpbm", "OpenEXR", "PNGFiles", "QOI", "Sixel", "TiffImages", "UUIDs"] +git-tree-sha1 = "bca20b2f5d00c4fbc192c3212da8fa79f4688009" +uuid = "82e4d734-157c-48bb-816b-45c225c6df19" +version = "0.6.7" + +[[ImageMetadata]] +deps = ["AxisArrays", "ImageAxes", "ImageBase", "ImageCore"] +git-tree-sha1 = "355e2b974f2e3212a75dfb60519de21361ad3cb7" +uuid = "bc367c6b-8a6b-528e-b4bd-a4b897500b49" +version = "0.9.9" + +[[ImageShow]] +deps = ["Base64", "ColorSchemes", "FileIO", "ImageBase", "ImageCore", "OffsetArrays", "StackViews"] +git-tree-sha1 = "3b5344bcdbdc11ad58f3b1956709b5b9345355de" +uuid = "4e3cecfd-b093-5904-9786-8bbb286a6a31" +version = "0.3.8" + +[[Imath_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "0936ba688c6d201805a83da835b55c61a180db52" +uuid = "905a6f67-0a94-5f89-b386-d35d92009cd1" +version = "3.1.11+0" + +[[IndirectArrays]] +git-tree-sha1 = "012e604e1c7458645cb8b436f8fba789a51b257f" +uuid = "9b13fd28-a010-5f03-acff-a1bbcff69959" +version = "1.0.0" + +[[Inflate]] +git-tree-sha1 = "ea8031dea4aff6bd41f1df8f2fdfb25b33626381" +uuid = "d25df0c9-e2be-5dd7-82c8-3ad0b3e990b9" +version = "0.1.4" + +[[InteractiveUtils]] +deps = ["Markdown"] +uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" + +[[IntervalSets]] +git-tree-sha1 = "dba9ddf07f77f60450fe5d2e2beb9854d9a49bd0" +uuid = "8197267c-284f-5f27-9208-e0e47529a953" +version = "0.7.10" + + [IntervalSets.extensions] + IntervalSetsRandomExt = "Random" + IntervalSetsRecipesBaseExt = "RecipesBase" + IntervalSetsStatisticsExt = "Statistics" + + [IntervalSets.weakdeps] + Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" + Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" + +[[IterTools]] +git-tree-sha1 = "42d5f897009e7ff2cf88db414a389e5ed1bdd023" +uuid = "c8e1da08-722c-5040-9ed9-7db0dc04731e" +version = "1.10.0" + +[[JLLWrappers]] +deps = ["Artifacts", "Preferences"] +git-tree-sha1 = "7e5d6779a1e09a36db2a7b6cff50942a0a7d0fca" +uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" +version = "1.5.0" + +[[JSON]] +deps = ["Dates", "Mmap", "Parsers", "Unicode"] +git-tree-sha1 = "31e996f0a15c7b280ba9f76636b3ff9e2ae58c9a" +uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" +version = "0.21.4" + +[[JpegTurbo]] +deps = ["CEnum", "FileIO", "ImageCore", "JpegTurbo_jll", "TOML"] +git-tree-sha1 = "fa6d0bcff8583bac20f1ffa708c3913ca605c611" +uuid = "b835a17e-a41a-41e7-81f0-2f016b05efe0" +version = "0.1.5" + +[[JpegTurbo_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "3336abae9a713d2210bb57ab484b1e065edd7d23" +uuid = "aacddb02-875f-59d6-b918-886e6ef4fbf8" +version = "3.0.2+0" + +[[JuliaInterpreter]] +deps = ["CodeTracking", "InteractiveUtils", "Random", "UUIDs"] +git-tree-sha1 = "e9648d90370e2d0317f9518c9c6e0841db54a90b" +uuid = "aa1ae85d-cabe-5617-a682-6adf51b2e16a" +version = "0.9.31" + +[[LaTeXStrings]] +git-tree-sha1 = "50901ebc375ed41dbf8058da26f9de442febbbec" +uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" +version = "1.3.1" + +[[Latexify]] +deps = ["Format", "InteractiveUtils", "LaTeXStrings", "MacroTools", "Markdown", "OrderedCollections", "Requires"] +git-tree-sha1 = "e0b5cd21dc1b44ec6e64f351976f961e6f31d6c4" +uuid = "23fbe1c1-3f47-55db-b15f-69d7ec21a316" +version = "0.16.3" + + [Latexify.extensions] + DataFramesExt = "DataFrames" + SymEngineExt = "SymEngine" + + [Latexify.weakdeps] + DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" + SymEngine = "123dc426-2d89-5057-bbad-38513e3affd8" + +[[LazyModules]] +git-tree-sha1 = "a560dd966b386ac9ae60bdd3a3d3a326062d3c3e" +uuid = "8cdb02fc-e678-4876-92c5-9defec4f444e" +version = "0.3.1" + +[[LibCURL]] +deps = ["LibCURL_jll", "MozillaCACerts_jll"] +uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21" +version = "0.6.4" + +[[LibCURL_jll]] +deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"] +uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" +version = "8.4.0+0" + +[[LibGit2]] +deps = ["Base64", "LibGit2_jll", "NetworkOptions", "Printf", "SHA"] +uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" + +[[LibGit2_jll]] +deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll"] +uuid = "e37daf67-58a4-590a-8e99-b0245dd2ffc5" +version = "1.6.4+0" + +[[LibSSH2_jll]] +deps = ["Artifacts", "Libdl", "MbedTLS_jll"] +uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8" +version = "1.11.0+1" + +[[Libdl]] +uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" + +[[LinearAlgebra]] +deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"] +uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" + +[[Logging]] +uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" + +[[LoweredCodeUtils]] +deps = ["JuliaInterpreter"] +git-tree-sha1 = "31e27f0b0bf0df3e3e951bfcc43fe8c730a219f6" +uuid = "6f1432cf-f94c-5a45-995e-cdbf5db27b0b" +version = "2.4.5" + +[[MIMEs]] +git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb" +uuid = "6c6e2e6c-3030-632d-7369-2d6c69616d65" +version = "0.1.4" + +[[MacroTools]] +deps = ["Markdown", "Random"] +git-tree-sha1 = "2fa9ee3e63fd3a4f7a9a4f4744a52f4856de82df" +uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" +version = "0.5.13" + +[[MappedArrays]] +git-tree-sha1 = "2dab0221fe2b0f2cb6754eaa743cc266339f527e" +uuid = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" +version = "0.4.2" + +[[Markdown]] +deps = ["Base64"] +uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" + +[[MbedTLS_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" +version = "2.28.2+1" + +[[Mmap]] +uuid = "a63ad114-7e13-5084-954f-fe012c677804" + +[[MosaicViews]] +deps = ["MappedArrays", "OffsetArrays", "PaddedViews", "StackViews"] +git-tree-sha1 = "7b86a5d4d70a9f5cdf2dacb3cbe6d251d1a61dbe" +uuid = "e94cdb99-869f-56ef-bcf0-1ae2bcbe0389" +version = "0.3.4" + +[[MozillaCACerts_jll]] +uuid = "14a3606d-f60d-562e-9121-12d972cd8159" +version = "2023.1.10" + +[[Netpbm]] +deps = ["FileIO", "ImageCore", "ImageMetadata"] +git-tree-sha1 = "d92b107dbb887293622df7697a2223f9f8176fcd" +uuid = "f09324ee-3d7c-5217-9330-fc30815ba969" +version = "1.1.1" + +[[NetworkOptions]] +uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" +version = "1.2.0" + +[[OffsetArrays]] +git-tree-sha1 = "e64b4f5ea6b7389f6f046d13d4896a8f9c1ba71e" +uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" +version = "1.14.0" + + [OffsetArrays.extensions] + OffsetArraysAdaptExt = "Adapt" + + [OffsetArrays.weakdeps] + Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" + +[[OpenBLAS_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"] +uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" +version = "0.3.23+2" + +[[OpenEXR]] +deps = ["Colors", "FileIO", "OpenEXR_jll"] +git-tree-sha1 = "327f53360fdb54df7ecd01e96ef1983536d1e633" +uuid = "52e1d378-f018-4a11-a4be-720524705ac7" +version = "0.3.2" + +[[OpenEXR_jll]] +deps = ["Artifacts", "Imath_jll", "JLLWrappers", "Libdl", "Zlib_jll"] +git-tree-sha1 = "8292dd5c8a38257111ada2174000a33745b06d4e" +uuid = "18a262bb-aa17-5467-a713-aee519bc75cb" +version = "3.2.4+0" + +[[OrderedCollections]] +git-tree-sha1 = "dfdf5519f235516220579f949664f1bf44e741c5" +uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" +version = "1.6.3" + +[[PNGFiles]] +deps = ["Base64", "CEnum", "ImageCore", "IndirectArrays", "OffsetArrays", "libpng_jll"] +git-tree-sha1 = "67186a2bc9a90f9f85ff3cc8277868961fb57cbd" +uuid = "f57f5aa1-a3ce-4bc8-8ab9-96f992907883" +version = "0.4.3" + +[[PaddedViews]] +deps = ["OffsetArrays"] +git-tree-sha1 = "0fac6313486baae819364c52b4f483450a9d793f" +uuid = "5432bcbf-9aad-5242-b902-cca2824c8663" +version = "0.5.12" + +[[Parsers]] +deps = ["Dates", "PrecompileTools", "UUIDs"] +git-tree-sha1 = "8489905bcdbcfac64d1daa51ca07c0d8f0283821" +uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" +version = "2.8.1" + +[[Pkg]] +deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] +uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" +version = "1.10.0" + +[[PkgVersion]] +deps = ["Pkg"] +git-tree-sha1 = "f9501cc0430a26bc3d156ae1b5b0c1b47af4d6da" +uuid = "eebad327-c553-4316-9ea0-9fa01ccd7688" +version = "0.3.3" + +[[PlutoHooks]] +deps = ["InteractiveUtils", "Markdown", "UUIDs"] +git-tree-sha1 = "072cdf20c9b0507fdd977d7d246d90030609674b" +uuid = "0ff47ea0-7a50-410d-8455-4348d5de0774" +version = "0.0.5" + +[[PlutoLinks]] +deps = ["FileWatching", "InteractiveUtils", "Markdown", "PlutoHooks", "Revise", "UUIDs"] +git-tree-sha1 = "8f5fa7056e6dcfb23ac5211de38e6c03f6367794" +uuid = "0ff47ea0-7a50-410d-8455-4348d5de0420" +version = "0.1.6" + +[[PlutoTeachingTools]] +deps = ["Downloads", "HypertextLiteral", "LaTeXStrings", "Latexify", "Markdown", "PlutoLinks", "PlutoUI", "Random"] +git-tree-sha1 = "5d9ab1a4faf25a62bb9d07ef0003396ac258ef1c" +uuid = "661c6b06-c737-4d37-b85c-46df65de6f69" +version = "0.2.15" + +[[PlutoUI]] +deps = ["AbstractPlutoDingetjes", "Base64", "ColorTypes", "Dates", "FixedPointNumbers", "Hyperscript", "HypertextLiteral", "IOCapture", "InteractiveUtils", "JSON", "Logging", "MIMEs", "Markdown", "Random", "Reexport", "URIs", "UUIDs"] +git-tree-sha1 = "ab55ee1510ad2af0ff674dbcced5e94921f867a9" +uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" +version = "0.7.59" + +[[PrecompileTools]] +deps = ["Preferences"] +git-tree-sha1 = "5aa36f7049a63a1528fe8f7c3f2113413ffd4e1f" +uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a" +version = "1.2.1" + +[[Preferences]] +deps = ["TOML"] +git-tree-sha1 = "9306f6085165d270f7e3db02af26a400d580f5c6" +uuid = "21216c6a-2e73-6563-6e65-726566657250" +version = "1.4.3" + +[[Printf]] +deps = ["Unicode"] +uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" + +[[ProgressMeter]] +deps = ["Distributed", "Printf"] +git-tree-sha1 = "763a8ceb07833dd51bb9e3bbca372de32c0605ad" +uuid = "92933f4c-e287-5a05-a399-4b506db050ca" +version = "1.10.0" + +[[QOI]] +deps = ["ColorTypes", "FileIO", "FixedPointNumbers"] +git-tree-sha1 = "18e8f4d1426e965c7b532ddd260599e1510d26ce" +uuid = "4b34888f-f399-49d4-9bb3-47ed5cae4e65" +version = "1.0.0" + +[[REPL]] +deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] +uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" + +[[Random]] +deps = ["SHA"] +uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + +[[RangeArrays]] +git-tree-sha1 = "b9039e93773ddcfc828f12aadf7115b4b4d225f5" +uuid = "b3c3ace0-ae52-54e7-9d0b-2c1406fd6b9d" +version = "0.3.2" + +[[Reexport]] +git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b" +uuid = "189a3867-3050-52da-a836-e630ba90ab69" +version = "1.2.2" + +[[Requires]] +deps = ["UUIDs"] +git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7" +uuid = "ae029012-a4dd-5104-9daa-d747884805df" +version = "1.3.0" + +[[Revise]] +deps = ["CodeTracking", "Distributed", "FileWatching", "JuliaInterpreter", "LibGit2", "LoweredCodeUtils", "OrderedCollections", "Pkg", "REPL", "Requires", "UUIDs", "Unicode"] +git-tree-sha1 = "12aa2d7593df490c407a3bbd8b86b8b515017f3e" +uuid = "295af30f-e4ad-537b-8983-00126c2a3abe" +version = "3.5.14" + +[[SHA]] +uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" +version = "0.7.0" + +[[Serialization]] +uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" + +[[SimpleTraits]] +deps = ["InteractiveUtils", "MacroTools"] +git-tree-sha1 = "5d7e3f4e11935503d3ecaf7186eac40602e7d231" +uuid = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" +version = "0.9.4" + +[[Sixel]] +deps = ["Dates", "FileIO", "ImageCore", "IndirectArrays", "OffsetArrays", "REPL", "libsixel_jll"] +git-tree-sha1 = "2da10356e31327c7096832eb9cd86307a50b1eb6" +uuid = "45858cf5-a6b0-47a3-bbea-62219f50df47" +version = "0.1.3" + +[[Sockets]] +uuid = "6462fe0b-24de-5631-8697-dd941f90decc" + +[[SparseArrays]] +deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"] +uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +version = "1.10.0" + +[[StackViews]] +deps = ["OffsetArrays"] +git-tree-sha1 = "46e589465204cd0c08b4bd97385e4fa79a0c770c" +uuid = "cae243ae-269e-4f55-b966-ac2d0dc13c15" +version = "0.1.1" + +[[Statistics]] +deps = ["LinearAlgebra", "SparseArrays"] +uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" +version = "1.10.0" + +[[SuiteSparse_jll]] +deps = ["Artifacts", "Libdl", "libblastrampoline_jll"] +uuid = "bea87d4a-7f5b-5778-9afe-8cc45184846c" +version = "7.2.1+1" + +[[TOML]] +deps = ["Dates"] +uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" +version = "1.0.3" + +[[Tar]] +deps = ["ArgTools", "SHA"] +uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e" +version = "1.10.0" + +[[TensorCore]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "1feb45f88d133a655e001435632f019a9a1bcdb6" +uuid = "62fd8b95-f654-4bbd-a8a5-9c27f68ccd50" +version = "0.1.1" + +[[Test]] +deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] +uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[[TiffImages]] +deps = ["ColorTypes", "DataStructures", "DocStringExtensions", "FileIO", "FixedPointNumbers", "IndirectArrays", "Inflate", "Mmap", "OffsetArrays", "PkgVersion", "ProgressMeter", "UUIDs"] +git-tree-sha1 = "34cc045dd0aaa59b8bbe86c644679bc57f1d5bd0" +uuid = "731e570b-9d59-4bfa-96dc-6df516fadf69" +version = "0.6.8" + +[[Tricks]] +git-tree-sha1 = "eae1bb484cd63b36999ee58be2de6c178105112f" +uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775" +version = "0.1.8" + +[[URIs]] +git-tree-sha1 = "67db6cc7b3821e19ebe75791a9dd19c9b1188f2b" +uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" +version = "1.5.1" + +[[UUIDs]] +deps = ["Random", "SHA"] +uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" + +[[Unicode]] +uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" + +[[Zlib_jll]] +deps = ["Libdl"] +uuid = "83775a58-1f1d-513f-b197-d71354ab007a" +version = "1.2.13+1" + +[[libblastrampoline_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "8e850b90-86db-534c-a0d3-1478176c7d93" +version = "5.8.0+1" + +[[libpng_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"] +git-tree-sha1 = "d7015d2e18a5fd9a4f47de711837e980519781a4" +uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" +version = "1.6.43+1" + +[[libsixel_jll]] +deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Pkg", "libpng_jll"] +git-tree-sha1 = "d4f63314c8aa1e48cd22aa0c17ed76cd1ae48c3c" +uuid = "075b6546-f08a-558a-be8f-8157d0f608a5" +version = "1.10.3+0" + +[[nghttp2_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d" +version = "1.52.0+1" + +[[p7zip_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" +version = "17.4.0+2" +""" + +# ╔═╡ Cell order: +# ╟─fed94a2f-d800-4973-9105-d712ce08d5d9 +# ╟─d07fcdb0-7afc-4a25-b68a-49fd1e3405e7 +# ╟─9b49500c-0164-4556-a17b-7595e35c5ede +# ╠═74b008f6-ed6b-11ea-291f-b3791d6d1b35 +# ╟─ca1b507e-6017-11eb-34e6-6b85cd189002 +# ╟─e9ff96d8-6bc1-11eb-0f6a-234b9fae047e +# ╟─9111db10-6bc3-11eb-38e5-cf3f58536914 +# ╟─fb8a99ac-6bc1-11eb-0835-3146734a1c99 +# ╟─b795dcb4-6bc3-11eb-20ec-db2cc4b89bfb +# ╟─8691e434-6bc4-11eb-07d1-8169158484e6 +# ╟─546db74c-6d4e-11eb-2e27-f5bed9dbd9ba +# ╟─6385d174-6d4e-11eb-093b-6f6fafb79f84 +# ╟─132f6596-6bc6-11eb-29f1-1b2478c929af +# ╟─e1bd938e-d067-4854-b5da-9aa71023d8a1 +# ╟─9eb6efd2-6018-11eb-2db8-c3ce41d9e337 +# ╟─e37e4d40-6018-11eb-3e1d-093266c98507 +# ╟─e1c9742a-6018-11eb-23ba-d974e57f78f9 +# ╟─9b004f70-6bc9-11eb-128c-914eadfc9a0e +# ╟─62fa19da-64c6-11eb-0038-5d40a6890cf5 +# ╠═34ee0954-601e-11eb-1912-97dc2937fd52 +# ╟─9180fbcc-601e-11eb-0c22-c920dc7ee9a9 +# ╠═34ffc3d8-601e-11eb-161c-6f9a07c5fd78 +# ╟─abaaa980-601e-11eb-0f71-8ff02269b775 +# ╠═aafe76a6-601e-11eb-1ff5-01885c5238da +# ╟─e86ed944-ee05-11ea-3e0f-d70fc73b789c +# ╟─c99d2aa8-601e-11eb-3469-497a246db17c +# ╟─11dff4ce-6bca-11eb-1056-c1345c796ed4 +# ╟─efef3a32-6bc9-11eb-17e9-dd2171be9c21 +# ╟─e94dcc62-6d4e-11eb-3d53-ff9878f0091e +# ╠═bd0e4cfc-72bb-43c1-8178-63872f859fab +# ╠═6224c74b-8915-4983-abf0-30e6ba04a46d +# ╟─cef1a95a-64c6-11eb-15e7-636a3621d727 +# ╟─f26d9326-64c6-11eb-1166-5d82586422ed +# ╟─6f928b30-602c-11eb-1033-71d442feff93 +# ╠═75c5c85a-602c-11eb-2fb1-f7e7f2c5d04b +# ╟─77f93eb8-602c-11eb-1f38-efa56cc93ca5 +# ╠═96b7d801-c427-4e27-ab1f-e2fd18fc24d0 +# ╠═f08d02af-6e38-4ace-8b11-7af4930b64ea +# ╟─f9244264-64c6-11eb-23a6-cfa76f8aff6d +# ╠═bd22d09a-64c7-11eb-146f-67733b8be241 +# ╟─28860d48-64c8-11eb-240f-e1232b3638df +# ╟─4ef99715-4d8d-4f9d-bf0b-8df9907a14cf +# ╟─a510fc33-406e-4fb5-be83-9e4b5578717c +# ╠═94b77934-713e-11eb-18cf-c5dc5e7afc5b +# ╠═ff762861-b186-4eb0-9582-0ce66ca10f60 +# ╟─13844ebf-52c4-47e9-bda4-106a02fad9d7 +# ╠═08d61afb-c641-4aa9-b995-2552af89f3b8 +# ╠═6511a498-7ac9-445b-9c15-ec02d09783fe +# ╟─c9ed950c-dcd9-4296-a431-ee0f36d5b557 +# ╠═f0796032-8105-4f6d-b5ee-3647b052f2f6 +# ╟─b9be8761-a9c9-49eb-ba1b-527d12097362 +# ╠═d515286b-4ad4-449b-8967-06b9b4c87684 +# ╟─eef8fbc8-8887-4628-8ba8-114575d6b91f +# ╠═4e6a31d6-1ef8-4a69-b346-ad58cfc4d8a5 +# ╟─e11f0e47-02d9-48a6-9b1a-e313c18db129 +# ╠═9e447eab-14b6-45d8-83ab-1f7f1f1c70d2 +# ╠═c926435c-c648-419c-9951-ac8a1d4f3b92 +# ╟─32e7e51c-dd0d-483d-95cb-e6043f2b2975 +# ╠═4b64e1f2-d0ca-4e22-a89d-1d9a16bd6788 +# ╠═85919db9-1444-4904-930f-ba572cff9460 +# ╠═2ac47b91-bbc3-49ae-9bf5-4def30ff46f4 +# ╟─5a0cc342-64c9-11eb-1211-f1b06d652497 +# ╟─4504577c-64c8-11eb-343b-3369b6d10d8b +# ╟─40886d36-64c9-11eb-3c69-4b68673a6dde +# ╠═552235ec-64c9-11eb-1f7f-f76da2818cb3 +# ╟─c2907d1a-47b1-4634-8669-a68022706861 +# ╠═ff9eea3f-cab0-4030-8337-f519b94316c5 +# ╟─f6cc03a0-ee07-11ea-17d8-013991514d42 +# ╠═63e8d636-ee0b-11ea-173d-bd3327347d55 +# ╟─2cc2f84e-ee0d-11ea-373b-e7ad3204bb00 +# ╟─b8f26960-ee0a-11ea-05b9-3f4bc1099050 +# ╠═5de3a22e-ee0b-11ea-230f-35df4ca3c96d +# ╠═4e21e0c4-ee0b-11ea-3d65-b311ae3f98e9 +# ╠═6dbf67ce-ee0b-11ea-3b71-abc05a64dc43 +# ╟─846b1330-ee0b-11ea-3579-7d90fafd7290 +# ╠═943103e2-ee0b-11ea-33aa-75a8a1529931 +# ╟─2ee543b2-64d6-11eb-3c39-c5660141787e +# ╠═53bad296-4c7b-471f-b481-0e9423a9288a +# ╟─ab9af0f6-64c9-11eb-13d3-5dbdb75a69a7 +# ╠═e29b7954-64cb-11eb-2768-47de07766055 +# ╟─8e7c4866-64cc-11eb-0457-85be566a8966 +# ╟─f2ad501a-64cb-11eb-1707-3365d05b300a +# ╠═4f03f651-56ed-4361-b954-e6848ac56089 +# ╟─2808339c-64cc-11eb-21d1-c76a9854aa5b +# ╠═1bd53326-d705-4d1a-bf8f-5d7f2a4e696f +# ╟─a5f8bafe-edf0-11ea-0da3-3330861ae43a +# ╠═b6b65b94-edf0-11ea-3686-fbff0ff53d08 +# ╟─d862fb16-edf1-11ea-36ec-615d521e6bc0 +# ╟─e3394c8a-edf0-11ea-1bb8-619f7abb6881 +# ╟─693af19c-64cc-11eb-31f3-57ab2fbae597 +# ╟─6361d102-64cc-11eb-31b7-fb631b632040 +# ╠═ae542fe4-64cc-11eb-29fc-73b7a66314a9 +# ╟─c29292b8-64cc-11eb-28db-b52c46e865e6 +# ╟─7b04331a-6bcb-11eb-34fa-1f5b151e5510 +# ╟─5319c03c-64cc-11eb-0743-a1612476e2d3 +# ╠═3db09d92-64cc-11eb-0333-45193c0fd1fe +# ╟─61606acc-6bcc-11eb-2c80-69ceec9f9702 +# ╟─dd183eca-6018-11eb-2a83-2fcaeea62942 +# ╟─8ddcb286-602a-11eb-3ae0-07d3c77a0f8c +# ╠═f4b0aa23-2d76-4d88-b2a4-3807e88d27ce +# ╠═1b2b2b18-64d4-11eb-2d43-e31cb8bc25d1 +# ╟─2b0e6450-64d4-11eb-182b-ff1bd515b56f +# ╠═3b2b041a-64d4-11eb-31dd-47d7321ee909 +# ╟─0f35603a-64d4-11eb-3baf-4fef06d82daa +# ╠═e69b02c6-64d6-11eb-02f1-21c4fb5d1043 +# ╟─fce76132-64d6-11eb-259d-b130038bbae6 +# ╟─17a69736-64d7-11eb-2c6c-eb5ebf51b285 +# ╠═291b04de-64d7-11eb-1ee0-d998dccb998c +# ╟─647fddf2-60ee-11eb-124d-5356c7014c3b +# ╠═7d9ad134-60ee-11eb-1b2a-a7d63f3a7a2d +# ╠═8433b862-60ee-11eb-0cfc-add2b72997dc +# ╟─5e52d12e-64d7-11eb-0905-c9038a404e24 +# ╟─6aba7e62-64d7-11eb-2c49-7944e9e2b94b +# ╟─afc66dac-64d7-11eb-1ad0-7f62c20ffefb +# ╠═b37c9868-64d7-11eb-3033-a7b5d3065f7f +# ╟─b1dfe122-64dc-11eb-1104-1b8852b2c4c5 +# ╟─cfc55140-64d7-11eb-0ff6-e59c70d01d67 +# ╟─fca72490-64d7-11eb-1464-f5e0582c4d18 +# ╠═88933746-6028-11eb-32de-13eb6ff43e29 +# ╟─1c539b02-64d8-11eb-3505-c9288357d139 +# ╟─10f6e6da-64d8-11eb-366f-11f16e73043b +# ╟─82a8314c-64d8-11eb-1acb-e33625381178 +# ╟─576d5e3a-64d8-11eb-10c9-876be31f7830 +# ╟─ace86c8a-60ee-11eb-34ef-93c54abc7b1a +# ╟─b08e57e4-60ee-11eb-0e1a-2f49c496668b +# ╟─45815734-ee0a-11ea-2982-595e1fc0e7b1 +# ╟─5da8cbe8-eded-11ea-2e43-c5b7cc71e133 +# ╠═e0a6031c-601b-11eb-27a5-65140dd92897 +# ╟─00000000-0000-0000-0000-000000000001 +# ╟─00000000-0000-0000-0000-000000000002 diff --git a/src/computational-thinking/newton.jl b/src/computational-thinking/newton.jl new file mode 100644 index 0000000..b4fdf53 --- /dev/null +++ b/src/computational-thinking/newton.jl @@ -0,0 +1,2215 @@ +### A Pluto.jl notebook ### +# v0.19.41 + +#> [frontmatter] +#> chapter = "1" +#> license_url = "https://github.com/mitmath/computational-thinking/blob/Fall23/LICENSE.md" +#> youtube_id = "Wjcx9sNSLP8" +#> video = "https://www.youtube.com/watch?v=Wjcx9sNSLP8" +#> layout = "layout.jlhtml" +#> description = "This lecture explains a method for finding the root of a function, but using code an illustrations instead of a chalkboard! We will illustrate the Newton method using the ForwardDiff.jl package to carry out automatic differentiation, but we will also try to understand what's going on \"under the hood\"." +#> text_license = "CC-BY-SA-4.0" +#> image = "https://user-images.githubusercontent.com/6933510/136196605-b6119b9d-223c-44bc-97d5-ef7cfce66483.gif" +#> code_license = "MIT" +#> section = "6" +#> title = "The Newton Method" +#> tags = ["lecture", "module1", "track_math", "continuous", "differentiation", "automatic differentiation", "ForwardDiff", "interactive", "Symbolics", "transformation"] +#> +#> [[frontmatter.author]] +#> name = "MIT mathematics" +#> url = "https://github.com/mitmath" + +using Markdown +using InteractiveUtils + +# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error). +macro bind(def, element) + quote + local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end + local el = $(esc(element)) + global $(esc(def)) = Core.applicable(Base.get, el) ? Base.get(el) : iv(el) + el + end +end + +# ╔═╡ f4fda666-7b9c-11eb-0304-716c5e710462 +begin + using Symbolics, ForwardDiff, Plots, PlutoUI, LaTeXStrings + using ForwardDiff: jacobian +end + +# ╔═╡ dd6b0ae2-cc87-4d19-ac78-f3a990aa692e +html""" + + + + + +
+
Section
+

Loading...

+ +

This lecture is part of Computational Thinking, a live online Julia/Pluto textbook. Go to computationalthinking.mit.edu to read all 50 lectures for free.

+ +
+ +

Lecture Video

+
+ +
+
+ + + + +
+""" + +# ╔═╡ d82f1eae-7b9c-11eb-24d8-e1dcb2eef71a +md""" +## Solving equations and finding inverse transformations using the Newton method +""" + +# ╔═╡ e410c1d0-7ba1-11eb-394f-71dac89756b7 +md""" +In science and engineering we often need to *solve systems of equations*. + +If the equations are *linear* then linear algebra tells us a general method to solve them; these are now routinely applied to solve systems of millions of linear equations. + +If the equations are *non*linear then things are less obvious. The main solution methods we know work by... reducing the nonlinear equations to a sequence of linear equations! They do this by *approximating* the function by a linear function and solving that to get a better solution, then repeating this operation as many times as necessary to get a *sequence* of increasingly better solutions. This is an example of an **iterative algorithm**. + +A well-known and elegant method, which can be used in many different contexts, is the **Newton method**. It does, however, have the disadvantage that it requires derivatives of the function. This can be overcome using **automatic differentiation** techniques. + +We will illustrate the Newton method using the `ForwardDiff.jl` package to carry out automatic differentiation, but we will also try to understand what's going on "under the hood". +""" + +# ╔═╡ 5ea7344c-7ba2-11eb-2cc5-0bbdca218c82 +md""" +## The Newton method in 1D + +We would like to solve equations like $f(x) = g(x)$. +We rewrite that by moving all the terms to one side of the equation so that we can write $h(x) = 0$, with $h(x) := f(x) - g(x)$. + +A point $x^*$ such that $h(x^*) = 0$ is called a **root** or **zero** of $h$. + +The Newton method finds zeros, and hence solves the original equation. +""" + +# ╔═╡ 8c0c412e-7c2f-11eb-1880-4f6c45d77597 +md""" + + +The idea of the Newton method is to *follow the direction in which the function is pointing*! We do this by building a **tangent line** at the current position and following that instead, until it hits the $x$-axis. + +Let's look at that visually first: + +""" + +# ╔═╡ ce44554e-847f-4129-8841-1a729dfa7a2e +md""" +n = $(@bind n2 Slider(0:10, show_value=true, default=1)) +""" + +# ╔═╡ 77ef0cfb-60db-4599-bec2-b65e99e5b246 +md""" +x₀ = $(@bind x02 Slider(-10:10, show_value=true, default=6)) +""" + +# ╔═╡ 2445da24-7b9d-11eb-02bd-eb99a3d95a2e +md""" +n = $(@bind n Slider(0:10, show_value=true, default=1)) +""" + +# ╔═╡ 9addbcbe-7b9e-11eb-3e8c-fbab3be40e05 +md""" +x₀ = $(@bind x0 Slider(-10:10, show_value=true, default=6)) +""" + +# ╔═╡ c0b4defe-7c2f-11eb-1913-bdb01d28a4a8 +md""" +## Using symbolic calculations to understand derivatives and nonlinear maps +""" + +# ╔═╡ 615aff3c-7c30-11eb-2ca8-9d2fdf299017 +md""" +We can use Julia's new symbolic capabilities to understand what's going on with a nonlinear (polynomial) function. + +Let's see what happens if we perturb a function $f$ around a point $z$ by a small amount $\eta$. +""" + +# ╔═╡ 71efd6b0-7c30-11eb-0da7-0d4a5ab8f8ff +@variables z, η + +# ╔═╡ a869e6c6-7c31-11eb-13c8-155d08be02eb +md""" +m = $(@bind m Slider(1:6, show_value=true)) +""" + +# ╔═╡ 6dc89964-7c30-11eb-0a41-8d97b210ed34 +f(x) = x^m - 2; + +# ╔═╡ d35e0cc8-7c30-11eb-28d3-17c9e221ea62 +f′(x) = ForwardDiff.derivative(f, x); + +# ╔═╡ 63dbf052-7c32-11eb-1062-5b3581d38f70 +f(z) + +# ╔═╡ 9371f930-7c30-11eb-1f77-c7f31b97ea26 +f(z + η) + +# ╔═╡ 9d778e36-7c30-11eb-1f4b-894af86a8f5d +md""" +When $\eta$ is small, $\eta^2$ is *very* small, so we can ignore it. We are left with terms that either don't contain $\eta$ (constants), or multiply $\eta$ (linear). The part that multiplies $\eta$ is the derivative: +""" + +# ╔═╡ db26375a-7c30-11eb-066e-ab9e8ded3356 +f′(z) + +# ╔═╡ ea741018-7c30-11eb-3912-a50475e6ec49 +f(z) + η*f′(z) + +# ╔═╡ 389e990e-7c40-11eb-37c4-5ba0f59173b3 +md""" +The derivative gives the "*linear* part" of the function. `ForwardDiff.jl`, and forward-mode automatic differentiation in general, effectively uses this (although not symbolically in this sense) to just propagate the linear part of each function through a calculation. +""" + +# ╔═╡ 5123c038-7ba2-11eb-1be2-19f789b02c1f +md""" +## Mathematics of the Newton method +""" + +# ╔═╡ 9bfafcc0-7ba2-11eb-1b67-e3a3803ead08 +md""" +We can convert the idea of "following the tangent line" into equations as follows. +(You can also do so by just looking at the geometry in 1D, but that does not help in 2D.) +""" + +# ╔═╡ f153b4b8-7ba0-11eb-37ec-4f1a3dbe20e8 +md""" +Suppose we have a guess $x_0$ for the root and we want to find a (hopefully) better guess $x_1$. + +Let's set $x_1 = x_0 + \delta$, where $x_1$ and $\delta$ are still unknown. + +We want $x_1$ to be a root, so +""" + +# ╔═╡ 9cfa9062-7ba0-11eb-3a93-197ac0287ab4 +md""" +$$f(x_1) = f(x_0 + \delta) \simeq 0$$ +""" + +# ╔═╡ 1ba1ae44-7ba1-11eb-21ff-558c95446435 +md""" +If we are already "quite close" to the root then $\delta$ should be small, so we can approximate $f$ using the tangent line: + +$$f(x_0) + \delta \, f'(x_0) \simeq 0$$ + +and hence + +$$\delta \simeq \frac{-f(x_0)}{f'(x_0)}$$ + +so that + +$$x_1 = x_0 - \frac{f(x_0)}{f'(x_0)}$$ + +Now we can repeat so that + +$$x_2 = x_1 - \frac{f(x_1)}{f'(x_1)}$$ + +and in general + +$$x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}.$$ + + +This is the Newton method in 1D. +""" + +# ╔═╡ ba570c4c-7ba2-11eb-2125-9f23e415a1dc +md""" +## Implementation in 1D +""" + +# ╔═╡ d690f83a-7c2e-11eb-14d7-79a250deb473 +function newton1D(f, x0) + + f′(x) = ForwardDiff.derivative(f, x) # \prime + + x0 = 37.0 # starting point + sequence = [x0] + + x = x0 + + for i in 1:10 + x -= f(x) / f′(x) + end + + return x + +end + +# ╔═╡ 2fb40dc6-7c2f-11eb-2469-8deb4db59b5c +newton1D(x -> x^2 - 2, 37.0) + +# ╔═╡ 35791bca-7c2f-11eb-1cfb-8d5ebd0208cb +sqrt(2) + +# ╔═╡ 1d7dd328-7c2d-11eb-2b35-bdbf5df686f0 +md""" +## Symbolic derivative in 2D + +""" + +# ╔═╡ d44c73b4-7c3e-11eb-1302-8ba9039ae789 +md""" +Let's see what happens when we perturb by small amounts $\delta$ in the $x$ direction and $\epsilon$ in the $y$ direction around the point $(a, b)$: +""" + +# ╔═╡ fe742fec-7c3e-11eb-1f54-55cdf02a1574 +md""" +p = $(@bind p Slider(0:0.01:1, show_value=true)) +""" + +# ╔═╡ 23536420-7c2d-11eb-20b0-9523f7a5f9d7 +@variables a, b, δ, ϵ + +# ╔═╡ 4dd2322c-7ba0-11eb-2b3b-af7c6c1d60a0 +md""" +## Newton for transformations in 2 dimensions + +$$T: \mathbb{R}^2 \to \mathbb{R}^2$$ + +""" + +# ╔═╡ 5c9edb2c-7ba0-11eb-14f6-3d5e52123bc7 +md""" +We want to find the inverse $T^{-1}(y)$, i.e. to solve the equation $T(x) = y$ for $x$. + +We use the same idea as in 1D, but now in 2D: +""" + +# ╔═╡ 80917990-7ba0-11eb-029a-dba981c52b58 +md""" +$$T(x_0 + \delta) \simeq 0$$ + +$$T(x_0) + J \cdot \delta \simeq 0,$$ + +where $J := DT_{x_0}$ is the Jacobian matrix of $T$ at $x_0$, i.e. the best linear approximation of $T$ near to $x_0$. +""" + +# ╔═╡ af887dea-7ba1-11eb-3b0d-6925756382a7 +md""" +Hence $\delta$ is the solution of the system of linear equations +""" + +# ╔═╡ b7dc4666-7ba1-11eb-32eb-fd3d720c2960 +md""" +$$J \cdot \delta = -T(x_0)$$ + +Then we again construct the new approximation $x_1$ as $x_1 := x_0 + \delta$. +""" + +# ╔═╡ c519704c-7ba1-11eb-12da-8b9b176daa0d +md""" +In 2D we have an explicit formula for the inverse of the matrix. +""" + +# ╔═╡ e1afc6ca-7ba1-11eb-3fb9-ef3a7f82d750 +md""" +## Implementation in 2D +""" + +# ╔═╡ 1db66b0e-7ba4-11eb-2157-d5a399a73b1f +function newton2D_step(T, x) + + J = ForwardDiff.jacobian(T, x) # should use StaticVectors + + δ = J \ T(x) # J^(-1) * T(x) + + return x - δ +end + +# ╔═╡ 923bde64-7ba4-11eb-21e9-a11993aaab2e +"Find ``x`` such that ``T(x) = 0``" +function newton2D(T, x0, n=10) + + x = x0 + + for i in 1:n + x = newton2D_step(T, x) + end + + return x +end + +# ╔═╡ 61905ae0-7ba6-11eb-0773-17e9aa4e9991 +md""" +Remember that Newton is designed to look for *roots*, i.e. places where $T(x) = 0$. +We want $T(x) = y$, so we need another layer: +""" + +# ╔═╡ ff8b6aec-7ba5-11eb-0d83-19803b1bdda7 +"Looks for ``x`` such that ``f(x) = y``, i.e. ``f(x) - y = 0``" +function inverse(f, y, x0=[0, 0]) + return newton2D(x -> f(x) - y, x0) +end + +# ╔═╡ 2e2e5f0e-7c31-11eb-0da7-770b07ee6202 +inverse(f) = y -> inverse(f, y) + +# ╔═╡ 1b77fada-7b9d-11eb-3266-ebb3895cb76a +straight(x0, y0, x, m) = y0 + m * (x - x0) + +# ╔═╡ f25af026-7b9c-11eb-1f11-77a8b06b2d71 +function standard_Newton(f, n, x_range, x0, ymin=-10, ymax=10) + + f′ = x -> ForwardDiff.derivative(f, x) + + + p = plot(f, x_range, lw=3, ylim=(ymin, ymax), legend=:false, size=(400, 300)) + + hline!([0.0], c="magenta", lw=3, ls=:dash) + scatter!([x0], [0], c="green", ann=(x0, -5, L"x_0", 10)) + + for i in 1:n + + plot!([x0, x0], [0, f(x0)], c=:gray, alpha=0.5) + scatter!([x0], [f(x0)], c=:red) + m = f′(x0) + + plot!(x_range, [straight(x0, f(x0), x, m) for x in x_range], + c=:blue, alpha=0.5, ls=:dash, lw=2) + + x1 = x0 - f(x0) / m + + scatter!([x1], [0], c="green", ann=(x1, -5, L"x_%$i", 10)) + + x0 = x1 + + end + + p |> as_svg + + +end + +# ╔═╡ ecb40aea-7b9c-11eb-1476-e54faf32d91c +let + f(x) = x^2 - 2 + + standard_Newton(f, n2, -1:0.01:10, x02, -10, 70) +end + +# ╔═╡ ec6c6328-7b9c-11eb-1c69-dba12ae522ad +let + f(x) = 0.2x^3 - 4x + 1 + + standard_Newton(f, n, -10:0.01:10, x0, -10, 70) +end + +# ╔═╡ 515c23b6-7c2d-11eb-28c9-1b1d92eb4ba0 +T(α) = ((x, y),) -> [x + α*y^2, y + α*x^2] + +# ╔═╡ 09b97be8-7c2e-11eb-05fd-65bbd097afb8 +jacobian(T(p), [a, b]) .|> Text + +# ╔═╡ 18ce2fac-7c2e-11eb-03d2-b3a674621662 +jacobian(T(p), [a, b]) * [δ, ϵ] + +# ╔═╡ 395fd8e2-7c31-11eb-1933-dd719fa0cd22 +md""" +α = $(@bind α Slider(0.0:0.01:1.0, show_value=true)) +""" + +# ╔═╡ 02b1b470-7c31-11eb-28f4-411956f73f12 +T(α)( [0.3, 0.4] ) + +# ╔═╡ 07a754da-7c31-11eb-0394-4bef4d79fc30 +inverse(T(α))( [0.3, 0.4] ) + +# ╔═╡ 5faa2784-7c31-11eb-34f1-3f8224dbdbde +( T(α) ∘ inverse(T(α)) )( [0.3, 0.4] ) + +# ╔═╡ ee91563e-7c3e-11eb-3f65-1f336073869a +md""" +## Appendix +""" + +# ╔═╡ 786f8e78-7c2d-11eb-1bb8-c5cb2e349f45 +expand(ex) = simplify(ex, polynorm=true) + +# ╔═╡ 98158a38-7c30-11eb-0796-2335e97ec6d0 +expand( f(z + η) ) + +# ╔═╡ e18f2470-7c31-11eb-2b74-d59d00d20ba4 +expand( f(z + η) ) - ( f(z) + η*f′(z) ) + +# ╔═╡ 3828b94c-7c2d-11eb-2e01-79038b0f5226 +image = expand.(T(p)( [ (a + δ), (b + ϵ) ] )) + +# ╔═╡ ed605b90-7c3e-11eb-34e9-776a05a177dd +image - T(p)([a, b]) + +# ╔═╡ 35b5c5c6-7c3f-11eb-2723-4b406a809114 +simplify.(expand.(image - T(p)([a, b]) - jacobian(T(p), [a, b]) * [δ, ϵ])) + +# ╔═╡ 00000000-0000-0000-0000-000000000001 +PLUTO_PROJECT_TOML_CONTENTS = """ +[deps] +ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" +LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" +Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" +PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" +Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" + +[compat] +ForwardDiff = "~0.10.36" +LaTeXStrings = "~1.3.1" +Plots = "~1.40.4" +PlutoUI = "~0.7.59" +Symbolics = "~5.28.0" +""" + +# ╔═╡ 00000000-0000-0000-0000-000000000002 +PLUTO_MANIFEST_TOML_CONTENTS = """ +# This file is machine-generated - editing it directly is not advised + +julia_version = "1.10.0" +manifest_format = "2.0" +project_hash = "74852489378d335504d165926966b0a8118a575b" + +[[deps.ADTypes]] +git-tree-sha1 = "fcdb00b4d412b80ab08e39978e3bdef579e5e224" +uuid = "47edcb42-4c32-4615-8424-f2b9edc5f35b" +version = "1.0.0" + + [deps.ADTypes.extensions] + ADTypesChainRulesCoreExt = "ChainRulesCore" + ADTypesEnzymeCoreExt = "EnzymeCore" + + [deps.ADTypes.weakdeps] + ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869" + +[[deps.AbstractPlutoDingetjes]] +deps = ["Pkg"] +git-tree-sha1 = "6e1d2a35f2f90a4bc7c2ed98079b2ba09c35b83a" +uuid = "6e696c72-6542-2067-7265-42206c756150" +version = "1.3.2" + +[[deps.AbstractTrees]] +git-tree-sha1 = "2d9c9a55f9c93e8887ad391fbae72f8ef55e1177" +uuid = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" +version = "0.4.5" + +[[deps.Accessors]] +deps = ["CompositionsBase", "ConstructionBase", "Dates", "InverseFunctions", "LinearAlgebra", "MacroTools", "Markdown", "Test"] +git-tree-sha1 = "c0d491ef0b135fd7d63cbc6404286bc633329425" +uuid = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" +version = "0.1.36" + + [deps.Accessors.extensions] + AccessorsAxisKeysExt = "AxisKeys" + AccessorsIntervalSetsExt = "IntervalSets" + AccessorsStaticArraysExt = "StaticArrays" + AccessorsStructArraysExt = "StructArrays" + AccessorsUnitfulExt = "Unitful" + + [deps.Accessors.weakdeps] + AxisKeys = "94b1ba4f-4ee9-5380-92f1-94cde586c3c5" + IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953" + Requires = "ae029012-a4dd-5104-9daa-d747884805df" + StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" + StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" + Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" + +[[deps.Adapt]] +deps = ["LinearAlgebra", "Requires"] +git-tree-sha1 = "6a55b747d1812e699320963ffde36f1ebdda4099" +uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" +version = "4.0.4" +weakdeps = ["StaticArrays"] + + [deps.Adapt.extensions] + AdaptStaticArraysExt = "StaticArrays" + +[[deps.AliasTables]] +deps = ["Random"] +git-tree-sha1 = "ca95b2220ef440817963baa71525a8f2f4ae7f8f" +uuid = "66dad0bd-aa9a-41b7-9441-69ab47430ed8" +version = "1.0.0" + +[[deps.ArgTools]] +uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" +version = "1.1.1" + +[[deps.ArrayInterface]] +deps = ["Adapt", "LinearAlgebra", "SparseArrays", "SuiteSparse"] +git-tree-sha1 = "133a240faec6e074e07c31ee75619c90544179cf" +uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" +version = "7.10.0" + + [deps.ArrayInterface.extensions] + ArrayInterfaceBandedMatricesExt = "BandedMatrices" + ArrayInterfaceBlockBandedMatricesExt = "BlockBandedMatrices" + ArrayInterfaceCUDAExt = "CUDA" + ArrayInterfaceCUDSSExt = "CUDSS" + ArrayInterfaceChainRulesExt = "ChainRules" + ArrayInterfaceGPUArraysCoreExt = "GPUArraysCore" + ArrayInterfaceReverseDiffExt = "ReverseDiff" + ArrayInterfaceStaticArraysCoreExt = "StaticArraysCore" + ArrayInterfaceTrackerExt = "Tracker" + + [deps.ArrayInterface.weakdeps] + BandedMatrices = "aae01518-5342-5314-be14-df237901396f" + BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0" + CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" + CUDSS = "45b445bb-4962-46a0-9369-b4df9d0f772e" + ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2" + GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527" + ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" + StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c" + Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" + +[[deps.Artifacts]] +uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" + +[[deps.Base64]] +uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" + +[[deps.Bijections]] +git-tree-sha1 = "c9b163bd832e023571e86d0b90d9de92a9879088" +uuid = "e2ed5e7c-b2de-5872-ae92-c73ca462fb04" +version = "0.1.6" + +[[deps.BitFlags]] +git-tree-sha1 = "2dc09997850d68179b69dafb58ae806167a32b1b" +uuid = "d1d4a3ce-64b1-5f1a-9ba4-7e7e69966f35" +version = "0.1.8" + +[[deps.Bzip2_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "9e2a6b69137e6969bab0152632dcb3bc108c8bdd" +uuid = "6e34b625-4abd-537c-b88f-471c36dfa7a0" +version = "1.0.8+1" + +[[deps.Cairo_jll]] +deps = ["Artifacts", "Bzip2_jll", "CompilerSupportLibraries_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "JLLWrappers", "LZO_jll", "Libdl", "Pixman_jll", "Xorg_libXext_jll", "Xorg_libXrender_jll", "Zlib_jll", "libpng_jll"] +git-tree-sha1 = "a4c43f59baa34011e303e76f5c8c91bf58415aaf" +uuid = "83423d85-b0ee-5818-9007-b63ccbeb887a" +version = "1.18.0+1" + +[[deps.Calculus]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "f641eb0a4f00c343bbc32346e1217b86f3ce9dad" +uuid = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9" +version = "0.5.1" + +[[deps.ChainRulesCore]] +deps = ["Compat", "LinearAlgebra"] +git-tree-sha1 = "575cd02e080939a33b6df6c5853d14924c08e35b" +uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" +version = "1.23.0" +weakdeps = ["SparseArrays"] + + [deps.ChainRulesCore.extensions] + ChainRulesCoreSparseArraysExt = "SparseArrays" + +[[deps.CodecZlib]] +deps = ["TranscodingStreams", "Zlib_jll"] +git-tree-sha1 = "59939d8a997469ee05c4b4944560a820f9ba0d73" +uuid = "944b1d66-785c-5afd-91f1-9de20f533193" +version = "0.7.4" + +[[deps.ColorSchemes]] +deps = ["ColorTypes", "ColorVectorSpace", "Colors", "FixedPointNumbers", "PrecompileTools", "Random"] +git-tree-sha1 = "67c1f244b991cad9b0aa4b7540fb758c2488b129" +uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4" +version = "3.24.0" + +[[deps.ColorTypes]] +deps = ["FixedPointNumbers", "Random"] +git-tree-sha1 = "b10d0b65641d57b8b4d5e234446582de5047050d" +uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" +version = "0.11.5" + +[[deps.ColorVectorSpace]] +deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "Requires", "Statistics", "TensorCore"] +git-tree-sha1 = "a1f44953f2382ebb937d60dafbe2deea4bd23249" +uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4" +version = "0.10.0" +weakdeps = ["SpecialFunctions"] + + [deps.ColorVectorSpace.extensions] + SpecialFunctionsExt = "SpecialFunctions" + +[[deps.Colors]] +deps = ["ColorTypes", "FixedPointNumbers", "Reexport"] +git-tree-sha1 = "fc08e5930ee9a4e03f84bfb5211cb54e7769758a" +uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" +version = "0.12.10" + +[[deps.Combinatorics]] +git-tree-sha1 = "08c8b6831dc00bfea825826be0bc8336fc369860" +uuid = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" +version = "1.0.2" + +[[deps.CommonSolve]] +git-tree-sha1 = "0eee5eb66b1cf62cd6ad1b460238e60e4b09400c" +uuid = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2" +version = "0.2.4" + +[[deps.CommonSubexpressions]] +deps = ["MacroTools", "Test"] +git-tree-sha1 = "7b8a93dba8af7e3b42fecabf646260105ac373f7" +uuid = "bbf7d656-a473-5ed7-a52c-81e309532950" +version = "0.3.0" + +[[deps.Compat]] +deps = ["TOML", "UUIDs"] +git-tree-sha1 = "c955881e3c981181362ae4088b35995446298b80" +uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" +version = "4.14.0" +weakdeps = ["Dates", "LinearAlgebra"] + + [deps.Compat.extensions] + CompatLinearAlgebraExt = "LinearAlgebra" + +[[deps.CompilerSupportLibraries_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" +version = "1.0.5+1" + +[[deps.CompositeTypes]] +git-tree-sha1 = "bce26c3dab336582805503bed209faab1c279768" +uuid = "b152e2b5-7a66-4b01-a709-34e65c35f657" +version = "0.1.4" + +[[deps.CompositionsBase]] +git-tree-sha1 = "802bb88cd69dfd1509f6670416bd4434015693ad" +uuid = "a33af91c-f02d-484b-be07-31d278c5ca2b" +version = "0.1.2" +weakdeps = ["InverseFunctions"] + + [deps.CompositionsBase.extensions] + CompositionsBaseInverseFunctionsExt = "InverseFunctions" + +[[deps.ConcurrentUtilities]] +deps = ["Serialization", "Sockets"] +git-tree-sha1 = "6cbbd4d241d7e6579ab354737f4dd95ca43946e1" +uuid = "f0e56b4a-5159-44fe-b623-3e5288b988bb" +version = "2.4.1" + +[[deps.ConstructionBase]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "260fd2400ed2dab602a7c15cf10c1933c59930a2" +uuid = "187b0558-2788-49d3-abe0-74a17ed4e7c9" +version = "1.5.5" +weakdeps = ["IntervalSets", "StaticArrays"] + + [deps.ConstructionBase.extensions] + ConstructionBaseIntervalSetsExt = "IntervalSets" + ConstructionBaseStaticArraysExt = "StaticArrays" + +[[deps.Contour]] +git-tree-sha1 = "439e35b0b36e2e5881738abc8857bd92ad6ff9a8" +uuid = "d38c429a-6771-53c6-b99e-75d170b6e991" +version = "0.6.3" + +[[deps.DataAPI]] +git-tree-sha1 = "abe83f3a2f1b857aac70ef8b269080af17764bbe" +uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" +version = "1.16.0" + +[[deps.DataStructures]] +deps = ["Compat", "InteractiveUtils", "OrderedCollections"] +git-tree-sha1 = "1d0a14036acb104d9e89698bd408f63ab58cdc82" +uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +version = "0.18.20" + +[[deps.DataValueInterfaces]] +git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6" +uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464" +version = "1.0.0" + +[[deps.Dates]] +deps = ["Printf"] +uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" + +[[deps.DelimitedFiles]] +deps = ["Mmap"] +git-tree-sha1 = "9e2f36d3c96a820c678f2f1f1782582fcf685bae" +uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" +version = "1.9.1" + +[[deps.DiffResults]] +deps = ["StaticArraysCore"] +git-tree-sha1 = "782dd5f4561f5d267313f23853baaaa4c52ea621" +uuid = "163ba53b-c6d8-5494-b064-1a9d43ac40c5" +version = "1.1.0" + +[[deps.DiffRules]] +deps = ["IrrationalConstants", "LogExpFunctions", "NaNMath", "Random", "SpecialFunctions"] +git-tree-sha1 = "23163d55f885173722d1e4cf0f6110cdbaf7e272" +uuid = "b552c78f-8df3-52c6-915a-8e097449b14b" +version = "1.15.1" + +[[deps.Distributed]] +deps = ["Random", "Serialization", "Sockets"] +uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" + +[[deps.Distributions]] +deps = ["AliasTables", "FillArrays", "LinearAlgebra", "PDMats", "Printf", "QuadGK", "Random", "SpecialFunctions", "Statistics", "StatsAPI", "StatsBase", "StatsFuns"] +git-tree-sha1 = "22c595ca4146c07b16bcf9c8bea86f731f7109d2" +uuid = "31c24e10-a181-5473-b8eb-7969acd0382f" +version = "0.25.108" + + [deps.Distributions.extensions] + DistributionsChainRulesCoreExt = "ChainRulesCore" + DistributionsDensityInterfaceExt = "DensityInterface" + DistributionsTestExt = "Test" + + [deps.Distributions.weakdeps] + ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + DensityInterface = "b429d917-457f-4dbc-8f4c-0cc954292b1d" + Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[[deps.DocStringExtensions]] +deps = ["LibGit2"] +git-tree-sha1 = "2fb1e02f2b635d0845df5d7c167fec4dd739b00d" +uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +version = "0.9.3" + +[[deps.DomainSets]] +deps = ["CompositeTypes", "IntervalSets", "LinearAlgebra", "Random", "StaticArrays"] +git-tree-sha1 = "a0c11553b6c58bfc0283d8279dd3798150b77ac5" +uuid = "5b8099bc-c8ec-5219-889f-1d9e522a28bf" +version = "0.7.12" + +[[deps.Downloads]] +deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"] +uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" +version = "1.6.0" + +[[deps.DualNumbers]] +deps = ["Calculus", "NaNMath", "SpecialFunctions"] +git-tree-sha1 = "5837a837389fccf076445fce071c8ddaea35a566" +uuid = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74" +version = "0.6.8" + +[[deps.DynamicPolynomials]] +deps = ["Future", "LinearAlgebra", "MultivariatePolynomials", "MutableArithmetics", "Pkg", "Reexport", "Test"] +git-tree-sha1 = "0c056035f7de73b203a5295a22137f96fc32ad46" +uuid = "7c1d4256-1411-5781-91ec-d7bc3513ac07" +version = "0.5.6" + +[[deps.EnumX]] +git-tree-sha1 = "bdb1942cd4c45e3c678fd11569d5cccd80976237" +uuid = "4e289a0a-7415-4d19-859d-a7e5c4648b56" +version = "1.0.4" + +[[deps.EpollShim_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "8e9441ee83492030ace98f9789a654a6d0b1f643" +uuid = "2702e6a9-849d-5ed8-8c21-79e8b8f9ee43" +version = "0.0.20230411+0" + +[[deps.ExceptionUnwrapping]] +deps = ["Test"] +git-tree-sha1 = "dcb08a0d93ec0b1cdc4af184b26b591e9695423a" +uuid = "460bff9d-24e4-43bc-9d9f-a8973cb893f4" +version = "0.1.10" + +[[deps.Expat_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "4558ab818dcceaab612d1bb8c19cee87eda2b83c" +uuid = "2e619515-83b5-522b-bb60-26c02a35a201" +version = "2.5.0+0" + +[[deps.ExprTools]] +git-tree-sha1 = "27415f162e6028e81c72b82ef756bf321213b6ec" +uuid = "e2ba6199-217a-4e67-a87a-7c52f15ade04" +version = "0.1.10" + +[[deps.FFMPEG]] +deps = ["FFMPEG_jll"] +git-tree-sha1 = "b57e3acbe22f8484b4b5ff66a7499717fe1a9cc8" +uuid = "c87230d0-a227-11e9-1b43-d7ebe4e7570a" +version = "0.4.1" + +[[deps.FFMPEG_jll]] +deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "JLLWrappers", "LAME_jll", "Libdl", "Ogg_jll", "OpenSSL_jll", "Opus_jll", "PCRE2_jll", "Zlib_jll", "libaom_jll", "libass_jll", "libfdk_aac_jll", "libvorbis_jll", "x264_jll", "x265_jll"] +git-tree-sha1 = "466d45dc38e15794ec7d5d63ec03d776a9aff36e" +uuid = "b22a6f82-2f65-5046-a5b2-351ab43fb4e5" +version = "4.4.4+1" + +[[deps.FileWatching]] +uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" + +[[deps.FillArrays]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "881275fc6b8c6f0dfb9cfa4a878979a33cb26be3" +uuid = "1a297f60-69ca-5386-bcde-b61e274b549b" +version = "1.10.1" +weakdeps = ["PDMats", "SparseArrays", "Statistics"] + + [deps.FillArrays.extensions] + FillArraysPDMatsExt = "PDMats" + FillArraysSparseArraysExt = "SparseArrays" + FillArraysStatisticsExt = "Statistics" + +[[deps.FixedPointNumbers]] +deps = ["Statistics"] +git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc" +uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" +version = "0.8.4" + +[[deps.Fontconfig_jll]] +deps = ["Artifacts", "Bzip2_jll", "Expat_jll", "FreeType2_jll", "JLLWrappers", "Libdl", "Libuuid_jll", "Pkg", "Zlib_jll"] +git-tree-sha1 = "21efd19106a55620a188615da6d3d06cd7f6ee03" +uuid = "a3f928ae-7b40-5064-980b-68af3947d34b" +version = "2.13.93+0" + +[[deps.Format]] +git-tree-sha1 = "9c68794ef81b08086aeb32eeaf33531668d5f5fc" +uuid = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8" +version = "1.3.7" + +[[deps.ForwardDiff]] +deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "LinearAlgebra", "LogExpFunctions", "NaNMath", "Preferences", "Printf", "Random", "SpecialFunctions"] +git-tree-sha1 = "cf0fe81336da9fb90944683b8c41984b08793dad" +uuid = "f6369f11-7733-5829-9624-2563aa707210" +version = "0.10.36" +weakdeps = ["StaticArrays"] + + [deps.ForwardDiff.extensions] + ForwardDiffStaticArraysExt = "StaticArrays" + +[[deps.FreeType2_jll]] +deps = ["Artifacts", "Bzip2_jll", "JLLWrappers", "Libdl", "Zlib_jll"] +git-tree-sha1 = "d8db6a5a2fe1381c1ea4ef2cab7c69c2de7f9ea0" +uuid = "d7e528f0-a631-5988-bf34-fe36492bcfd7" +version = "2.13.1+0" + +[[deps.FriBidi_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "aa31987c2ba8704e23c6c8ba8a4f769d5d7e4f91" +uuid = "559328eb-81f9-559d-9380-de523a88c83c" +version = "1.0.10+0" + +[[deps.FunctionWrappers]] +git-tree-sha1 = "d62485945ce5ae9c0c48f124a84998d755bae00e" +uuid = "069b7b12-0de2-55c6-9aab-29f3d0a68a2e" +version = "1.1.3" + +[[deps.FunctionWrappersWrappers]] +deps = ["FunctionWrappers"] +git-tree-sha1 = "b104d487b34566608f8b4e1c39fb0b10aa279ff8" +uuid = "77dc65aa-8811-40c2-897b-53d922fa7daf" +version = "0.1.3" + +[[deps.Future]] +deps = ["Random"] +uuid = "9fa8497b-333b-5362-9e8d-4d0656e87820" + +[[deps.GLFW_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libglvnd_jll", "Xorg_libXcursor_jll", "Xorg_libXi_jll", "Xorg_libXinerama_jll", "Xorg_libXrandr_jll"] +git-tree-sha1 = "ff38ba61beff76b8f4acad8ab0c97ef73bb670cb" +uuid = "0656b61e-2033-5cc2-a64a-77c0f6c09b89" +version = "3.3.9+0" + +[[deps.GPUArraysCore]] +deps = ["Adapt"] +git-tree-sha1 = "ec632f177c0d990e64d955ccc1b8c04c485a0950" +uuid = "46192b85-c4d5-4398-a991-12ede77f4527" +version = "0.1.6" + +[[deps.GR]] +deps = ["Artifacts", "Base64", "DelimitedFiles", "Downloads", "GR_jll", "HTTP", "JSON", "Libdl", "LinearAlgebra", "Pkg", "Preferences", "Printf", "Random", "Serialization", "Sockets", "TOML", "Tar", "Test", "UUIDs", "p7zip_jll"] +git-tree-sha1 = "3437ade7073682993e092ca570ad68a2aba26983" +uuid = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71" +version = "0.73.3" + +[[deps.GR_jll]] +deps = ["Artifacts", "Bzip2_jll", "Cairo_jll", "FFMPEG_jll", "Fontconfig_jll", "FreeType2_jll", "GLFW_jll", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "Pixman_jll", "Qt6Base_jll", "Zlib_jll", "libpng_jll"] +git-tree-sha1 = "a96d5c713e6aa28c242b0d25c1347e258d6541ab" +uuid = "d2c73de3-f751-5644-a686-071e5b155ba9" +version = "0.73.3+0" + +[[deps.Gettext_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "XML2_jll"] +git-tree-sha1 = "9b02998aba7bf074d14de89f9d37ca24a1a0b046" +uuid = "78b55507-aeef-58d4-861c-77aaff3498b1" +version = "0.21.0+0" + +[[deps.Glib_jll]] +deps = ["Artifacts", "Gettext_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Libiconv_jll", "Libmount_jll", "PCRE2_jll", "Zlib_jll"] +git-tree-sha1 = "359a1ba2e320790ddbe4ee8b4d54a305c0ea2aff" +uuid = "7746bdde-850d-59dc-9ae8-88ece973131d" +version = "2.80.0+0" + +[[deps.Graphite2_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "344bf40dcab1073aca04aa0df4fb092f920e4011" +uuid = "3b182d85-2403-5c21-9c21-1e1f0cc25472" +version = "1.3.14+0" + +[[deps.Grisu]] +git-tree-sha1 = "53bb909d1151e57e2484c3d1b53e19552b887fb2" +uuid = "42e2da0e-8278-4e71-bc24-59509adca0fe" +version = "1.0.2" + +[[deps.HTTP]] +deps = ["Base64", "CodecZlib", "ConcurrentUtilities", "Dates", "ExceptionUnwrapping", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"] +git-tree-sha1 = "8e59b47b9dc525b70550ca082ce85bcd7f5477cd" +uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" +version = "1.10.5" + +[[deps.HarfBuzz_jll]] +deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "Graphite2_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg"] +git-tree-sha1 = "129acf094d168394e80ee1dc4bc06ec835e510a3" +uuid = "2e76f6c2-a576-52d4-95c1-20adfe4de566" +version = "2.8.1+1" + +[[deps.HypergeometricFunctions]] +deps = ["DualNumbers", "LinearAlgebra", "OpenLibm_jll", "SpecialFunctions"] +git-tree-sha1 = "f218fe3736ddf977e0e772bc9a586b2383da2685" +uuid = "34004b35-14d8-5ef3-9330-4cdb6864b03a" +version = "0.3.23" + +[[deps.Hyperscript]] +deps = ["Test"] +git-tree-sha1 = "179267cfa5e712760cd43dcae385d7ea90cc25a4" +uuid = "47d2ed2b-36de-50cf-bf87-49c2cf4b8b91" +version = "0.0.5" + +[[deps.HypertextLiteral]] +deps = ["Tricks"] +git-tree-sha1 = "7134810b1afce04bbc1045ca1985fbe81ce17653" +uuid = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2" +version = "0.9.5" + +[[deps.IOCapture]] +deps = ["Logging", "Random"] +git-tree-sha1 = "8b72179abc660bfab5e28472e019392b97d0985c" +uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89" +version = "0.2.4" + +[[deps.IfElse]] +git-tree-sha1 = "debdd00ffef04665ccbb3e150747a77560e8fad1" +uuid = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173" +version = "0.1.1" + +[[deps.InteractiveUtils]] +deps = ["Markdown"] +uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" + +[[deps.IntervalSets]] +git-tree-sha1 = "dba9ddf07f77f60450fe5d2e2beb9854d9a49bd0" +uuid = "8197267c-284f-5f27-9208-e0e47529a953" +version = "0.7.10" +weakdeps = ["Random", "RecipesBase", "Statistics"] + + [deps.IntervalSets.extensions] + IntervalSetsRandomExt = "Random" + IntervalSetsRecipesBaseExt = "RecipesBase" + IntervalSetsStatisticsExt = "Statistics" + +[[deps.InverseFunctions]] +deps = ["Test"] +git-tree-sha1 = "896385798a8d49a255c398bd49162062e4a4c435" +uuid = "3587e190-3f89-42d0-90ee-14403ec27112" +version = "0.1.13" +weakdeps = ["Dates"] + + [deps.InverseFunctions.extensions] + DatesExt = "Dates" + +[[deps.IrrationalConstants]] +git-tree-sha1 = "630b497eafcc20001bba38a4651b327dcfc491d2" +uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" +version = "0.2.2" + +[[deps.IteratorInterfaceExtensions]] +git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856" +uuid = "82899510-4779-5014-852e-03e436cf321d" +version = "1.0.0" + +[[deps.JLFzf]] +deps = ["Pipe", "REPL", "Random", "fzf_jll"] +git-tree-sha1 = "a53ebe394b71470c7f97c2e7e170d51df21b17af" +uuid = "1019f520-868f-41f5-a6de-eb00f4b6a39c" +version = "0.1.7" + +[[deps.JLLWrappers]] +deps = ["Artifacts", "Preferences"] +git-tree-sha1 = "7e5d6779a1e09a36db2a7b6cff50942a0a7d0fca" +uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" +version = "1.5.0" + +[[deps.JSON]] +deps = ["Dates", "Mmap", "Parsers", "Unicode"] +git-tree-sha1 = "31e996f0a15c7b280ba9f76636b3ff9e2ae58c9a" +uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" +version = "0.21.4" + +[[deps.JpegTurbo_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "3336abae9a713d2210bb57ab484b1e065edd7d23" +uuid = "aacddb02-875f-59d6-b918-886e6ef4fbf8" +version = "3.0.2+0" + +[[deps.LAME_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "f6250b16881adf048549549fba48b1161acdac8c" +uuid = "c1c5ebd0-6772-5130-a774-d5fcae4a789d" +version = "3.100.1+0" + +[[deps.LERC_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "bf36f528eec6634efc60d7ec062008f171071434" +uuid = "88015f11-f218-50d7-93a8-a6af411a945d" +version = "3.0.0+1" + +[[deps.LLVMOpenMP_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "d986ce2d884d49126836ea94ed5bfb0f12679713" +uuid = "1d63c593-3942-5779-bab2-d838dc0a180e" +version = "15.0.7+0" + +[[deps.LZO_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "e5b909bcf985c5e2605737d2ce278ed791b89be6" +uuid = "dd4b983a-f0e5-5f8d-a1b7-129d4a5fb1ac" +version = "2.10.1+0" + +[[deps.LaTeXStrings]] +git-tree-sha1 = "50901ebc375ed41dbf8058da26f9de442febbbec" +uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" +version = "1.3.1" + +[[deps.LabelledArrays]] +deps = ["ArrayInterface", "ChainRulesCore", "ForwardDiff", "LinearAlgebra", "MacroTools", "PreallocationTools", "RecursiveArrayTools", "StaticArrays"] +git-tree-sha1 = "d1f981fba6eb3ec393eede4821bca3f2b7592cd4" +uuid = "2ee39098-c373-598a-b85f-a56591580800" +version = "1.15.1" + +[[deps.LambertW]] +git-tree-sha1 = "c5ffc834de5d61d00d2b0e18c96267cffc21f648" +uuid = "984bce1d-4616-540c-a9ee-88d1112d94c9" +version = "0.4.6" + +[[deps.Latexify]] +deps = ["Format", "InteractiveUtils", "LaTeXStrings", "MacroTools", "Markdown", "OrderedCollections", "Requires"] +git-tree-sha1 = "e0b5cd21dc1b44ec6e64f351976f961e6f31d6c4" +uuid = "23fbe1c1-3f47-55db-b15f-69d7ec21a316" +version = "0.16.3" + + [deps.Latexify.extensions] + DataFramesExt = "DataFrames" + SymEngineExt = "SymEngine" + + [deps.Latexify.weakdeps] + DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" + SymEngine = "123dc426-2d89-5057-bbad-38513e3affd8" + +[[deps.LibCURL]] +deps = ["LibCURL_jll", "MozillaCACerts_jll"] +uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21" +version = "0.6.4" + +[[deps.LibCURL_jll]] +deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"] +uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" +version = "8.4.0+0" + +[[deps.LibGit2]] +deps = ["Base64", "LibGit2_jll", "NetworkOptions", "Printf", "SHA"] +uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" + +[[deps.LibGit2_jll]] +deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll"] +uuid = "e37daf67-58a4-590a-8e99-b0245dd2ffc5" +version = "1.6.4+0" + +[[deps.LibSSH2_jll]] +deps = ["Artifacts", "Libdl", "MbedTLS_jll"] +uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8" +version = "1.11.0+1" + +[[deps.Libdl]] +uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" + +[[deps.Libffi_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "0b4a5d71f3e5200a7dff793393e09dfc2d874290" +uuid = "e9f186c6-92d2-5b65-8a66-fee21dc1b490" +version = "3.2.2+1" + +[[deps.Libgcrypt_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libgpg_error_jll", "Pkg"] +git-tree-sha1 = "64613c82a59c120435c067c2b809fc61cf5166ae" +uuid = "d4300ac3-e22c-5743-9152-c294e39db1e4" +version = "1.8.7+0" + +[[deps.Libglvnd_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll", "Xorg_libXext_jll"] +git-tree-sha1 = "6f73d1dd803986947b2c750138528a999a6c7733" +uuid = "7e76a0d4-f3c7-5321-8279-8d96eeed0f29" +version = "1.6.0+0" + +[[deps.Libgpg_error_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "c333716e46366857753e273ce6a69ee0945a6db9" +uuid = "7add5ba3-2f88-524e-9cd5-f83b8a55f7b8" +version = "1.42.0+0" + +[[deps.Libiconv_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "f9557a255370125b405568f9767d6d195822a175" +uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531" +version = "1.17.0+0" + +[[deps.Libmount_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "dae976433497a2f841baadea93d27e68f1a12a97" +uuid = "4b2f31a3-9ecc-558c-b454-b3730dcb73e9" +version = "2.39.3+0" + +[[deps.Libtiff_jll]] +deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "LERC_jll", "Libdl", "XZ_jll", "Zlib_jll", "Zstd_jll"] +git-tree-sha1 = "2da088d113af58221c52828a80378e16be7d037a" +uuid = "89763e89-9b03-5906-acba-b20f662cd828" +version = "4.5.1+1" + +[[deps.Libuuid_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "0a04a1318df1bf510beb2562cf90fb0c386f58c4" +uuid = "38a345b3-de98-5d2b-a5d3-14cd9215e700" +version = "2.39.3+1" + +[[deps.LinearAlgebra]] +deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"] +uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" + +[[deps.LogExpFunctions]] +deps = ["DocStringExtensions", "IrrationalConstants", "LinearAlgebra"] +git-tree-sha1 = "18144f3e9cbe9b15b070288eef858f71b291ce37" +uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688" +version = "0.3.27" + + [deps.LogExpFunctions.extensions] + LogExpFunctionsChainRulesCoreExt = "ChainRulesCore" + LogExpFunctionsChangesOfVariablesExt = "ChangesOfVariables" + LogExpFunctionsInverseFunctionsExt = "InverseFunctions" + + [deps.LogExpFunctions.weakdeps] + ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + ChangesOfVariables = "9e997f8a-9a97-42d5-a9f1-ce6bfc15e2c0" + InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112" + +[[deps.Logging]] +uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" + +[[deps.LoggingExtras]] +deps = ["Dates", "Logging"] +git-tree-sha1 = "c1dd6d7978c12545b4179fb6153b9250c96b0075" +uuid = "e6f89c97-d47a-5376-807f-9c37f3926c36" +version = "1.0.3" + +[[deps.MIMEs]] +git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb" +uuid = "6c6e2e6c-3030-632d-7369-2d6c69616d65" +version = "0.1.4" + +[[deps.MacroTools]] +deps = ["Markdown", "Random"] +git-tree-sha1 = "2fa9ee3e63fd3a4f7a9a4f4744a52f4856de82df" +uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" +version = "0.5.13" + +[[deps.Markdown]] +deps = ["Base64"] +uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" + +[[deps.MbedTLS]] +deps = ["Dates", "MbedTLS_jll", "MozillaCACerts_jll", "NetworkOptions", "Random", "Sockets"] +git-tree-sha1 = "c067a280ddc25f196b5e7df3877c6b226d390aaf" +uuid = "739be429-bea8-5141-9913-cc70e7f3736d" +version = "1.1.9" + +[[deps.MbedTLS_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" +version = "2.28.2+1" + +[[deps.Measures]] +git-tree-sha1 = "c13304c81eec1ed3af7fc20e75fb6b26092a1102" +uuid = "442fdcdd-2543-5da2-b0f3-8c86c306513e" +version = "0.3.2" + +[[deps.Missings]] +deps = ["DataAPI"] +git-tree-sha1 = "ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d" +uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" +version = "1.2.0" + +[[deps.Mmap]] +uuid = "a63ad114-7e13-5084-954f-fe012c677804" + +[[deps.MozillaCACerts_jll]] +uuid = "14a3606d-f60d-562e-9121-12d972cd8159" +version = "2023.1.10" + +[[deps.MultivariatePolynomials]] +deps = ["ChainRulesCore", "DataStructures", "LinearAlgebra", "MutableArithmetics"] +git-tree-sha1 = "769c9175942d91ed9b83fa929eee4fe6a1d128ad" +uuid = "102ac46a-7ee4-5c85-9060-abc95bfdeaa3" +version = "0.5.4" + +[[deps.MutableArithmetics]] +deps = ["LinearAlgebra", "SparseArrays", "Test"] +git-tree-sha1 = "a3589efe0005fc4718775d8641b2de9060d23f73" +uuid = "d8a4904e-b15c-11e9-3269-09a3773c0cb0" +version = "1.4.4" + +[[deps.NaNMath]] +deps = ["OpenLibm_jll"] +git-tree-sha1 = "0877504529a3e5c3343c6f8b4c0381e57e4387e4" +uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" +version = "1.0.2" + +[[deps.NetworkOptions]] +uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" +version = "1.2.0" + +[[deps.Ogg_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "887579a3eb005446d514ab7aeac5d1d027658b8f" +uuid = "e7412a2a-1a6e-54c0-be00-318e2571c051" +version = "1.3.5+1" + +[[deps.OpenBLAS_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"] +uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" +version = "0.3.23+2" + +[[deps.OpenLibm_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "05823500-19ac-5b8b-9628-191a04bc5112" +version = "0.8.1+2" + +[[deps.OpenSSL]] +deps = ["BitFlags", "Dates", "MozillaCACerts_jll", "OpenSSL_jll", "Sockets"] +git-tree-sha1 = "38cb508d080d21dc1128f7fb04f20387ed4c0af4" +uuid = "4d8831e6-92b7-49fb-bdf8-b643e874388c" +version = "1.4.3" + +[[deps.OpenSSL_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "3da7367955dcc5c54c1ba4d402ccdc09a1a3e046" +uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95" +version = "3.0.13+1" + +[[deps.OpenSpecFun_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "13652491f6856acfd2db29360e1bbcd4565d04f1" +uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" +version = "0.5.5+0" + +[[deps.Opus_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "51a08fb14ec28da2ec7a927c4337e4332c2a4720" +uuid = "91d4177d-7536-5919-b921-800302f37372" +version = "1.3.2+0" + +[[deps.OrderedCollections]] +git-tree-sha1 = "dfdf5519f235516220579f949664f1bf44e741c5" +uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" +version = "1.6.3" + +[[deps.PCRE2_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "efcefdf7-47ab-520b-bdef-62a2eaa19f15" +version = "10.42.0+1" + +[[deps.PDMats]] +deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"] +git-tree-sha1 = "949347156c25054de2db3b166c52ac4728cbad65" +uuid = "90014a1f-27ba-587c-ab20-58faa44d9150" +version = "0.11.31" + +[[deps.Parsers]] +deps = ["Dates", "PrecompileTools", "UUIDs"] +git-tree-sha1 = "8489905bcdbcfac64d1daa51ca07c0d8f0283821" +uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" +version = "2.8.1" + +[[deps.Pipe]] +git-tree-sha1 = "6842804e7867b115ca9de748a0cf6b364523c16d" +uuid = "b98c9c47-44ae-5843-9183-064241ee97a0" +version = "1.3.0" + +[[deps.Pixman_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "LLVMOpenMP_jll", "Libdl"] +git-tree-sha1 = "64779bc4c9784fee475689a1752ef4d5747c5e87" +uuid = "30392449-352a-5448-841d-b1acce4e97dc" +version = "0.42.2+0" + +[[deps.Pkg]] +deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] +uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" +version = "1.10.0" + +[[deps.PlotThemes]] +deps = ["PlotUtils", "Statistics"] +git-tree-sha1 = "1f03a2d339f42dca4a4da149c7e15e9b896ad899" +uuid = "ccf2f8ad-2431-5c83-bf29-c5338b663b6a" +version = "3.1.0" + +[[deps.PlotUtils]] +deps = ["ColorSchemes", "Colors", "Dates", "PrecompileTools", "Printf", "Random", "Reexport", "Statistics"] +git-tree-sha1 = "7b1a9df27f072ac4c9c7cbe5efb198489258d1f5" +uuid = "995b91a9-d308-5afd-9ec6-746e21dbc043" +version = "1.4.1" + +[[deps.Plots]] +deps = ["Base64", "Contour", "Dates", "Downloads", "FFMPEG", "FixedPointNumbers", "GR", "JLFzf", "JSON", "LaTeXStrings", "Latexify", "LinearAlgebra", "Measures", "NaNMath", "Pkg", "PlotThemes", "PlotUtils", "PrecompileTools", "Printf", "REPL", "Random", "RecipesBase", "RecipesPipeline", "Reexport", "RelocatableFolders", "Requires", "Scratch", "Showoff", "SparseArrays", "Statistics", "StatsBase", "UUIDs", "UnicodeFun", "UnitfulLatexify", "Unzip"] +git-tree-sha1 = "442e1e7ac27dd5ff8825c3fa62fbd1e86397974b" +uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" +version = "1.40.4" + + [deps.Plots.extensions] + FileIOExt = "FileIO" + GeometryBasicsExt = "GeometryBasics" + IJuliaExt = "IJulia" + ImageInTerminalExt = "ImageInTerminal" + UnitfulExt = "Unitful" + + [deps.Plots.weakdeps] + FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" + GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" + IJulia = "7073ff75-c697-5162-941a-fcdaad2a7d2a" + ImageInTerminal = "d8c32880-2388-543b-8c61-d9f865259254" + Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" + +[[deps.PlutoUI]] +deps = ["AbstractPlutoDingetjes", "Base64", "ColorTypes", "Dates", "FixedPointNumbers", "Hyperscript", "HypertextLiteral", "IOCapture", "InteractiveUtils", "JSON", "Logging", "MIMEs", "Markdown", "Random", "Reexport", "URIs", "UUIDs"] +git-tree-sha1 = "ab55ee1510ad2af0ff674dbcced5e94921f867a9" +uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" +version = "0.7.59" + +[[deps.PreallocationTools]] +deps = ["Adapt", "ArrayInterface", "ForwardDiff"] +git-tree-sha1 = "a660e9daab5db07adf3dedfe09b435cc530d855e" +uuid = "d236fae5-4411-538c-8e31-a6e3d9e00b46" +version = "0.4.21" + + [deps.PreallocationTools.extensions] + PreallocationToolsReverseDiffExt = "ReverseDiff" + + [deps.PreallocationTools.weakdeps] + ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" + +[[deps.PrecompileTools]] +deps = ["Preferences"] +git-tree-sha1 = "5aa36f7049a63a1528fe8f7c3f2113413ffd4e1f" +uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a" +version = "1.2.1" + +[[deps.Preferences]] +deps = ["TOML"] +git-tree-sha1 = "9306f6085165d270f7e3db02af26a400d580f5c6" +uuid = "21216c6a-2e73-6563-6e65-726566657250" +version = "1.4.3" + +[[deps.Printf]] +deps = ["Unicode"] +uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" + +[[deps.Qt6Base_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "Fontconfig_jll", "Glib_jll", "JLLWrappers", "Libdl", "Libglvnd_jll", "OpenSSL_jll", "Vulkan_Loader_jll", "Xorg_libSM_jll", "Xorg_libXext_jll", "Xorg_libXrender_jll", "Xorg_libxcb_jll", "Xorg_xcb_util_cursor_jll", "Xorg_xcb_util_image_jll", "Xorg_xcb_util_keysyms_jll", "Xorg_xcb_util_renderutil_jll", "Xorg_xcb_util_wm_jll", "Zlib_jll", "libinput_jll", "xkbcommon_jll"] +git-tree-sha1 = "37b7bb7aabf9a085e0044307e1717436117f2b3b" +uuid = "c0090381-4147-56d7-9ebc-da0b1113ec56" +version = "6.5.3+1" + +[[deps.QuadGK]] +deps = ["DataStructures", "LinearAlgebra"] +git-tree-sha1 = "9b23c31e76e333e6fb4c1595ae6afa74966a729e" +uuid = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" +version = "2.9.4" + +[[deps.REPL]] +deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] +uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" + +[[deps.Random]] +deps = ["SHA"] +uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + +[[deps.RecipesBase]] +deps = ["PrecompileTools"] +git-tree-sha1 = "5c3d09cc4f31f5fc6af001c250bf1278733100ff" +uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" +version = "1.3.4" + +[[deps.RecipesPipeline]] +deps = ["Dates", "NaNMath", "PlotUtils", "PrecompileTools", "RecipesBase"] +git-tree-sha1 = "45cf9fd0ca5839d06ef333c8201714e888486342" +uuid = "01d81517-befc-4cb6-b9ec-a95719d0359c" +version = "0.6.12" + +[[deps.RecursiveArrayTools]] +deps = ["Adapt", "ArrayInterface", "DocStringExtensions", "GPUArraysCore", "IteratorInterfaceExtensions", "LinearAlgebra", "RecipesBase", "SparseArrays", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables"] +git-tree-sha1 = "d8f131090f2e44b145084928856a561c83f43b27" +uuid = "731186ca-8d62-57ce-b412-fbd966d074cd" +version = "3.13.0" + + [deps.RecursiveArrayTools.extensions] + RecursiveArrayToolsFastBroadcastExt = "FastBroadcast" + RecursiveArrayToolsForwardDiffExt = "ForwardDiff" + RecursiveArrayToolsMeasurementsExt = "Measurements" + RecursiveArrayToolsMonteCarloMeasurementsExt = "MonteCarloMeasurements" + RecursiveArrayToolsReverseDiffExt = ["ReverseDiff", "Zygote"] + RecursiveArrayToolsTrackerExt = "Tracker" + RecursiveArrayToolsZygoteExt = "Zygote" + + [deps.RecursiveArrayTools.weakdeps] + FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898" + ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" + Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7" + MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca" + ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" + Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" + Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" + +[[deps.Reexport]] +git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b" +uuid = "189a3867-3050-52da-a836-e630ba90ab69" +version = "1.2.2" + +[[deps.RelocatableFolders]] +deps = ["SHA", "Scratch"] +git-tree-sha1 = "ffdaf70d81cf6ff22c2b6e733c900c3321cab864" +uuid = "05181044-ff0b-4ac5-8273-598c1e38db00" +version = "1.0.1" + +[[deps.Requires]] +deps = ["UUIDs"] +git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7" +uuid = "ae029012-a4dd-5104-9daa-d747884805df" +version = "1.3.0" + +[[deps.Rmath]] +deps = ["Random", "Rmath_jll"] +git-tree-sha1 = "f65dcb5fa46aee0cf9ed6274ccbd597adc49aa7b" +uuid = "79098fc4-a85e-5d69-aa6a-4863f24498fa" +version = "0.7.1" + +[[deps.Rmath_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "6ed52fdd3382cf21947b15e8870ac0ddbff736da" +uuid = "f50d1b31-88e8-58de-be2c-1cc44531875f" +version = "0.4.0+0" + +[[deps.RuntimeGeneratedFunctions]] +deps = ["ExprTools", "SHA", "Serialization"] +git-tree-sha1 = "04c968137612c4a5629fa531334bb81ad5680f00" +uuid = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47" +version = "0.5.13" + +[[deps.SHA]] +uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" +version = "0.7.0" + +[[deps.SciMLBase]] +deps = ["ADTypes", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLOperators", "SciMLStructures", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables"] +git-tree-sha1 = "beb1f94b08c4976ed1db0ca01b9e6bac89706faf" +uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462" +version = "2.35.0" + + [deps.SciMLBase.extensions] + SciMLBaseChainRulesCoreExt = "ChainRulesCore" + SciMLBaseMakieExt = "Makie" + SciMLBasePartialFunctionsExt = "PartialFunctions" + SciMLBasePyCallExt = "PyCall" + SciMLBasePythonCallExt = "PythonCall" + SciMLBaseRCallExt = "RCall" + SciMLBaseZygoteExt = "Zygote" + + [deps.SciMLBase.weakdeps] + ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2" + ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" + PartialFunctions = "570af359-4316-4cb7-8c74-252c00c2016b" + PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" + PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d" + RCall = "6f49c342-dc21-5d91-9882-a32aef131414" + Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" + +[[deps.SciMLOperators]] +deps = ["ArrayInterface", "DocStringExtensions", "LinearAlgebra", "MacroTools", "Setfield", "SparseArrays", "StaticArraysCore"] +git-tree-sha1 = "10499f619ef6e890f3f4a38914481cc868689cd5" +uuid = "c0aeaf25-5076-4817-a8d5-81caf7dfa961" +version = "0.3.8" + +[[deps.SciMLStructures]] +git-tree-sha1 = "5833c10ce83d690c124beedfe5f621b50b02ba4d" +uuid = "53ae85a6-f571-4167-b2af-e1d143709226" +version = "1.1.0" + +[[deps.Scratch]] +deps = ["Dates"] +git-tree-sha1 = "3bac05bc7e74a75fd9cba4295cde4045d9fe2386" +uuid = "6c6a2e73-6563-6170-7368-637461726353" +version = "1.2.1" + +[[deps.Serialization]] +uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" + +[[deps.Setfield]] +deps = ["ConstructionBase", "Future", "MacroTools", "StaticArraysCore"] +git-tree-sha1 = "e2cc6d8c88613c05e1defb55170bf5ff211fbeac" +uuid = "efcf1570-3423-57d1-acb7-fd33fddbac46" +version = "1.1.1" + +[[deps.Showoff]] +deps = ["Dates", "Grisu"] +git-tree-sha1 = "91eddf657aca81df9ae6ceb20b959ae5653ad1de" +uuid = "992d4aef-0814-514b-bc4d-f2e9a6c4116f" +version = "1.0.3" + +[[deps.SimpleBufferStream]] +git-tree-sha1 = "874e8867b33a00e784c8a7e4b60afe9e037b74e1" +uuid = "777ac1f9-54b0-4bf8-805c-2214025038e7" +version = "1.1.0" + +[[deps.Sockets]] +uuid = "6462fe0b-24de-5631-8697-dd941f90decc" + +[[deps.SortingAlgorithms]] +deps = ["DataStructures"] +git-tree-sha1 = "66e0a8e672a0bdfca2c3f5937efb8538b9ddc085" +uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" +version = "1.2.1" + +[[deps.SparseArrays]] +deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"] +uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +version = "1.10.0" + +[[deps.SpecialFunctions]] +deps = ["IrrationalConstants", "LogExpFunctions", "OpenLibm_jll", "OpenSpecFun_jll"] +git-tree-sha1 = "e2cfc4012a19088254b3950b85c3c1d8882d864d" +uuid = "276daf66-3868-5448-9aa4-cd146d93841b" +version = "2.3.1" +weakdeps = ["ChainRulesCore"] + + [deps.SpecialFunctions.extensions] + SpecialFunctionsChainRulesCoreExt = "ChainRulesCore" + +[[deps.StaticArrays]] +deps = ["LinearAlgebra", "PrecompileTools", "Random", "StaticArraysCore"] +git-tree-sha1 = "bf074c045d3d5ffd956fa0a461da38a44685d6b2" +uuid = "90137ffa-7385-5640-81b9-e52037218182" +version = "1.9.3" +weakdeps = ["ChainRulesCore", "Statistics"] + + [deps.StaticArrays.extensions] + StaticArraysChainRulesCoreExt = "ChainRulesCore" + StaticArraysStatisticsExt = "Statistics" + +[[deps.StaticArraysCore]] +git-tree-sha1 = "36b3d696ce6366023a0ea192b4cd442268995a0d" +uuid = "1e83bf80-4336-4d27-bf5d-d5a4f845583c" +version = "1.4.2" + +[[deps.Statistics]] +deps = ["LinearAlgebra", "SparseArrays"] +uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" +version = "1.10.0" + +[[deps.StatsAPI]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "1ff449ad350c9c4cbc756624d6f8a8c3ef56d3ed" +uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0" +version = "1.7.0" + +[[deps.StatsBase]] +deps = ["DataAPI", "DataStructures", "LinearAlgebra", "LogExpFunctions", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"] +git-tree-sha1 = "5cf7606d6cef84b543b483848d4ae08ad9832b21" +uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" +version = "0.34.3" + +[[deps.StatsFuns]] +deps = ["HypergeometricFunctions", "IrrationalConstants", "LogExpFunctions", "Reexport", "Rmath", "SpecialFunctions"] +git-tree-sha1 = "cef0472124fab0695b58ca35a77c6fb942fdab8a" +uuid = "4c63d2b9-4356-54db-8cca-17b64c39e42c" +version = "1.3.1" +weakdeps = ["ChainRulesCore", "InverseFunctions"] + + [deps.StatsFuns.extensions] + StatsFunsChainRulesCoreExt = "ChainRulesCore" + StatsFunsInverseFunctionsExt = "InverseFunctions" + +[[deps.SuiteSparse]] +deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"] +uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9" + +[[deps.SuiteSparse_jll]] +deps = ["Artifacts", "Libdl", "libblastrampoline_jll"] +uuid = "bea87d4a-7f5b-5778-9afe-8cc45184846c" +version = "7.2.1+1" + +[[deps.SymbolicIndexingInterface]] +deps = ["Accessors", "ArrayInterface", "MacroTools", "RuntimeGeneratedFunctions", "StaticArraysCore"] +git-tree-sha1 = "40ea524431a92328cd73582d1820a5b08247a40f" +uuid = "2efcf032-c050-4f8e-a9bb-153293bab1f5" +version = "0.3.16" + +[[deps.SymbolicLimits]] +deps = ["SymbolicUtils"] +git-tree-sha1 = "89aa6b25a75418c8fffc42073b2e7dce69847394" +uuid = "19f23fe9-fdab-4a78-91af-e7b7767979c3" +version = "0.2.0" + +[[deps.SymbolicUtils]] +deps = ["AbstractTrees", "Bijections", "ChainRulesCore", "Combinatorics", "ConstructionBase", "DataStructures", "DocStringExtensions", "DynamicPolynomials", "IfElse", "LabelledArrays", "LinearAlgebra", "MultivariatePolynomials", "NaNMath", "Setfield", "SparseArrays", "SpecialFunctions", "StaticArrays", "SymbolicIndexingInterface", "TimerOutputs", "Unityper"] +git-tree-sha1 = "669e43e90df46fcee4aa859b587da7a7948272ac" +uuid = "d1185830-fcd6-423d-90d6-eec64667417b" +version = "1.5.1" + +[[deps.Symbolics]] +deps = ["ArrayInterface", "Bijections", "ConstructionBase", "DataStructures", "DiffRules", "Distributions", "DocStringExtensions", "DomainSets", "DynamicPolynomials", "ForwardDiff", "IfElse", "LaTeXStrings", "LambertW", "Latexify", "Libdl", "LinearAlgebra", "LogExpFunctions", "MacroTools", "Markdown", "NaNMath", "PrecompileTools", "RecipesBase", "Reexport", "Requires", "RuntimeGeneratedFunctions", "SciMLBase", "Setfield", "SparseArrays", "SpecialFunctions", "StaticArrays", "SymbolicIndexingInterface", "SymbolicLimits", "SymbolicUtils"] +git-tree-sha1 = "4104548fff14d7370b278ee767651d6ec61eb195" +uuid = "0c5d862f-8b57-4792-8d23-62f2024744c7" +version = "5.28.0" + + [deps.Symbolics.extensions] + SymbolicsGroebnerExt = "Groebner" + SymbolicsLuxCoreExt = "LuxCore" + SymbolicsPreallocationToolsExt = "PreallocationTools" + SymbolicsSymPyExt = "SymPy" + + [deps.Symbolics.weakdeps] + Groebner = "0b43b601-686d-58a3-8a1c-6623616c7cd4" + LuxCore = "bb33d45b-7691-41d6-9220-0943567d0623" + PreallocationTools = "d236fae5-4411-538c-8e31-a6e3d9e00b46" + SymPy = "24249f21-da20-56a4-8eb1-6a02cf4ae2e6" + +[[deps.TOML]] +deps = ["Dates"] +uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" +version = "1.0.3" + +[[deps.TableTraits]] +deps = ["IteratorInterfaceExtensions"] +git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39" +uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" +version = "1.0.1" + +[[deps.Tables]] +deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "OrderedCollections", "TableTraits"] +git-tree-sha1 = "cb76cf677714c095e535e3501ac7954732aeea2d" +uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" +version = "1.11.1" + +[[deps.Tar]] +deps = ["ArgTools", "SHA"] +uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e" +version = "1.10.0" + +[[deps.TensorCore]] +deps = ["LinearAlgebra"] +git-tree-sha1 = "1feb45f88d133a655e001435632f019a9a1bcdb6" +uuid = "62fd8b95-f654-4bbd-a8a5-9c27f68ccd50" +version = "0.1.1" + +[[deps.Test]] +deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] +uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[[deps.TimerOutputs]] +deps = ["ExprTools", "Printf"] +git-tree-sha1 = "f548a9e9c490030e545f72074a41edfd0e5bcdd7" +uuid = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" +version = "0.5.23" + +[[deps.TranscodingStreams]] +git-tree-sha1 = "71509f04d045ec714c4748c785a59045c3736349" +uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" +version = "0.10.7" +weakdeps = ["Random", "Test"] + + [deps.TranscodingStreams.extensions] + TestExt = ["Test", "Random"] + +[[deps.Tricks]] +git-tree-sha1 = "eae1bb484cd63b36999ee58be2de6c178105112f" +uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775" +version = "0.1.8" + +[[deps.URIs]] +git-tree-sha1 = "67db6cc7b3821e19ebe75791a9dd19c9b1188f2b" +uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" +version = "1.5.1" + +[[deps.UUIDs]] +deps = ["Random", "SHA"] +uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" + +[[deps.Unicode]] +uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" + +[[deps.UnicodeFun]] +deps = ["REPL"] +git-tree-sha1 = "53915e50200959667e78a92a418594b428dffddf" +uuid = "1cfade01-22cf-5700-b092-accc4b62d6e1" +version = "0.4.1" + +[[deps.Unitful]] +deps = ["Dates", "LinearAlgebra", "Random"] +git-tree-sha1 = "3c793be6df9dd77a0cf49d80984ef9ff996948fa" +uuid = "1986cc42-f94f-5a68-af5c-568840ba703d" +version = "1.19.0" +weakdeps = ["ConstructionBase", "InverseFunctions"] + + [deps.Unitful.extensions] + ConstructionBaseUnitfulExt = "ConstructionBase" + InverseFunctionsUnitfulExt = "InverseFunctions" + +[[deps.UnitfulLatexify]] +deps = ["LaTeXStrings", "Latexify", "Unitful"] +git-tree-sha1 = "e2d817cc500e960fdbafcf988ac8436ba3208bfd" +uuid = "45397f5d-5981-4c77-b2b3-fc36d6e9b728" +version = "1.6.3" + +[[deps.Unityper]] +deps = ["ConstructionBase"] +git-tree-sha1 = "25008b734a03736c41e2a7dc314ecb95bd6bbdb0" +uuid = "a7c27f48-0311-42f6-a7f8-2c11e75eb415" +version = "0.1.6" + +[[deps.Unzip]] +git-tree-sha1 = "ca0969166a028236229f63514992fc073799bb78" +uuid = "41fe7b60-77ed-43a1-b4f0-825fd5a5650d" +version = "0.2.0" + +[[deps.Vulkan_Loader_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Wayland_jll", "Xorg_libX11_jll", "Xorg_libXrandr_jll", "xkbcommon_jll"] +git-tree-sha1 = "2f0486047a07670caad3a81a075d2e518acc5c59" +uuid = "a44049a8-05dd-5a78-86c9-5fde0876e88c" +version = "1.3.243+0" + +[[deps.Wayland_jll]] +deps = ["Artifacts", "EpollShim_jll", "Expat_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg", "XML2_jll"] +git-tree-sha1 = "7558e29847e99bc3f04d6569e82d0f5c54460703" +uuid = "a2964d1f-97da-50d4-b82a-358c7fce9d89" +version = "1.21.0+1" + +[[deps.Wayland_protocols_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "93f43ab61b16ddfb2fd3bb13b3ce241cafb0e6c9" +uuid = "2381bf8a-dfd0-557d-9999-79630e7b1b91" +version = "1.31.0+0" + +[[deps.XML2_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Zlib_jll"] +git-tree-sha1 = "532e22cf7be8462035d092ff21fada7527e2c488" +uuid = "02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a" +version = "2.12.6+0" + +[[deps.XSLT_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Libgcrypt_jll", "Libgpg_error_jll", "Libiconv_jll", "Pkg", "XML2_jll", "Zlib_jll"] +git-tree-sha1 = "91844873c4085240b95e795f692c4cec4d805f8a" +uuid = "aed1982a-8fda-507f-9586-7b0439959a61" +version = "1.1.34+0" + +[[deps.XZ_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "ac88fb95ae6447c8dda6a5503f3bafd496ae8632" +uuid = "ffd25f8a-64ca-5728-b0f7-c24cf3aae800" +version = "5.4.6+0" + +[[deps.Xorg_libICE_jll]] +deps = ["Libdl", "Pkg"] +git-tree-sha1 = "e5becd4411063bdcac16be8b66fc2f9f6f1e8fe5" +uuid = "f67eecfb-183a-506d-b269-f58e52b52d7c" +version = "1.0.10+1" + +[[deps.Xorg_libSM_jll]] +deps = ["Libdl", "Pkg", "Xorg_libICE_jll"] +git-tree-sha1 = "4a9d9e4c180e1e8119b5ffc224a7b59d3a7f7e18" +uuid = "c834827a-8449-5923-a945-d239c165b7dd" +version = "1.2.3+0" + +[[deps.Xorg_libX11_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Xorg_libxcb_jll", "Xorg_xtrans_jll"] +git-tree-sha1 = "afead5aba5aa507ad5a3bf01f58f82c8d1403495" +uuid = "4f6342f7-b3d2-589e-9d20-edeb45f2b2bc" +version = "1.8.6+0" + +[[deps.Xorg_libXau_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "6035850dcc70518ca32f012e46015b9beeda49d8" +uuid = "0c0b7dd1-d40b-584c-a123-a41640f87eec" +version = "1.0.11+0" + +[[deps.Xorg_libXcursor_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXfixes_jll", "Xorg_libXrender_jll"] +git-tree-sha1 = "12e0eb3bc634fa2080c1c37fccf56f7c22989afd" +uuid = "935fb764-8cf2-53bf-bb30-45bb1f8bf724" +version = "1.2.0+4" + +[[deps.Xorg_libXdmcp_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "34d526d318358a859d7de23da945578e8e8727b7" +uuid = "a3789734-cfe1-5b06-b2d0-1dd0d9d62d05" +version = "1.1.4+0" + +[[deps.Xorg_libXext_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll"] +git-tree-sha1 = "b7c0aa8c376b31e4852b360222848637f481f8c3" +uuid = "1082639a-0dae-5f34-9b06-72781eeb8cb3" +version = "1.3.4+4" + +[[deps.Xorg_libXfixes_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll"] +git-tree-sha1 = "0e0dc7431e7a0587559f9294aeec269471c991a4" +uuid = "d091e8ba-531a-589c-9de9-94069b037ed8" +version = "5.0.3+4" + +[[deps.Xorg_libXi_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXext_jll", "Xorg_libXfixes_jll"] +git-tree-sha1 = "89b52bc2160aadc84d707093930ef0bffa641246" +uuid = "a51aa0fd-4e3c-5386-b890-e753decda492" +version = "1.7.10+4" + +[[deps.Xorg_libXinerama_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXext_jll"] +git-tree-sha1 = "26be8b1c342929259317d8b9f7b53bf2bb73b123" +uuid = "d1454406-59df-5ea1-beac-c340f2130bc3" +version = "1.1.4+4" + +[[deps.Xorg_libXrandr_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libXext_jll", "Xorg_libXrender_jll"] +git-tree-sha1 = "34cea83cb726fb58f325887bf0612c6b3fb17631" +uuid = "ec84b674-ba8e-5d96-8ba1-2a689ba10484" +version = "1.5.2+4" + +[[deps.Xorg_libXrender_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libX11_jll"] +git-tree-sha1 = "19560f30fd49f4d4efbe7002a1037f8c43d43b96" +uuid = "ea2f1a96-1ddc-540d-b46f-429655e07cfa" +version = "0.9.10+4" + +[[deps.Xorg_libpthread_stubs_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "8fdda4c692503d44d04a0603d9ac0982054635f9" +uuid = "14d82f49-176c-5ed1-bb49-ad3f5cbd8c74" +version = "0.1.1+0" + +[[deps.Xorg_libxcb_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "XSLT_jll", "Xorg_libXau_jll", "Xorg_libXdmcp_jll", "Xorg_libpthread_stubs_jll"] +git-tree-sha1 = "b4bfde5d5b652e22b9c790ad00af08b6d042b97d" +uuid = "c7cfdc94-dc32-55de-ac96-5a1b8d977c5b" +version = "1.15.0+0" + +[[deps.Xorg_libxkbfile_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Xorg_libX11_jll"] +git-tree-sha1 = "730eeca102434283c50ccf7d1ecdadf521a765a4" +uuid = "cc61e674-0454-545c-8b26-ed2c68acab7a" +version = "1.1.2+0" + +[[deps.Xorg_xcb_util_cursor_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Xorg_xcb_util_image_jll", "Xorg_xcb_util_jll", "Xorg_xcb_util_renderutil_jll"] +git-tree-sha1 = "04341cb870f29dcd5e39055f895c39d016e18ccd" +uuid = "e920d4aa-a673-5f3a-b3d7-f755a4d47c43" +version = "0.1.4+0" + +[[deps.Xorg_xcb_util_image_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] +git-tree-sha1 = "0fab0a40349ba1cba2c1da699243396ff8e94b97" +uuid = "12413925-8142-5f55-bb0e-6d7ca50bb09b" +version = "0.4.0+1" + +[[deps.Xorg_xcb_util_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_libxcb_jll"] +git-tree-sha1 = "e7fd7b2881fa2eaa72717420894d3938177862d1" +uuid = "2def613f-5ad1-5310-b15b-b15d46f528f5" +version = "0.4.0+1" + +[[deps.Xorg_xcb_util_keysyms_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] +git-tree-sha1 = "d1151e2c45a544f32441a567d1690e701ec89b00" +uuid = "975044d2-76e6-5fbe-bf08-97ce7c6574c7" +version = "0.4.0+1" + +[[deps.Xorg_xcb_util_renderutil_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] +git-tree-sha1 = "dfd7a8f38d4613b6a575253b3174dd991ca6183e" +uuid = "0d47668e-0667-5a69-a72c-f761630bfb7e" +version = "0.3.9+1" + +[[deps.Xorg_xcb_util_wm_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Xorg_xcb_util_jll"] +git-tree-sha1 = "e78d10aab01a4a154142c5006ed44fd9e8e31b67" +uuid = "c22f9ab0-d5fe-5066-847c-f4bb1cd4e361" +version = "0.4.1+1" + +[[deps.Xorg_xkbcomp_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Xorg_libxkbfile_jll"] +git-tree-sha1 = "330f955bc41bb8f5270a369c473fc4a5a4e4d3cb" +uuid = "35661453-b289-5fab-8a00-3d9160c6a3a4" +version = "1.4.6+0" + +[[deps.Xorg_xkeyboard_config_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Xorg_xkbcomp_jll"] +git-tree-sha1 = "691634e5453ad362044e2ad653e79f3ee3bb98c3" +uuid = "33bec58e-1273-512f-9401-5d533626f822" +version = "2.39.0+0" + +[[deps.Xorg_xtrans_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "e92a1a012a10506618f10b7047e478403a046c77" +uuid = "c5fb5394-a638-5e4d-96e5-b29de1b5cf10" +version = "1.5.0+0" + +[[deps.Zlib_jll]] +deps = ["Libdl"] +uuid = "83775a58-1f1d-513f-b197-d71354ab007a" +version = "1.2.13+1" + +[[deps.Zstd_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "e678132f07ddb5bfa46857f0d7620fb9be675d3b" +uuid = "3161d3a3-bdf6-5164-811a-617609db77b4" +version = "1.5.6+0" + +[[deps.eudev_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "gperf_jll"] +git-tree-sha1 = "431b678a28ebb559d224c0b6b6d01afce87c51ba" +uuid = "35ca27e7-8b34-5b7f-bca9-bdc33f59eb06" +version = "3.2.9+0" + +[[deps.fzf_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "a68c9655fbe6dfcab3d972808f1aafec151ce3f8" +uuid = "214eeab7-80f7-51ab-84ad-2988db7cef09" +version = "0.43.0+0" + +[[deps.gperf_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "3516a5630f741c9eecb3720b1ec9d8edc3ecc033" +uuid = "1a1c6b14-54f6-533d-8383-74cd7377aa70" +version = "3.1.1+0" + +[[deps.libaom_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "3a2ea60308f0996d26f1e5354e10c24e9ef905d4" +uuid = "a4ae2306-e953-59d6-aa16-d00cac43593b" +version = "3.4.0+0" + +[[deps.libass_jll]] +deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "HarfBuzz_jll", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] +git-tree-sha1 = "5982a94fcba20f02f42ace44b9894ee2b140fe47" +uuid = "0ac62f75-1d6f-5e53-bd7c-93b484bb37c0" +version = "0.15.1+0" + +[[deps.libblastrampoline_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "8e850b90-86db-534c-a0d3-1478176c7d93" +version = "5.8.0+1" + +[[deps.libevdev_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "141fe65dc3efabb0b1d5ba74e91f6ad26f84cc22" +uuid = "2db6ffa8-e38f-5e21-84af-90c45d0032cc" +version = "1.11.0+0" + +[[deps.libfdk_aac_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "daacc84a041563f965be61859a36e17c4e4fcd55" +uuid = "f638f0a6-7fb0-5443-88ba-1cc74229b280" +version = "2.0.2+0" + +[[deps.libinput_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "eudev_jll", "libevdev_jll", "mtdev_jll"] +git-tree-sha1 = "ad50e5b90f222cfe78aa3d5183a20a12de1322ce" +uuid = "36db933b-70db-51c0-b978-0f229ee0e533" +version = "1.18.0+0" + +[[deps.libpng_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"] +git-tree-sha1 = "d7015d2e18a5fd9a4f47de711837e980519781a4" +uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" +version = "1.6.43+1" + +[[deps.libvorbis_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Ogg_jll", "Pkg"] +git-tree-sha1 = "b910cb81ef3fe6e78bf6acee440bda86fd6ae00c" +uuid = "f27f6e37-5d2b-51aa-960f-b287f2bc3b7a" +version = "1.3.7+1" + +[[deps.mtdev_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "814e154bdb7be91d78b6802843f76b6ece642f11" +uuid = "009596ad-96f7-51b1-9f1b-5ce2d5e8a71e" +version = "1.1.6+0" + +[[deps.nghttp2_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d" +version = "1.52.0+1" + +[[deps.p7zip_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" +version = "17.4.0+2" + +[[deps.x264_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "4fea590b89e6ec504593146bf8b988b2c00922b2" +uuid = "1270edf5-f2f9-52d2-97e9-ab00b5d0237a" +version = "2021.5.5+0" + +[[deps.x265_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] +git-tree-sha1 = "ee567a171cce03570d77ad3a43e90218e38937a9" +uuid = "dfaa095f-4041-5dcd-9319-2fabd8486b76" +version = "3.5.0+0" + +[[deps.xkbcommon_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Wayland_jll", "Wayland_protocols_jll", "Xorg_libxcb_jll", "Xorg_xkeyboard_config_jll"] +git-tree-sha1 = "9c304562909ab2bab0262639bd4f444d7bc2be37" +uuid = "d8fb68d0-12a3-5cfd-a85a-d49703b185fd" +version = "1.4.1+1" +""" + +# ╔═╡ Cell order: +# ╟─dd6b0ae2-cc87-4d19-ac78-f3a990aa692e +# ╠═f4fda666-7b9c-11eb-0304-716c5e710462 +# ╟─d82f1eae-7b9c-11eb-24d8-e1dcb2eef71a +# ╟─e410c1d0-7ba1-11eb-394f-71dac89756b7 +# ╟─5ea7344c-7ba2-11eb-2cc5-0bbdca218c82 +# ╟─8c0c412e-7c2f-11eb-1880-4f6c45d77597 +# ╟─ce44554e-847f-4129-8841-1a729dfa7a2e +# ╟─77ef0cfb-60db-4599-bec2-b65e99e5b246 +# ╠═ecb40aea-7b9c-11eb-1476-e54faf32d91c +# ╟─2445da24-7b9d-11eb-02bd-eb99a3d95a2e +# ╟─9addbcbe-7b9e-11eb-3e8c-fbab3be40e05 +# ╠═ec6c6328-7b9c-11eb-1c69-dba12ae522ad +# ╟─c0b4defe-7c2f-11eb-1913-bdb01d28a4a8 +# ╟─615aff3c-7c30-11eb-2ca8-9d2fdf299017 +# ╠═71efd6b0-7c30-11eb-0da7-0d4a5ab8f8ff +# ╠═6dc89964-7c30-11eb-0a41-8d97b210ed34 +# ╠═d35e0cc8-7c30-11eb-28d3-17c9e221ea62 +# ╟─a869e6c6-7c31-11eb-13c8-155d08be02eb +# ╠═63dbf052-7c32-11eb-1062-5b3581d38f70 +# ╠═9371f930-7c30-11eb-1f77-c7f31b97ea26 +# ╠═98158a38-7c30-11eb-0796-2335e97ec6d0 +# ╟─9d778e36-7c30-11eb-1f4b-894af86a8f5d +# ╠═db26375a-7c30-11eb-066e-ab9e8ded3356 +# ╠═ea741018-7c30-11eb-3912-a50475e6ec49 +# ╠═e18f2470-7c31-11eb-2b74-d59d00d20ba4 +# ╟─389e990e-7c40-11eb-37c4-5ba0f59173b3 +# ╟─5123c038-7ba2-11eb-1be2-19f789b02c1f +# ╟─9bfafcc0-7ba2-11eb-1b67-e3a3803ead08 +# ╟─f153b4b8-7ba0-11eb-37ec-4f1a3dbe20e8 +# ╟─9cfa9062-7ba0-11eb-3a93-197ac0287ab4 +# ╟─1ba1ae44-7ba1-11eb-21ff-558c95446435 +# ╟─ba570c4c-7ba2-11eb-2125-9f23e415a1dc +# ╠═d690f83a-7c2e-11eb-14d7-79a250deb473 +# ╠═2fb40dc6-7c2f-11eb-2469-8deb4db59b5c +# ╠═35791bca-7c2f-11eb-1cfb-8d5ebd0208cb +# ╟─1d7dd328-7c2d-11eb-2b35-bdbf5df686f0 +# ╟─d44c73b4-7c3e-11eb-1302-8ba9039ae789 +# ╟─fe742fec-7c3e-11eb-1f54-55cdf02a1574 +# ╠═23536420-7c2d-11eb-20b0-9523f7a5f9d7 +# ╠═3828b94c-7c2d-11eb-2e01-79038b0f5226 +# ╠═09b97be8-7c2e-11eb-05fd-65bbd097afb8 +# ╠═18ce2fac-7c2e-11eb-03d2-b3a674621662 +# ╠═ed605b90-7c3e-11eb-34e9-776a05a177dd +# ╠═35b5c5c6-7c3f-11eb-2723-4b406a809114 +# ╟─4dd2322c-7ba0-11eb-2b3b-af7c6c1d60a0 +# ╟─5c9edb2c-7ba0-11eb-14f6-3d5e52123bc7 +# ╟─80917990-7ba0-11eb-029a-dba981c52b58 +# ╟─af887dea-7ba1-11eb-3b0d-6925756382a7 +# ╟─b7dc4666-7ba1-11eb-32eb-fd3d720c2960 +# ╟─c519704c-7ba1-11eb-12da-8b9b176daa0d +# ╟─e1afc6ca-7ba1-11eb-3fb9-ef3a7f82d750 +# ╠═1db66b0e-7ba4-11eb-2157-d5a399a73b1f +# ╠═923bde64-7ba4-11eb-21e9-a11993aaab2e +# ╟─61905ae0-7ba6-11eb-0773-17e9aa4e9991 +# ╠═ff8b6aec-7ba5-11eb-0d83-19803b1bdda7 +# ╠═2e2e5f0e-7c31-11eb-0da7-770b07ee6202 +# ╟─1b77fada-7b9d-11eb-3266-ebb3895cb76a +# ╠═f25af026-7b9c-11eb-1f11-77a8b06b2d71 +# ╠═515c23b6-7c2d-11eb-28c9-1b1d92eb4ba0 +# ╟─395fd8e2-7c31-11eb-1933-dd719fa0cd22 +# ╠═02b1b470-7c31-11eb-28f4-411956f73f12 +# ╠═07a754da-7c31-11eb-0394-4bef4d79fc30 +# ╠═5faa2784-7c31-11eb-34f1-3f8224dbdbde +# ╟─ee91563e-7c3e-11eb-3f65-1f336073869a +# ╠═786f8e78-7c2d-11eb-1bb8-c5cb2e349f45 +# ╟─00000000-0000-0000-0000-000000000001 +# ╟─00000000-0000-0000-0000-000000000002 diff --git a/src/pluto_export_configuration.json b/src/pluto_export_configuration.json index 198ab74..f519416 100644 --- a/src/pluto_export_configuration.json +++ b/src/pluto_export_configuration.json @@ -14,6 +14,11 @@ "description": "Math is cool!!", "tags": ["math"] }, + { + "title": "Course preview: computational thinking", + "description": "The free online course \"Computational Thinking\" from MIT is a great way to learn about programming and problem solving. Here are some lectures from the course, you can find the full course on computationalthinking.mit.edu", + "tags": ["track_julia", "track_math", "track_climate", "track_data"] + }, { "title": "Visualisation", "description": "Pluto is a great tool to visualise your results! Here are some examples.",