UNPKG
boajs
Version:
latest (1.2.10)
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
Use Python modules seamlessly in Node.js
github.com/alibaba/pipcook
alibaba/pipcook
boajs
/
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
(
'tape'
);
const
boa =
require
(
'../../'
);
const
np = boa.
import
(
'numpy'
);
test
(
'the dot function'
,
t
=>
{
console
.
log
(np.
dot
(
3
,
4
));
// BigInt is required.
t.
end
(); });