Skip to content

Commit 679ff74

Browse files
committed
update
1 parent c77e2a5 commit 679ff74

File tree

5 files changed

+430
-51
lines changed

5 files changed

+430
-51
lines changed

Manifest.toml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
1919
[[Base64]]
2020
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
2121

22+
[[ChainRulesCore]]
23+
deps = ["Compat", "LinearAlgebra", "SparseArrays"]
24+
git-tree-sha1 = "a325370b9dd0e6bf5656a6f1a7ae80755f8ccc46"
25+
uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
26+
version = "1.7.2"
27+
2228
[[Compat]]
2329
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]
2430
git-tree-sha1 = "31d0151f5716b655421d9d75b7fa74cc4e744df2"
@@ -72,7 +78,7 @@ uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
7278

7379
[[EcosystemCore]]
7480
deps = ["StatsBase"]
75-
git-tree-sha1 = "9b3a25d787bcd5974160b1c7064096b8fb37a88c"
81+
git-tree-sha1 = "946d950bc4a3e64d1697411a2dc21f78a4a7aec6"
7682
repo-rev = "main"
7783
repo-url = "https://github.com/JuliaTeachingCTU/EcosystemCore.jl.git"
7884
uuid = "3e0d8730-8ea0-4ee2-afe6-c85384c618a2"
@@ -103,6 +109,11 @@ version = "0.2.2"
103109
deps = ["Markdown"]
104110
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
105111

112+
[[IrrationalConstants]]
113+
git-tree-sha1 = "f76424439413893a832026ca355fe273e93bce94"
114+
uuid = "92d709cd-6900-40b7-9082-c6be49f344b6"
115+
version = "0.1.0"
116+
106117
[[JLLWrappers]]
107118
deps = ["Preferences"]
108119
git-tree-sha1 = "642a199af8b68253517b80bd3bfd17eb4e84df6e"
@@ -138,6 +149,12 @@ uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
138149
deps = ["Libdl"]
139150
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
140151

152+
[[LogExpFunctions]]
153+
deps = ["ChainRulesCore", "DocStringExtensions", "IrrationalConstants", "LinearAlgebra"]
154+
git-tree-sha1 = "34dc30f868e368f8a17b728a1238f3fcda43931a"
155+
uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688"
156+
version = "0.3.3"
157+
141158
[[Logging]]
142159
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
143160

@@ -236,10 +253,10 @@ uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0"
236253
version = "1.0.0"
237254

238255
[[StatsBase]]
239-
deps = ["DataAPI", "DataStructures", "LinearAlgebra", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"]
240-
git-tree-sha1 = "8cbbc098554648c84f79a463c9ff0fd277144b6c"
256+
deps = ["DataAPI", "DataStructures", "LinearAlgebra", "LogExpFunctions", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"]
257+
git-tree-sha1 = "65fb73045d0e9aaa39ea9a29a5e7506d9ef6511f"
241258
uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
242-
version = "0.33.10"
259+
version = "0.33.11"
243260

244261
[[TOML]]
245262
deps = ["Dates"]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
class Sheep:
2+
def __init__(self, energy, Denergy):
3+
self.energy = energy
4+
self.Denergy = Denergy
5+
6+
def make_sound(self):
7+
print("Baa")
8+
9+
class SheepWithGender(Sheep):
10+
def __init__(self, energy, Denergy, sex):
11+
super().__init__(energy, Denergy)
12+
self.sex = sex

docs/src/lecture_03/animals.jpg

136 KB
Loading

0 commit comments

Comments
 (0)