FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/integration_tests/bindpy_04_module.py at main · jschueller/lpython · GitHub
jschueller
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
integration_tests
/
bindpy_04_module.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (15 loc) · 459 Bytes
Breadcrumbs
lpython
/
integration_tests
/
bindpy_04_module.py
Copy path
File metadata and controls
21 lines (15 loc) · 459 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import
numpy
as
np
def
get_uint_array_sum
(
n
,
a
,
b
):
return
np
.
add
(
a
,
b
)
def
get_bool_array_or
(
n
,
a
,
b
):
return
np
.
logical_or
(
a
,
b
)
def
get_complex_array_product
(
n
,
a
,
b
):
print
(
a
,
b
)
print
(
np
.
multiply
(
a
,
b
))
return
np
.
multiply
(
a
,
b
)
def
get_2D_uint_array_sum
(
n
,
m
,
a
,
b
):
return
np
.
add
(
a
,
b
)
def
get_2D_bool_array_and
(
n
,
m
,
a
,
b
):
return
np
.
logical_and
(
a
,
b
)
def
get_2D_complex_array_sum
(
n
,
m
,
a
,
b
):
return
np
.
add
(
a
,
b
)
Back
|
FazBrowse Home
|
New Git URL