From b71993edc23db2550e1573f8206beadbf6f14623 Mon Sep 17 00:00:00 2001
From: petrush <petrus.hyvonen@sscspace.com>
Date: Sun, 5 Apr 2020 20:48:19 +0200
Subject: [PATCH] Added info about variable number of parameters

---
 examples/The_Basics.ipynb | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/examples/The_Basics.ipynb b/examples/The_Basics.ipynb
index 1b5b502..66ee2d2 100644
--- a/examples/The_Basics.ipynb
+++ b/examples/The_Basics.ipynb
@@ -76,7 +76,8 @@
   {
    "cell_type": "markdown",
    "metadata": {
-    "toc-hr-collapsed": true
+    "toc-hr-collapsed": true,
+    "toc-nb-collapsed": true
    },
    "source": [
     "# Installation "
@@ -604,6 +605,33 @@
     "print(a.x, a.y, a.z)"
    ]
   },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "## Variable number of arguments functions"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "Java and Orekit are for some methods using a variable number of inputs, identified as ... in the API. For example the:\n",
+    "\n",
+    "    BooleanDetector.andCombine(EventDetector... detectors) \n",
+    "    \n",
+    "method in Java. To use this in Python, the variable arguments are placed in a list [], like: \n",
+    "\n",
+    "    BooleanDetector.andCombine([illumination_detector, el_detector])"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": []
+  },
   {
    "cell_type": "markdown",
    "metadata": {},
-- 
GitLab