Commit f3326172 authored by CHAMONT David's avatar CHAMONT David
Browse files

¨Adaptation a la nouvelle interface jupyterhub¨.

parent 0f97246e
......@@ -21,6 +21,7 @@
{
"cell_type": "markdown",
"metadata": {
"heading_collapsed": true,
"slideshow": {
"slide_type": "slide"
}
......@@ -32,6 +33,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -50,6 +52,7 @@
],
"id": ""
},
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -65,6 +68,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -77,6 +81,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -92,6 +97,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -104,6 +110,7 @@
"cell_type": "code",
"execution_count": 3,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -126,6 +133,7 @@
],
"id": ""
},
"heading_collapsed": true,
"slideshow": {
"slide_type": "slide"
}
......@@ -137,6 +145,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -149,6 +158,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -162,6 +172,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -174,6 +185,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -187,6 +199,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -199,6 +212,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -214,6 +228,7 @@
{
"cell_type": "markdown",
"metadata": {
"heading_collapsed": true,
"slideshow": {
"slide_type": "slide"
}
......@@ -229,6 +244,7 @@
"cell_type": "code",
"execution_count": 17,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -261,6 +277,7 @@
"cell_type": "code",
"execution_count": 16,
"metadata": {
"hidden": true,
"scrolled": true,
"slideshow": {
"slide_type": "fragment"
......@@ -285,6 +302,7 @@
{
"cell_type": "markdown",
"metadata": {
"heading_collapsed": true,
"slideshow": {
"slide_type": "slide"
}
......@@ -299,6 +317,7 @@
"cell_type": "code",
"execution_count": 3,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -317,6 +336,7 @@
"cell_type": "code",
"execution_count": 4,
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -340,6 +360,7 @@
{
"cell_type": "markdown",
"metadata": {
"heading_collapsed": true,
"slideshow": {
"slide_type": "slide"
}
......@@ -351,6 +372,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -371,6 +393,7 @@
],
"id": ""
},
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -397,6 +420,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -415,6 +439,7 @@
],
"id": ""
},
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -442,6 +467,7 @@
{
"cell_type": "markdown",
"metadata": {
"hidden": true,
"slideshow": {
"slide_type": "subslide"
}
......@@ -460,6 +486,7 @@
],
"id": ""
},
"hidden": true,
"slideshow": {
"slide_type": "-"
}
......@@ -494,7 +521,7 @@
}
},
"source": [
"# Questions ?"
"## Questions ?"
]
},
{
......@@ -505,7 +532,7 @@
}
},
"source": [
"## Exercise\n",
"# Exercise\n",
"\n",
"1. In the code below, simplify the operator `<<`.\n",
"2. Provide the class with methods `begin()` and `end()`.\n",
......@@ -622,6 +649,48 @@
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": true
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"delete_cmd_postfix": ") ",
"delete_cmd_prefix": "rm(",
"library": "var_list.r",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
],
"window_display": false
}
},
"nbformat": 4,
......
......@@ -376,7 +376,7 @@
}
},
"source": [
"# Questions ?"
"## Questions ?"
]
},
{
......@@ -387,7 +387,7 @@
}
},
"source": [
"## Exercise\n",
"# Exercise\n",
"\n",
"In the class below, replace the `add()` method with a constructor from a `std::initializer_list`, and simplify `main`."
]
......@@ -488,6 +488,48 @@
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"delete_cmd_postfix": ") ",
"delete_cmd_prefix": "rm(",
"library": "var_list.r",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
],
"window_display": false
}
},
"nbformat": 4,
......
......@@ -844,7 +844,7 @@
}
},
"source": [
"# Questions ?"
"## Questions ?"
]
},
{
......@@ -861,7 +861,7 @@
}
},
"source": [
"## Exercise\n",
"# Exercise\n",
"\n",
"The class below mimics a very simplified `std::string`. Add a move constructor, and ensure that it is used by `main()`."
]
......@@ -1002,6 +1002,48 @@
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"delete_cmd_postfix": ") ",
"delete_cmd_prefix": "rm(",
"library": "var_list.r",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
],
"window_display": false
}
},
"nbformat": 4,
......
......@@ -787,7 +787,7 @@
}
},
"source": [
"# Questions ?"
"## Questions ?"
]
},
{
......@@ -798,7 +798,7 @@
}
},
"source": [
"## Exercise\n",
"# Exercise\n",
"\n",
"Eliminate the raw pointers from the example, and use smart pointers instead, so that the explicit call to `delete` in `main()` can be removed."
]
......@@ -900,6 +900,48 @@
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": true
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"delete_cmd_postfix": ") ",
"delete_cmd_prefix": "rm(",
"library": "var_list.r",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
],
"window_display": false
}
},
"nbformat": 4,
......
......@@ -603,7 +603,7 @@
}
},
"source": [
"# Questions ?"
"## Questions ?"
]
},
{
......@@ -614,7 +614,7 @@
}
},
"source": [
"## Exercise\n",
"# Exercise\n",
"\n",
"In the code below, insert one `= delete`, one `= default` and one `override`."
]
......@@ -764,6 +764,48 @@
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": true
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"delete_cmd_postfix": ") ",
"delete_cmd_prefix": "rm(",
"library": "var_list.r",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
],
"window_display": false
}
},
"nbformat": 4,
......
......@@ -682,7 +682,7 @@
}
},
"source": [
"# Questions ?"
"## Questions ?"
]
},
{
......@@ -693,7 +693,7 @@
}
},
"source": [
"## Exercise\n",
"# Exercise\n",
"\n",
"Complete the `make_ptr` function, imitation of `std::make_shared`."
]
......@@ -794,6 +794,48 @@
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": true
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"delete_cmd_postfix": ") ",
"delete_cmd_prefix": "rm(",
"library": "var_list.r",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
],
"window_display": false
}
},
"nbformat": 4,
......
......@@ -328,7 +328,7 @@
}
},
"source": [
"# Questions ?"
"## Questions ?"
]
},
{
......@@ -339,7 +339,7 @@
}
},
"source": [
"## Exercise\n",
"# Exercise\n",
"\n",
"The Fibonacci function is defined as follows:\n",
"* f(0) = 0\n",
......@@ -473,6 +473,48 @@
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": true
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {