Download this file
11 lines (10 with data), 261 Bytes
| >>> A = rand(3,3)
>>> B = linalg.funm(A,lambda x: special.jv(0,real(x)))
>>> print A
[[ 0.0593 0.5612 0.4403]
[ 0.8797 0.2556 0.1452]
[ 0.964 0.9666 0.1243]]
>>> print B
[[ 0.8206 -0.1212 -0.0612]
[-0.1323 0.8256 -0.0627]
[-0.2073 -0.1946 0.8516]]
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.