summaryrefslogtreecommitdiff
path: root/advanced-features-functions/quickref.tex
diff options
context:
space:
mode:
Diffstat (limited to 'advanced-features-functions/quickref.tex')
-rw-r--r--advanced-features-functions/quickref.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/advanced-features-functions/quickref.tex b/advanced-features-functions/quickref.tex
index b26d168..160370e 100644
--- a/advanced-features-functions/quickref.tex
+++ b/advanced-features-functions/quickref.tex
@@ -1,8 +1,8 @@
-Creating a linear array:\\
-{\ex \lstinline| x = linspace(0, 2*pi, 50)|}
+\textbf{Advanced features of functions}
-Plotting two variables:\\
-{\ex \lstinline| plot(x, sin(x))|}
+Arguments of functions can have default arguments.
-Plotting two lists of equal length x, y:\\
-{\ex \lstinline| plot(x, y)|}
+All arguments with default arguments are at the end of the definition.
+
+Functions can be called with keyword arguments. All the keyword
+arguments should be at the end of the argument list.