Skip to content

Commit 93e8746

Browse files
minor testing julia
1 parent 399c9fc commit 93e8746

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/sbmlsim/julia/julia.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Julia integration
2+
- many interesting functionality in python
3+
- direct integration of python and julia
4+
5+
https://blog.glcs.io/julia-python-juliacall
6+
7+
juliacall
8+
9+
https://discourse.julialang.org/t/accelerating-calling-a-julia-function-from-python-via-juliacall-and-ctypes/124143
10+
11+
Writing high performance C extensions for Python in Minutes
12+
https://github.com/Suzhou-Tongyuan/jnumpy
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from juliacall import Main as jl
2+
import numpy as np
3+
4+
A = np.array(jl.rand(5, 3))
5+
x = np.array(jl.randn(3))
6+
y = A @ x
7+
8+
print("juliacall sucessfull")
9+
# print(y)

0 commit comments

Comments
 (0)