File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ gives us that possibility. The installation of PyJulia on Ubuntu linux is simple
16
16
$ python3 -m pip install julia # Only necessary first time you run it
17
17
...
18
18
$ python3
19
- >>> import julia
19
+ >>> from julia.api import Julia
20
20
>>> jl = Julia(compiled_modules=False) # compilation flag necessary on ubuntu
21
21
>>> julia.install() # Only necessary first time you run it
22
22
>>> from julia import Base
@@ -56,8 +56,8 @@ def my_compute_M(s,der):
56
56
An evaluation of the matrix function can be done by the call:
57
57
```
58
58
>>> my_compute_M(0.3,0)
59
- matrix([[ 6.76183424 +0.j, 3.16183424 +0.j],
60
- [ 4.16183424+0.j, -3.7 +0.j]])
59
+ matrix([[4.16183424 +0.j, 3.76183424 +0.j],
60
+ [4.16183424+0.j, 0.46183424 +0.j]])
61
61
```
62
62
We instantiate a new NEP based with ` Mder_NEP ` which first must be imported
63
63
```
You can’t perform that action at this time.
0 commit comments