Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97012036
wl.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jan 1, 15:07
Size
244 B
Mime Type
text/x-python
Expires
Fri, Jan 3, 15:07 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23312248
Attached To
rLIBMULTISCALE LibMultiScale
wl.py
View Options
from
__future__
import
print_function
import
numpy
as
np
def
compute
(
p0
=
None
,
input
=
None
,
**
kwargs
):
p0
=
input
vec
=
1e-4
*
p0
**
2
return
vec
if
__name__
==
"__main__"
:
a
=
np
.
array
([[
2
,
2
],
[
3
,
3
]])
print
(
compute
(
a
,
1
))
Event Timeline
Log In to Comment