☰
Debian Codegraph
@
1.0+1gitdc644d-2
/
/
example
/
resources
/
code_samples
/
python.py
☽
☼
example/resources/code_samples/python.py
code
plain
raw
symbols
SCIP
MIT
2013-2019 Megaxela
debian/copyright
1
import
numpy
2
3
def
sqr_array
(x):
4
'''
5
Documentation for sqr_array.
6
A multi line string!'
7
'''
8
9
return
np.
array
(x)**
2
10
11
s =
'this is a string'
12
d =
10
13
x = np.
arange
(
0
,d,d/
10
)
14
y =
sqr_array
(x)