Commit 2e2c0fba7d1 by Ashwin Vishnu

Save backend python for data test subpackages

parent 03c6a75e308
Pipeline #3634 passed with stage
in 9 minutes 23 seconds
from numpy.fft import rfft
from numpy.random import randn
from numpy.linalg import matrix_power
def test_np_fft(u):
u_fft = rfft(u)
return u_fft
def test_np_linalg_random(u):
(nx, ny) = u.shape
u[:] = randn(nx, ny)
u2 = u.T * u
u4 = matrix_power(u2, 2)
return u4
__transonic__ = ("0.4.2",)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment