UNPKG
@pipcook/boa-cloud
Version:
beta (2.0.0-beta.7)
latest (2.0.0-beta.1)
2.0.0-beta.7
2.0.0-beta.6
2.0.0-beta.5
2.0.0-beta.4
2.0.0-beta.3
2.0.0-beta.1
Use Python modules seamlessly in Node.js
github.com/alibaba/pipcook
alibaba/pipcook
@pipcook/boa-cloud
/
tests
/
numpy
/
routines.linalg.js
10 lines
(8 loc)
•
195 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
test =
require
(
'ava'
);
const
boa =
require
(
'../../'
);
const
np = boa.
import
(
'numpy'
);
test
(
'the dot function'
,
t
=>
{
console
.
log
(np.
dot
(
3
,
4
));
// BigInt is required.
t.
pass
(); });