diff --git a/Introduction.html b/Introduction.html index e35390a..44cf36d 100644 --- a/Introduction.html +++ b/Introduction.html @@ -11766,7 +11766,7 @@
56*8
@@ -11780,7 +11780,7 @@ Varialbles and Types
-Out[6]:
+Out[1]:
@@ -11795,7 +11795,7 @@ Varialbles and Types
-In [7]:
+In [2]:
x=7
@@ -11809,7 +11809,7 @@ Varialbles and Types
-Out[7]:
+Out[2]:
@@ -11824,7 +11824,7 @@ Varialbles and Types
-In [8]:
+In [3]:
x+1
@@ -11838,7 +11838,7 @@ Varialbles and Types
-Out[8]:
+Out[3]:
@@ -11853,7 +11853,7 @@ Varialbles and Types
-In [9]:
+In [4]:
x^2
@@ -11867,7 +11867,7 @@ Varialbles and Types
-Out[9]:
+Out[4]:
@@ -11882,7 +11882,7 @@ Varialbles and Types
-In [10]:
+In [5]:
typeof(x)
@@ -11896,7 +11896,7 @@ Varialbles and Types
-Out[10]:
+Out[5]:
@@ -11911,7 +11911,7 @@ Varialbles and Types
-In [11]:
+In [6]:
x/3
@@ -11925,7 +11925,7 @@ Varialbles and Types
-Out[11]:
+Out[6]:
@@ -11940,7 +11940,7 @@ Varialbles and Types
-In [12]:
+In [7]:
cos(pi)
@@ -11954,7 +11954,7 @@ Varialbles and Types
-Out[12]:
+Out[7]:
@@ -11969,7 +11969,7 @@ Varialbles and Types
-In [13]:
+In [8]:
typeof(ans)
@@ -11983,7 +11983,7 @@ Varialbles and Types
-Out[13]:
+Out[8]:
@@ -11998,7 +11998,7 @@ Varialbles and Types
-In [14]:
+In [9]:
im^2
@@ -12012,7 +12012,7 @@ Varialbles and Types
-Out[14]:
+Out[9]:
@@ -12027,7 +12027,7 @@ Varialbles and Types
-In [15]:
+In [10]:
typeof(ans)
@@ -12041,7 +12041,7 @@ Varialbles and Types
-Out[15]:
+Out[10]:
@@ -12056,7 +12056,7 @@ Varialbles and Types
-In [16]:
+In [11]:
"Hello" * " world"
@@ -12070,7 +12070,7 @@ Varialbles and Types
-Out[16]:
+Out[11]:
@@ -12085,7 +12085,7 @@ Varialbles and Types
-In [17]:
+In [12]:
typeof(ans)
@@ -12099,7 +12099,7 @@ Varialbles and Types
-Out[17]:
+Out[12]:
@@ -12114,7 +12114,7 @@ Varialbles and Types
-In [18]:
+In [13]:
70//15
@@ -12128,7 +12128,7 @@ Varialbles and Types
-Out[18]:
+Out[13]:
@@ -12143,7 +12143,36 @@ Varialbles and Types
-In [1]:
+In [14]:
+
+
+true
+
+
+
+
+
+
+
+
+
+
+Out[14]:
+
+
+
+true
+
+
+
+
+
+
+
+
+
+
+In [15]:
12 ≠ 42
@@ -12157,7 +12186,7 @@ Varialbles and Types
-Out[1]:
+Out[15]:
@@ -12172,7 +12201,7 @@ Varialbles and Types
-In [3]:
+In [16]:
2 ∈ [6,3,5]
@@ -12186,7 +12215,7 @@ Varialbles and Types
-Out[3]:
+Out[16]:
@@ -12201,7 +12230,7 @@ Varialbles and Types
-In [19]:
+In [17]:
typeof(ans)
@@ -12215,11 +12244,11 @@ Varialbles and Types
-Out[19]:
+Out[17]:
-Rational{Int64}
+Bool
@@ -12230,7 +12259,7 @@ Varialbles and Types
-In [20]:
+In [18]:
"Like in perl you may write x=$x"
@@ -12244,7 +12273,7 @@ Varialbles and Types
-Out[20]:
+Out[18]:
@@ -12259,7 +12288,7 @@ Varialbles and Types
-In [21]:
+In [19]:
"... but also $(exp(x))"
@@ -12273,7 +12302,7 @@ Varialbles and Types
-Out[21]:
+Out[19]:
@@ -12318,7 +12347,7 @@ Functions + Multiple Dispatch
-In [6]:
+In [20]:
f(x) = x ^ 3
@@ -12332,11 +12361,11 @@ Functions + Multiple Dispatch
-Out[6]:
+Out[20]:
-f (generic function with 2 methods)
+f (generic function with 1 method)
@@ -12347,7 +12376,7 @@ Functions + Multiple Dispatch
-In [7]:
+In [21]:
f(3)
@@ -12361,7 +12390,7 @@ Functions + Multiple Dispatch
-Out[7]:
+Out[21]:
@@ -12376,7 +12405,7 @@ Functions + Multiple Dispatch
-In [8]:
+In [22]:
f("ha ")
@@ -12390,49 +12419,13 @@ Functions + Multiple Dispatch
-
-
-now in f(x::AbstractString)
-
-
-
-
-Out[8]:
+Out[22]:
-"Hello"
-
-
-
-
-
-
-
+"ha ha ha "
-
-
-In [15]:
-
-
-super(Float)
-
-
-
-
-
-
-
-
-
-
-
-
-LoadError: UndefVarError: Float not defined
-while loading In[15], in expression starting on line 1
-
-
@@ -12441,7 +12434,7 @@ Functions + Multiple Dispatch
-In [28]:
+In [23]:
function f(x::AbstractString)
@@ -12463,7 +12456,7 @@ Functions + Multiple Dispatch
-Out[28]:
+Out[23]:
@@ -12478,7 +12471,7 @@ Functions + Multiple Dispatch
-