Skip to content

Commit 2e844e6

Browse files
committed
Change theme to Just the Docs
1 parent b0a1091 commit 2e844e6

File tree

58 files changed

+653
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+653
-17
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor
16
.ipynb_checkpoints

00 Algorithms.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
parent: Programming for Modelling and Data Analysis
3+
has_children: true
4+
nav_order: 0
5+
---
6+
7+
# Algorithms and Programs

00 Algorithms/1 What is an algorithm.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
parent: Algorithms and Programs
3+
grand_parent: Programming for Modelling and Data Analysis
4+
nav_order: 1
5+
---
6+
17
# What is an algorithm?
28

39
> **Ingredients:**

00 Algorithms/2 Thinking in algorithms.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
parent: Algorithms and Programs
3+
grand_parent: Programming for Modelling and Data Analysis
4+
nav_order: 2
5+
---
6+
17
# Thinking in algorithms
28

39
An important factor of computer programs written in a formal language is the fact that it must be inhumanly precise. Imagine, you ask someone ‘*Please close the window.*’ If there are two windows in the room and only one of them is open, the person will guess you are asking to close the window, which is open. However, computer executing your program is not so clever! Instead, you must give a set of formal instructions:

00 Algorithms/3 Frontend-backend.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
parent: Algorithms and Programs
3+
grand_parent: Programming for Modelling and Data Analysis
4+
nav_order: 3
5+
---
6+
17
# Kitchen and Dining Room
28

39
Imagine you run a classical restaurant. Regardless of the type of food you are serving (whether it is classical Polish *schabowy* or Italian pasta), it should consist of at least two rooms: a dining room, where your customers place orders and later eat your delicious dish. Another room is the kitchen, where the cooks run here and there preparing these meals. Unless your restaurant is a modern hipster place, where the food is prepared in front of the customers (it is not, as you cannot afford for elegant dress for your cooks), the *kitchen* should be separated from the *dining room*! This way, your customers can enjoy their meals without constant noise of buzzing pots.

00 Algorithms/Exercises.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
parent: Algorithms and Programs
3+
grand_parent: Programming for Modelling and Data Analysis
4+
nav_order: E
5+
---
6+
17
# Algorithmic thinking exercises
28

39
Below you have a set of problems. In each one identify and name the necessary input, write precisely all the necessary steps (as in the examples shown earlier), and identify the algorithm result (the output).

01 Python Environment.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
parent: Programming for Modelling and Data Analysis
3+
has_children: true
4+
nav_order: 1
5+
---

01 Python Environment/1 What is Python.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
parent: Python Environment
3+
grand_parent: Programming for Modelling and Data Analysis
4+
nav_order: 1
5+
---
16
# What is Python?
27

38
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.

01 Python Environment/2 Installation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
parent: Python Environment
3+
grand_parent: Programming for Modelling and Data Analysis
4+
nav_order: 2
5+
---
6+
17
# Installation
28

39
As described in the introduction, the Python compiler can be downloaded and installed directly from python.org. However, it will then be necessary to manually install the required libraries for engineering and scientific calculations. Hence, this way is not recommended. Please follow the instructions below, depending on your operating system:

01 Python Environment/3 Programming Environment.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
parent: Python Environment
3+
grand_parent: Programming for Modelling and Data Analysis
4+
nav_order: 3
5+
---
6+
17
# Programming Environment
28

39
You can write your Python programs in a Notepad or any text file editor. However, I strongly discourage to do so. It is much better, to use some programming environment. There is plenty of such environments that you can use with Python, e.g. Spyder, PyCharm, Visual Studio, Visual Studio Code...

0 commit comments

Comments
 (0)