FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
iPython/integration_tests/bindpy_02_module.py at main · BrentMat/iPython · GitHub
BrentMat
/
iPython
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
iPython
/
integration_tests
/
bindpy_02_module.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (15 loc) · 378 Bytes
Breadcrumbs
iPython
/
integration_tests
/
bindpy_02_module.py
Copy path
File metadata and controls
21 lines (15 loc) · 378 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_cpython_version
():
import
platform
return
platform
.
python_version
()
def
get_int_array_sum
(
a
):
return
np
.
sum
(
a
)
def
get_int_array_product
(
a
):
return
np
.
prod
(
a
)
def
get_float_array_sum
(
a
):
return
np
.
sum
(
a
)
def
get_float_array_product
(
a
):
return
np
.
prod
(
a
)
def
show_array_dot_product
(
a
,
b
):
print
(
a
,
b
)
print
(
a
@
b
)
Back
|
FazBrowse Home
|
New Git URL