Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Calcul différentiel et EDO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
toc
Etudiants N7
Calcul différentiel et EDO
Commits
942ee74e
Commit
942ee74e
authored
9 months ago
by
Olivier Cots
Browse files
Options
Downloads
Patches
Plain Diff
foo
parent
80cd4565
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tp/install.ipynb
+15
-11
15 additions, 11 deletions
tp/install.ipynb
with
15 additions
and
11 deletions
tp/install.ipynb
+
15
−
11
View file @
942ee74e
...
...
@@ -12,9 +12,17 @@
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
1
,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"\u001b[32m\u001b[1m Activating\u001b[22m\u001b[39m project at `~/Courses/calcul_differentiel_edo/enseignants/modia/tp`\n"
]
}
],
"source": [
"# activate local project\n",
"using Pkg\n",
...
...
@@ -30,26 +38,22 @@
"# install the packages in the local project\n",
"Pkg.add([\"DualNumbers\", \n",
" \"ForwardDiff\", \n",
" \"IJulia\",\n",
" \"LinearAlgebra\", \n",
" \"OrdinaryDiffEq\", \n",
" \"Plots\", \n",
" \"Polynomials\", \n",
" \"Printf\"])\n",
"\n",
"Pkg.build(\"IJulia\")"
" \"Printf\"])"
]
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
5
,
"metadata": {},
"outputs": [],
"source": [
"# load packages from local project\n",
"using DualNumbers\n",
"using ForwardDiff\n",
"using IJulia\n",
"using LinearAlgebra\n",
"using OrdinaryDiffEq\n",
"using Plots\n",
...
...
@@ -60,15 +64,15 @@
],
"metadata": {
"kernelspec": {
"display_name": "Julia 1.
9.0
",
"display_name": "Julia 1.
10.5
",
"language": "julia",
"name": "julia-1.
9
"
"name": "julia-1.
10
"
},
"language_info": {
"file_extension": ".jl",
"mimetype": "application/julia",
"name": "julia",
"version": "1.
9.0
"
"version": "1.
10.5
"
},
"orig_nbformat": 4
},
...
...
%% Cell type:markdown id: tags:
[
<img src="https://gitlab.irit.fr/toc/etu-n7/controle-optimal/-/raw/master/ressources/Logo-toulouse-inp-N7.png" alt="N7" height="80"/>
](
https://gitlab.irit.fr/toc/etu-n7/controle-optimal
)
<img
src=
"https://gitlab.irit.fr/toc/ens-n7/texCoursN7/-/raw/main/logo-insa.png"
alt=
"INSA"
height=
"80"
style=
"margin-left:50px"
/>
# Installation des packages pour les TPs
%% Cell type:code id: tags:
```
julia
# activate local project
using
Pkg
Pkg
.
activate
(
"."
)
```
%% Output
[32m[1m Activating[22m[39m project at `~/Courses/calcul_differentiel_edo/enseignants/modia/tp`
%% Cell type:code id: tags:
```
julia
# install the packages in the local project
Pkg
.
add
([
"DualNumbers"
,
"ForwardDiff"
,
"IJulia"
,
"LinearAlgebra"
,
"OrdinaryDiffEq"
,
"Plots"
,
"Polynomials"
,
"Printf"
])
Pkg
.
build
(
"IJulia"
)
```
%% Cell type:code id: tags:
```
julia
# load packages from local project
using
DualNumbers
using
ForwardDiff
using
IJulia
using
LinearAlgebra
using
OrdinaryDiffEq
using
Plots
using
Polynomials
using
Printf
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment