From e5cb1dc93347aaa483df27036939d88e6304c106 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Fri, 1 Apr 2022 05:29:38 +0200 Subject: [PATCH] Done day 5 --- Day_5/Day_5.jl | 460 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 373 insertions(+), 87 deletions(-) diff --git a/Day_5/Day_5.jl b/Day_5/Day_5.jl index 529e6d8..bdfb5fa 100644 --- a/Day_5/Day_5.jl +++ b/Day_5/Day_5.jl @@ -14,11 +14,23 @@ macro bind(def, element) end end +# ╔═╡ 8b5cd80f-03bb-4d3b-a6ab-d53da2fa0cff +using Luxor + +# ╔═╡ 7ea065f6-8478-40d0-a982-aa3a5d46103d +using QuadGK + +# ╔═╡ dba8e2c8-d80f-4853-95ba-fa4576de042a +using Symbolics + # ╔═╡ 20cc1d6e-90a8-4e60-8c0b-badf605337eb using PhysicalConstants.CODATA2018 # ╔═╡ 6224fbd0-77a3-48c1-9d8a-6fa9c3a7f617 -using Measurements, Unitful +using Measurements + +# ╔═╡ ddc9b506-5df9-441e-afc9-b2bef1610779 +using NaturallyUnitful # ╔═╡ 5ad8a374-7c5b-457d-a4b4-e51d7261c206 using PeriodicTable @@ -26,9 +38,6 @@ using PeriodicTable # ╔═╡ 76df78f1-00de-426d-adb3-431c71bd313a using PrettyTables -# ╔═╡ 7ea065f6-8478-40d0-a982-aa3a5d46103d -using QuadGK - # ╔═╡ e28c5e34-d801-4807-a784-6575f685c552 using JLD2 @@ -38,9 +47,9 @@ begin using CairoMakie CairoMakie.activate!() - x = 1:10 + x1 = 1:10 fig = lines( - x, x.^2; + x1, x1.^2; label="Parabola", ) axislegend() @@ -65,9 +74,9 @@ begin end x2 = LinRange(-2, 1, 200) - y = LinRange(-1.1, 1.1, 200) - matrix = mandelbrot.(x2, y') - fig2, ax2, hm = heatmap(x2, y, matrix) + y2 = LinRange(-1.1, 1.1, 200) + matrix = mandelbrot.(x2, y2') + fig2, ax2, hm = heatmap(x2, y2, matrix) N = 50 xmin = LinRange(-2.0, -0.72, N) @@ -88,9 +97,6 @@ begin """ end -# ╔═╡ 8b5cd80f-03bb-4d3b-a6ab-d53da2fa0cff -using Luxor - # ╔═╡ c7e76680-571e-427d-a564-8819df8b3750 # Oh, no, you found my secret! 😱 # Don't change this hidden cell! @@ -375,9 +381,88 @@ md""" In this section, some interessting Julia packages will be presented briefly. If you want to learn more about them, check out their documentation! Just search for the package name and take a look at the Github page or the documentation page. """ +# ╔═╡ 7e75da58-f110-41cb-ab19-79376370965f +md""" +## `Luxor.jl` +For generating vector graphics. +""" + +# ╔═╡ 17f037d3-0dd1-4c3e-bd54-9fa03b7b3365 +@bind steps PlutoUI.Slider(1:24; default=3, show_value=true) + +# ╔═╡ 1be2d61a-5a6f-40c6-86aa-a8b515addabb +# Move the slider above! +@draw begin + gap = 2 + for (n, θ) in enumerate(range(0, step=2π/steps, length=steps)) + sethue([ + Luxor.julia_green, + Luxor.julia_red, + Luxor.julia_purple, + Luxor.julia_blue + ][mod1(n, 4)]) + sector(Luxor.Point(0, 0), 50, 250 + 2n, θ, θ + 2π/steps - deg2rad(gap), :fill) + end +end + +# ╔═╡ e80c4d19-d746-4ab8-88e0-2389a722edb6 +md""" +## `Makie` +Makie is a plotting package that does use the GPU for plotting. Depending on what you are doing, it might be more powerful than `Plots.jl`. + +Makie has more than one backend. The most important ones are `GLMakie` and `CairoMakie`. Use `CairoMakie` for puplications and `GLMakie` especially for animations. +""" + +# ╔═╡ 6b417e5d-01c2-4b06-9708-62c422a6b64b +md""" +## `DifferentialEquations.jl` +This package provides you with the **best numerical differential equations solver** 🚀 + +You don't believe me when I say that is it is the best? 🤨 + +Here is an objective comparison of the most popular differential equations solvers including those of other programming languages: +[https://www.stochasticlifestyle.com/comparison-differential-equation-solver-suites-matlab-r-julia-python-c-fortran/](https://www.stochasticlifestyle.com/comparison-differential-equation-solver-suites-matlab-r-julia-python-c-fortran/) + +Now that you believe me, go to this part of the package documentation and take a look at the tutorial for solving ordinary differential equations: +[https://diffeq.sciml.ai/stable/tutorials/ode_example/](https://diffeq.sciml.ai/stable/tutorials/ode_example/) + +It is **very well explained** in the documentation 🤩 +""" + +# ╔═╡ 1ef034c9-da8d-4b35-8a98-532793b03718 +md""" +## `QuadGK.jl` +Numerical integration. +""" + +# ╔═╡ a6064495-8e5f-4bc4-a090-f2f480c262c2 +integral, err = quadgk(x -> exp(-x^2), 0, 1, rtol=1e-8) + +# ╔═╡ 097b1b98-8b98-4160-bf31-d982f21ab8d6 +md""" +## `Symbolics.jl` +Symbolic calculations. This package is still in an early stage and does only support some features like calculating derivatives and simplifying expressions. But check it out now and especially in the future! +""" + +# ╔═╡ ec48d45c-8811-4747-a431-a31f8aaeb537 +@variables x + +# ╔═╡ 07c049db-ad8e-4672-af49-35432a3d8c22 +D = Differential(x) + +# ╔═╡ 599bf74b-b18d-42ff-8580-02905296887b +y = x + x^2 + sin(x) + +# ╔═╡ 0c94a6b9-cfc1-4e5b-916b-678765854fba +D(y) + +# ╔═╡ ac32de04-7f77-4f82-b486-1a533bc32ded +expand_derivatives(D(y)) + # ╔═╡ 279d81e7-77d5-4855-bf45-a1a613265f65 md""" ## `PhysicalConstants.jl` +You can use `Unitful.jl` for dealing with units! """ # ╔═╡ 296ea286-48d8-406c-9156-d2eaa8b239a3 @@ -392,6 +477,18 @@ float(SpeedOfLightInVacuum) # ╔═╡ 013b06c6-497a-4a77-81f4-58d775daa348 measurement(NewtonianConstantOfGravitation) +# ╔═╡ d29338b3-3c25-4ae4-90d0-1176538c635e +md""" +## `NaturallyUnitful.jl` +Extension to `Unitful.jl` for natural units. +""" + +# ╔═╡ 61cd8751-c5d7-45da-93b7-4b01b7a1d9b8 +natural(1u"m") + +# ╔═╡ 5856fa35-e6c0-4ea6-92e7-a3f402d5bd6e +unnatural(u"m", 5.067730759202785e6u"eV^-1") + # ╔═╡ 62e2481a-3fa1-4f2f-a7b6-7879c675701d md""" ## `PeriodicTable.jl` @@ -442,28 +539,6 @@ open("resources/pretty_table.tex", "w") do io ) end -# ╔═╡ 1ef034c9-da8d-4b35-8a98-532793b03718 -md""" -## `QuadGK.jl` -Numerical integration. -""" - -# ╔═╡ a6064495-8e5f-4bc4-a090-f2f480c262c2 -integral, err = quadgk(x -> exp(-x^2), 0, 1, rtol=1e-8) - -# ╔═╡ e80c4d19-d746-4ab8-88e0-2389a722edb6 -md""" -## Makie -Makie is a plotting package that does use the GPU for plotting. Depending on what you are doing, it might be more powerful than `Plots.jl`. - -Makie has more than one backend. The most important ones are `GLMakie` and `CairoMakie`. Use `CairoMakie` for puplications and `GLMakie` especially for animations. -""" - -# ╔═╡ 724f3fb4-1e49-4d58-a490-39d1110ba18c -md""" -### `CairoMakie.jl` -""" - # ╔═╡ eb836cdc-de12-430c-a6f3-1524ebd28865 md""" ## `JLD2.jl` @@ -481,50 +556,12 @@ JLD2.save_object("resources/jld2_demo.jld2", physics_student) # Load from binary file JLD2.load_object("resources/jld2_demo.jld2") -# ╔═╡ 7e75da58-f110-41cb-ab19-79376370965f -md""" -## `Luxor.jl` -For generating vector graphics. -""" - -# ╔═╡ 17f037d3-0dd1-4c3e-bd54-9fa03b7b3365 -@bind steps PlutoUI.Slider(1:24, default=3, show_value=true) - -# ╔═╡ 1be2d61a-5a6f-40c6-86aa-a8b515addabb -@draw begin - gap = 2 - for (n, θ) in enumerate(range(0, step=2π/steps, length=steps)) - sethue([ - Luxor.julia_green, - Luxor.julia_red, - Luxor.julia_purple, - Luxor.julia_blue - ][mod1(n, 4)]) - sector(Luxor.Point(0, 0), 50, 250 + 2n, θ, θ + 2π/steps - deg2rad(gap), :fill) - end -end - -# ╔═╡ 6b417e5d-01c2-4b06-9708-62c422a6b64b -md""" -## `DifferentialEquations.jl` -""" - # ╔═╡ 0174178f-3ed9-4890-8482-714cb51a635d md""" ## `ProgressMeter.jl` This package can not be shown in a Pluto notebook, but check it out if you are running code taking a very long time and you want to know what the progress is and when it will be done. It will generate an animated progress bar. """ -# ╔═╡ d29338b3-3c25-4ae4-90d0-1176538c635e -md""" -## `NaturallyUnitful.jl` -""" - -# ╔═╡ 097b1b98-8b98-4160-bf31-d982f21ab8d6 -md""" -## `Symbolics.jl` -""" - # ╔═╡ 2430f309-be28-4bc2-9692-92489c31f7b2 md""" # Resources @@ -546,12 +583,13 @@ GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a" JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819" Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc" Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7" +NaturallyUnitful = "872cf16e-200e-11e9-2cdf-8bb39cfbec41" PeriodicTable = "7b2266bf-644c-5ea3-82d8-af4bbd25a884" PhysicalConstants = "5ad8b20f-a522-5ce9-bfc9-ddf1d5bda6ab" PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" -Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" +Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" [compat] CairoMakie = "~0.7.5" @@ -559,12 +597,13 @@ GLMakie = "~0.5.5" JLD2 = "~0.4.22" Luxor = "~3.1.1" Measurements = "~2.7.1" +NaturallyUnitful = "~0.3.2" PeriodicTable = "~1.1.1" PhysicalConstants = "~0.2.1" PlutoUI = "~0.7.38" PrettyTables = "~1.3.1" QuadGK = "~2.4.2" -Unitful = "~1.11.0" +Symbolics = "~4.3.1" """ # ╔═╡ 00000000-0000-0000-0000-000000000002 @@ -574,6 +613,12 @@ PLUTO_MANIFEST_TOML_CONTENTS = """ julia_version = "1.7.2" manifest_format = "2.0" +[[deps.AbstractAlgebra]] +deps = ["GroupsCore", "InteractiveUtils", "LinearAlgebra", "MacroTools", "Markdown", "Random", "RandomExtensions", "SparseArrays", "Test"] +git-tree-sha1 = "831375b2bf4c71d53d50b64e3fb2f11ba35b5c62" +uuid = "c3fe647b-3220-5bb0-a1ea-a7954cac585d" +version = "0.25.1" + [[deps.AbstractFFTs]] deps = ["ChainRulesCore", "LinearAlgebra"] git-tree-sha1 = "6f1d9bc1c08f9f4a8fa92e3ea3cb50153a1b40d4" @@ -603,6 +648,11 @@ git-tree-sha1 = "e81c509d2c8e49592413bfb0bb3b08150056c79d" uuid = "27a7e980-b3e6-11e9-2bcd-0b925532e340" version = "0.4.1" +[[deps.ArgCheck]] +git-tree-sha1 = "a3a402a35a2f7e0b87828ccabbd5ebfbebe356b4" +uuid = "dce04be8-c92d-5529-be00-80e4d2c0e197" +version = "2.3.0" + [[deps.ArgTools]] uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" @@ -615,6 +665,11 @@ version = "5.0.5" [[deps.Artifacts]] uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" +[[deps.AutoHashEquals]] +git-tree-sha1 = "45bb6705d93be619b81451bb2006b7ee5d4e4453" +uuid = "15f4f7f2-30c1-5605-9d31-71845cf9641f" +version = "0.2.0" + [[deps.Automa]] deps = ["Printf", "ScanByte", "TranscodingStreams"] git-tree-sha1 = "d50976f217489ce799e366d9561d56a98a30d7fe" @@ -627,9 +682,25 @@ git-tree-sha1 = "66771c8d21c8ff5e3a93379480a2307ac36863f7" uuid = "13072b0f-2c55-5437-9ae7-d433b7a33950" version = "1.0.1" +[[deps.BangBang]] +deps = ["Compat", "ConstructionBase", "Future", "InitialValues", "LinearAlgebra", "Requires", "Setfield", "Tables", "ZygoteRules"] +git-tree-sha1 = "b15a6bc52594f5e4a3b825858d1089618871bf9d" +uuid = "198e06fe-97b7-11e9-32a5-e1d131e6ad66" +version = "0.3.36" + [[deps.Base64]] uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" +[[deps.Baselet]] +git-tree-sha1 = "aebf55e6d7795e02ca500a689d326ac979aaf89e" +uuid = "9718e550-a3fa-408a-8086-8db961cd8217" +version = "0.1.1" + +[[deps.Bijections]] +git-tree-sha1 = "705e7822597b432ebe152baa844b49f8026df090" +uuid = "e2ed5e7c-b2de-5872-ae92-c73ca462fb04" +version = "0.1.3" + [[deps.Bzip2_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "19a35467a82e236ff51bc17a3a44b69ef35185a2" @@ -707,6 +778,11 @@ git-tree-sha1 = "417b0ed7b8b838aa6ca0a87aadf1bb9eb111ce40" uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" version = "0.12.8" +[[deps.Combinatorics]] +git-tree-sha1 = "08c8b6831dc00bfea825826be0bc8336fc369860" +uuid = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" +version = "1.0.2" + [[deps.CommonSolve]] git-tree-sha1 = "68a0743f578349ada8bc911a5cbd5a2ef6ed6d1f" uuid = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2" @@ -722,6 +798,16 @@ version = "3.42.0" deps = ["Artifacts", "Libdl"] uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" +[[deps.CompositeTypes]] +git-tree-sha1 = "d5b014b216dc891e81fea299638e4c10c657b582" +uuid = "b152e2b5-7a66-4b01-a709-34e65c35f657" +version = "0.1.2" + +[[deps.CompositionsBase]] +git-tree-sha1 = "455419f7e328a1a2493cabc6428d79e951349769" +uuid = "a33af91c-f02d-484b-be07-31d278c5ca2b" +version = "0.1.1" + [[deps.ConstructionBase]] deps = ["LinearAlgebra"] git-tree-sha1 = "f74e9d5388b8620b4cee35d4c5a618dd4dc547f4" @@ -759,6 +845,11 @@ version = "1.0.0" deps = ["Printf"] uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" +[[deps.DefineSingletons]] +git-tree-sha1 = "0fba8b706d0178b4dc7fd44a96a92382c9065c2c" +uuid = "244e2a9f-e319-4986-a169-4d1fe445cd52" +version = "0.1.2" + [[deps.DelimitedFiles]] deps = ["Mmap"] uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" @@ -769,6 +860,12 @@ git-tree-sha1 = "80c3e8639e3353e5d2912fb3a1916b8455e2494b" uuid = "b429d917-457f-4dbc-8f4c-0cc954292b1d" version = "0.4.0" +[[deps.DiffRules]] +deps = ["IrrationalConstants", "LogExpFunctions", "NaNMath", "Random", "SpecialFunctions"] +git-tree-sha1 = "dd933c4ef7b4c270aacd4eb88fa64c147492acf0" +uuid = "b552c78f-8df3-52c6-915a-8e097449b14b" +version = "1.10.0" + [[deps.Distributed]] deps = ["Random", "Serialization", "Sockets"] uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" @@ -785,6 +882,12 @@ git-tree-sha1 = "b19534d1895d702889b219c382a6e18010797f0b" uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" version = "0.8.6" +[[deps.DomainSets]] +deps = ["CompositeTypes", "IntervalSets", "LinearAlgebra", "StaticArrays", "Statistics"] +git-tree-sha1 = "5f5f0b750ac576bcf2ab1d7782959894b304923e" +uuid = "5b8099bc-c8ec-5219-889f-1d9e522a28bf" +version = "0.5.9" + [[deps.Downloads]] deps = ["ArgTools", "LibCURL", "NetworkOptions"] uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" @@ -795,6 +898,12 @@ git-tree-sha1 = "5837a837389fccf076445fce071c8ddaea35a566" uuid = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74" version = "0.6.8" +[[deps.DynamicPolynomials]] +deps = ["DataStructures", "Future", "LinearAlgebra", "MultivariatePolynomials", "MutableArithmetics", "Pkg", "Reexport", "Test"] +git-tree-sha1 = "d0fa82f39c2a5cdb3ee385ad52bc05c42cb4b9f0" +uuid = "7c1d4256-1411-5781-91ec-d7bc3513ac07" +version = "0.4.5" + [[deps.EarCut_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "3f3a2501fa7236e9b911e0f7a588c657e822bb6d" @@ -813,6 +922,11 @@ git-tree-sha1 = "bad72f730e9e91c08d9427d5e8db95478a3c323d" uuid = "2e619515-83b5-522b-bb60-26c02a35a201" version = "2.4.8+0" +[[deps.ExprTools]] +git-tree-sha1 = "56559bbef6ca5ea0c0818fa5c90320398a6fbf8d" +uuid = "e2ba6199-217a-4e67-a87a-7c52f15ade04" +version = "0.1.8" + [[deps.FFMPEG]] deps = ["FFMPEG_jll"] git-tree-sha1 = "b57e3acbe22f8484b4b5ff66a7499717fe1a9cc8" @@ -954,6 +1068,18 @@ git-tree-sha1 = "53bb909d1151e57e2484c3d1b53e19552b887fb2" uuid = "42e2da0e-8278-4e71-bc24-59509adca0fe" version = "1.0.2" +[[deps.Groebner]] +deps = ["AbstractAlgebra", "Combinatorics", "Logging", "MultivariatePolynomials", "Primes", "Random"] +git-tree-sha1 = "18e3139ab69bfc03a8609027fd0e5572a5cffe6e" +uuid = "0b43b601-686d-58a3-8a1c-6623616c7cd4" +version = "0.2.3" + +[[deps.GroupsCore]] +deps = ["Markdown", "Random"] +git-tree-sha1 = "9e1a5e9f3b81ad6a5c613d181664a0efc6fe6dd7" +uuid = "d5909c97-4eac-4ecc-a3dc-fdd0858a4120" +version = "0.4.0" + [[deps.HarfBuzz_jll]] deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "Graphite2_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg"] git-tree-sha1 = "129acf094d168394e80ee1dc4bc06ec835e510a3" @@ -1016,6 +1142,16 @@ git-tree-sha1 = "f5fc07d4e706b84f72d54eedcc1c13d92fb0871c" uuid = "d25df0c9-e2be-5dd7-82c8-3ad0b3e990b9" version = "0.1.2" +[[deps.InitialValues]] +git-tree-sha1 = "4da0f88e9a39111c2fa3add390ab15f3a44f3ca3" +uuid = "22cec73e-a1b8-11e9-2c92-598750a2cf9c" +version = "0.3.1" + +[[deps.IntegerMathUtils]] +git-tree-sha1 = "f366daebdfb079fd1fe4e3d560f99a0c892e15bc" +uuid = "18e54dd8-cb9d-406c-a71d-865a43cbb235" +version = "0.1.0" + [[deps.IntelOpenMP_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "d979e54b71da82f3a65b62553da4fc3d18c9004c" @@ -1130,6 +1266,18 @@ git-tree-sha1 = "f2355693d6778a178ade15952b7ac47a4ff97996" uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" version = "1.3.0" +[[deps.LabelledArrays]] +deps = ["ArrayInterface", "ChainRulesCore", "LinearAlgebra", "MacroTools", "StaticArrays"] +git-tree-sha1 = "fbd884a02f8bf98fd90c53c1c9d2b21f9f30f42a" +uuid = "2ee39098-c373-598a-b85f-a56591580800" +version = "1.8.0" + +[[deps.Latexify]] +deps = ["Formatting", "InteractiveUtils", "LaTeXStrings", "MacroTools", "Markdown", "Printf", "Requires"] +git-tree-sha1 = "6f14549f7760d84b2db7a9b10b88cd3cc3025730" +uuid = "23fbe1c1-3f47-55db-b15f-69d7ec21a316" +version = "0.15.14" + [[deps.LazyArtifacts]] deps = ["Artifacts", "Pkg"] uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3" @@ -1292,6 +1440,18 @@ git-tree-sha1 = "8be09d84a2d597c7c0c34d7d604c039c9763e48c" uuid = "7269a6da-0436-5bbc-96c2-40638cbb6118" version = "0.4.10" +[[deps.Metatheory]] +deps = ["AutoHashEquals", "DataStructures", "Dates", "DocStringExtensions", "Parameters", "Reexport", "TermInterface", "ThreadsX", "TimerOutputs"] +git-tree-sha1 = "0886d229caaa09e9f56bcf1991470bd49758a69f" +uuid = "e9d8d322-4543-424a-9be4-0cc815abe26c" +version = "1.3.3" + +[[deps.MicroCollections]] +deps = ["BangBang", "InitialValues", "Setfield"] +git-tree-sha1 = "6bb7786e4f24d44b4e29df03c69add1b63d88f01" +uuid = "128add7d-3638-4c79-886c-908ea0c25c34" +version = "0.1.2" + [[deps.Missings]] deps = ["DataAPI"] git-tree-sha1 = "bf210ce90b6c9eed32d25dbcae1ebc565df2687f" @@ -1316,11 +1476,29 @@ version = "0.3.3" [[deps.MozillaCACerts_jll]] uuid = "14a3606d-f60d-562e-9121-12d972cd8159" +[[deps.MultivariatePolynomials]] +deps = ["DataStructures", "LinearAlgebra", "MutableArithmetics"] +git-tree-sha1 = "13ecec3d52a409be2e8653516955ec58f1c5a847" +uuid = "102ac46a-7ee4-5c85-9060-abc95bfdeaa3" +version = "0.4.4" + +[[deps.MutableArithmetics]] +deps = ["LinearAlgebra", "SparseArrays", "Test"] +git-tree-sha1 = "ba8c0f8732a24facba709388c74ba99dcbfdda1e" +uuid = "d8a4904e-b15c-11e9-3269-09a3773c0cb0" +version = "1.0.0" + [[deps.NaNMath]] git-tree-sha1 = "b086b7ea07f8e38cf122f5016af580881ac914fe" uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" version = "0.3.7" +[[deps.NaturallyUnitful]] +deps = ["Reexport", "Unitful"] +git-tree-sha1 = "add78dc1de6ffcf80f4fc350cf38794ad257690c" +uuid = "872cf16e-200e-11e9-2cdf-8bb39cfbec41" +version = "0.3.2" + [[deps.Netpbm]] deps = ["FileIO", "ImageCore"] git-tree-sha1 = "18efc06f6ec36a8b801b23f076e3c6ac7c3bf153" @@ -1426,6 +1604,12 @@ git-tree-sha1 = "3a121dfbba67c94a5bec9dde613c3d0cbcf3a12b" uuid = "36c8627f-9965-5494-a995-c6b170f724f3" version = "1.50.3+0" +[[deps.Parameters]] +deps = ["OrderedCollections", "UnPack"] +git-tree-sha1 = "34c0e9ad262e5f7fc75b10a9952ca7692cfc5fbe" +uuid = "d96e819e-fc66-5662-9728-84c9c7592b0a" +version = "0.12.3" + [[deps.Parsers]] deps = ["Dates"] git-tree-sha1 = "621f4f3b4977325b9128d5fae7a8b4829a0c2222" @@ -1489,6 +1673,12 @@ git-tree-sha1 = "dfb54c4e414caa595a1f2ed759b160f5a3ddcba5" uuid = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" version = "1.3.1" +[[deps.Primes]] +deps = ["IntegerMathUtils"] +git-tree-sha1 = "747f4261ebe38a2bc6abf0850ea8c6d9027ccd07" +uuid = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae" +version = "0.5.2" + [[deps.Printf]] deps = ["Unicode"] uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" @@ -1523,6 +1713,12 @@ uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" deps = ["SHA", "Serialization"] uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +[[deps.RandomExtensions]] +deps = ["Random", "SparseArrays"] +git-tree-sha1 = "062986376ce6d394b23d5d90f01d81426113a3c9" +uuid = "fb686558-2515-59ef-acaa-46db3789a887" +version = "0.4.3" + [[deps.Ratios]] deps = ["Requires"] git-tree-sha1 = "dc84268fe0e3335a62e315a3a7cf2afa7178a734" @@ -1534,11 +1730,23 @@ git-tree-sha1 = "6bf3f380ff52ce0832ddd3a2a7b9538ed1bcca7d" uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" version = "1.2.1" +[[deps.RecursiveArrayTools]] +deps = ["Adapt", "ArrayInterface", "ChainRulesCore", "DocStringExtensions", "FillArrays", "LinearAlgebra", "RecipesBase", "Requires", "StaticArrays", "Statistics", "ZygoteRules"] +git-tree-sha1 = "f5dd036acee4462949cc10c55544cc2bee2545d6" +uuid = "731186ca-8d62-57ce-b412-fbd966d074cd" +version = "2.25.1" + [[deps.Reexport]] git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b" uuid = "189a3867-3050-52da-a836-e630ba90ab69" version = "1.2.2" +[[deps.Referenceables]] +deps = ["Adapt"] +git-tree-sha1 = "e681d3bfa49cd46c3c161505caddf20f0e62aaa9" +uuid = "42d2dcc6-99eb-4e98-b66c-637b7d73030e" +version = "0.1.2" + [[deps.RelocatableFolders]] deps = ["SHA", "Scratch"] git-tree-sha1 = "cdbd3b1338c72ce29d9584fdbe9e9b70eeb5adca" @@ -1575,6 +1783,12 @@ git-tree-sha1 = "3d3dc66eb46568fb3a5259034bfc752a0eb0c686" uuid = "c4c386cf-5103-5370-be45-f3a111cca3b8" version = "1.0.0" +[[deps.RuntimeGeneratedFunctions]] +deps = ["ExprTools", "SHA", "Serialization"] +git-tree-sha1 = "cdc1e4278e91a6ad530770ebb327f9ed83cf10c4" +uuid = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47" +version = "0.5.3" + [[deps.SHA]] uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" @@ -1589,6 +1803,12 @@ git-tree-sha1 = "9cc2955f2a254b18be655a4ee70bc4031b2b189e" uuid = "7b38b023-a4d7-4c5e-8d43-3f3097f304eb" version = "0.3.0" +[[deps.SciMLBase]] +deps = ["ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "RecipesBase", "RecursiveArrayTools", "StaticArrays", "Statistics", "Tables", "TreeViews"] +git-tree-sha1 = "61159e034c4cb36b76ad2926bb5bf8c28cc2fb12" +uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462" +version = "1.29.0" + [[deps.Scratch]] deps = ["Dates"] git-tree-sha1 = "0b4b7f1393cff97c33891da2a0bf69c6ed241fda" @@ -1651,6 +1871,12 @@ git-tree-sha1 = "5ba658aeecaaf96923dce0da9e703bd1fe7666f9" uuid = "276daf66-3868-5448-9aa4-cd146d93841b" version = "2.1.4" +[[deps.SplittablesBase]] +deps = ["Setfield", "Test"] +git-tree-sha1 = "39c9f91521de844bad65049efd4f9223e7ed43f9" +uuid = "171d559e-b47b-412a-8079-5efa626c420e" +version = "0.1.14" + [[deps.StackViews]] deps = ["OffsetArrays"] git-tree-sha1 = "46e589465204cd0c08b4bd97385e4fa79a0c770c" @@ -1701,6 +1927,18 @@ version = "0.6.5" deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"] uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9" +[[deps.SymbolicUtils]] +deps = ["AbstractTrees", "Bijections", "ChainRulesCore", "Combinatorics", "ConstructionBase", "DataStructures", "DocStringExtensions", "DynamicPolynomials", "IfElse", "LabelledArrays", "LinearAlgebra", "Metatheory", "MultivariatePolynomials", "NaNMath", "Setfield", "SparseArrays", "SpecialFunctions", "StaticArrays", "TermInterface", "TimerOutputs"] +git-tree-sha1 = "bfa211c9543f8c062143f2a48e5bcbb226fd790b" +uuid = "d1185830-fcd6-423d-90d6-eec64667417b" +version = "0.19.7" + +[[deps.Symbolics]] +deps = ["ArrayInterface", "ConstructionBase", "DataStructures", "DiffRules", "Distributions", "DocStringExtensions", "DomainSets", "Groebner", "IfElse", "Latexify", "Libdl", "LinearAlgebra", "MacroTools", "Metatheory", "NaNMath", "RecipesBase", "Reexport", "Requires", "RuntimeGeneratedFunctions", "SciMLBase", "Setfield", "SparseArrays", "SpecialFunctions", "StaticArrays", "SymbolicUtils", "TermInterface", "TreeViews"] +git-tree-sha1 = "759d6102719068d95acae0b5480c157fa278ca82" +uuid = "0c5d862f-8b57-4792-8d23-62f2024744c7" +version = "4.3.1" + [[deps.TOML]] deps = ["Dates"] uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" @@ -1727,26 +1965,60 @@ git-tree-sha1 = "1feb45f88d133a655e001435632f019a9a1bcdb6" uuid = "62fd8b95-f654-4bbd-a8a5-9c27f68ccd50" version = "0.1.1" +[[deps.TermInterface]] +git-tree-sha1 = "7aa601f12708243987b88d1b453541a75e3d8c7a" +uuid = "8ea1fca8-c5ef-4a55-8b96-4e9afe9c9a3c" +version = "0.2.3" + [[deps.Test]] deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +[[deps.ThreadsX]] +deps = ["ArgCheck", "BangBang", "ConstructionBase", "InitialValues", "MicroCollections", "Referenceables", "Setfield", "SplittablesBase", "Transducers"] +git-tree-sha1 = "d223de97c948636a4f34d1f84d92fd7602dc555b" +uuid = "ac1d9e8a-700a-412c-b207-f0111f4b6c0d" +version = "0.1.10" + [[deps.TiffImages]] deps = ["ColorTypes", "DataStructures", "DocStringExtensions", "FileIO", "FixedPointNumbers", "IndirectArrays", "Inflate", "OffsetArrays", "PkgVersion", "ProgressMeter", "UUIDs"] git-tree-sha1 = "aaa19086bc282630d82f818456bc40b4d314307d" uuid = "731e570b-9d59-4bfa-96dc-6df516fadf69" version = "0.5.4" +[[deps.TimerOutputs]] +deps = ["ExprTools", "Printf"] +git-tree-sha1 = "d60b0c96a16aaa42138d5d38ad386df672cb8bd8" +uuid = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" +version = "0.5.16" + [[deps.TranscodingStreams]] deps = ["Random", "Test"] git-tree-sha1 = "216b95ea110b5972db65aa90f88d8d89dcb8851c" uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" version = "0.9.6" +[[deps.Transducers]] +deps = ["Adapt", "ArgCheck", "BangBang", "Baselet", "CompositionsBase", "DefineSingletons", "Distributed", "InitialValues", "Logging", "Markdown", "MicroCollections", "Requires", "Setfield", "SplittablesBase", "Tables"] +git-tree-sha1 = "c76399a3bbe6f5a88faa33c8f8a65aa631d95013" +uuid = "28d57a85-8fef-5791-bfe6-a80928e7c999" +version = "0.4.73" + +[[deps.TreeViews]] +deps = ["Test"] +git-tree-sha1 = "8d0d7a3fe2f30d6a7f833a5f19f7c7a5b396eae6" +uuid = "a2a6695c-b41b-5b7d-aed9-dbfdeacea5d7" +version = "0.3.0" + [[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" @@ -1868,6 +2140,12 @@ git-tree-sha1 = "e45044cd873ded54b6a5bac0eb5c971392cf1927" uuid = "3161d3a3-bdf6-5164-811a-617609db77b4" version = "1.5.2+0" +[[deps.ZygoteRules]] +deps = ["MacroTools"] +git-tree-sha1 = "8c1a8e4dfacb1fd631745552c8db35d0deb09ea0" +uuid = "700de1a5-db45-46bc-99cf-38207098b444" +version = "0.2.2" + [[deps.gdk_pixbuf_jll]] deps = ["Artifacts", "Glib_jll", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "Pkg", "Xorg_libX11_jll", "libpng_jll"] git-tree-sha1 = "c23323cd30d60941f8c68419a70905d9bdd92808" @@ -1983,6 +2261,23 @@ version = "3.5.0+0" # ╠═44511b7e-a38a-450f-9a55-b6b6a4d3edd5 # ╟─eddfd543-091b-4a32-8124-a67687dcf457 # ╟─c24c04e4-b131-11ec-2c1b-7de12fe0c324 +# ╟─7e75da58-f110-41cb-ab19-79376370965f +# ╠═8b5cd80f-03bb-4d3b-a6ab-d53da2fa0cff +# ╠═17f037d3-0dd1-4c3e-bd54-9fa03b7b3365 +# ╠═1be2d61a-5a6f-40c6-86aa-a8b515addabb +# ╟─e80c4d19-d746-4ab8-88e0-2389a722edb6 +# ╠═9e766e0c-caff-42e8-b317-a09003b5f27a +# ╟─6b417e5d-01c2-4b06-9708-62c422a6b64b +# ╟─1ef034c9-da8d-4b35-8a98-532793b03718 +# ╠═7ea065f6-8478-40d0-a982-aa3a5d46103d +# ╠═a6064495-8e5f-4bc4-a090-f2f480c262c2 +# ╟─097b1b98-8b98-4160-bf31-d982f21ab8d6 +# ╠═dba8e2c8-d80f-4853-95ba-fa4576de042a +# ╠═ec48d45c-8811-4747-a431-a31f8aaeb537 +# ╠═07c049db-ad8e-4672-af49-35432a3d8c22 +# ╠═599bf74b-b18d-42ff-8580-02905296887b +# ╠═0c94a6b9-cfc1-4e5b-916b-678765854fba +# ╠═ac32de04-7f77-4f82-b486-1a533bc32ded # ╟─279d81e7-77d5-4855-bf45-a1a613265f65 # ╠═20cc1d6e-90a8-4e60-8c0b-badf605337eb # ╠═6224fbd0-77a3-48c1-9d8a-6fa9c3a7f617 @@ -1990,6 +2285,10 @@ version = "3.5.0+0" # ╠═da703a4d-909a-4e12-83f4-0e177989ffff # ╠═933663e8-994a-4794-b830-c59eb91e3b3b # ╠═013b06c6-497a-4a77-81f4-58d775daa348 +# ╟─d29338b3-3c25-4ae4-90d0-1176538c635e +# ╠═ddc9b506-5df9-441e-afc9-b2bef1610779 +# ╠═61cd8751-c5d7-45da-93b7-4b01b7a1d9b8 +# ╠═5856fa35-e6c0-4ea6-92e7-a3f402d5bd6e # ╟─62e2481a-3fa1-4f2f-a7b6-7879c675701d # ╠═5ad8a374-7c5b-457d-a4b4-e51d7261c206 # ╠═42d93edd-45f7-41f5-9f3a-75ebd4ab6ca8 @@ -2002,25 +2301,12 @@ version = "3.5.0+0" # ╠═122bb474-31a0-4ef3-a547-ae57b6448faa # ╠═b0fd55b0-d591-4e7b-982c-3e85fcaf8bcd # ╠═b36b927a-1959-434a-b4e8-86a3c82b3e95 -# ╟─1ef034c9-da8d-4b35-8a98-532793b03718 -# ╠═7ea065f6-8478-40d0-a982-aa3a5d46103d -# ╠═a6064495-8e5f-4bc4-a090-f2f480c262c2 -# ╟─e80c4d19-d746-4ab8-88e0-2389a722edb6 -# ╟─724f3fb4-1e49-4d58-a490-39d1110ba18c -# ╠═9e766e0c-caff-42e8-b317-a09003b5f27a # ╟─eb836cdc-de12-430c-a6f3-1524ebd28865 # ╠═e28c5e34-d801-4807-a784-6575f685c552 # ╠═62fcfe2a-2a33-4ace-b9df-9ae295446df2 # ╠═4d44453e-31b3-4209-a9a7-5c8502c5cada # ╠═9bbef800-6926-4c47-8fd0-dece3640bc04 -# ╟─7e75da58-f110-41cb-ab19-79376370965f -# ╠═8b5cd80f-03bb-4d3b-a6ab-d53da2fa0cff -# ╠═17f037d3-0dd1-4c3e-bd54-9fa03b7b3365 -# ╠═1be2d61a-5a6f-40c6-86aa-a8b515addabb -# ╠═6b417e5d-01c2-4b06-9708-62c422a6b64b # ╟─0174178f-3ed9-4890-8482-714cb51a635d -# ╠═d29338b3-3c25-4ae4-90d0-1176538c635e -# ╠═097b1b98-8b98-4160-bf31-d982f21ab8d6 # ╟─2430f309-be28-4bc2-9692-92489c31f7b2 # ╟─c7e76680-571e-427d-a564-8819df8b3750 # ╟─00000000-0000-0000-0000-000000000001