Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyO3/rust-numpy
/ test_mult
Function
test_mult
examples/simple/tests/test_ext.py:26–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
25
26
def
test_mult():
27
x = np.array([1.0, 2.0, 3.0])
28
mult(3.0, x)
29
np.testing.assert_array_almost_equal(x, np.array([3.0, 6.0, 9.0]))
30
31
32
def
test_conj():
Callers
nothing calls this directly
Calls
2
mult
Function · 0.85
array
Method · 0.80
Tested by
no test coverage detected