Skip to content

Commit

Permalink
Update artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jan 27, 2024
1 parent 9736b90 commit 18f8166
Show file tree
Hide file tree
Showing 11 changed files with 732 additions and 65 deletions.
1 change: 1 addition & 0 deletions array/base/cartesian-product/coverage.ndjson
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[103,103,100,5,5,100,1,1,100,103,103,100]
[103,103,100,5,5,100,1,1,100,103,103,100,"e21bcc8ee95d7211b3f8699e8bc1552c7cfed961","2023-08-24 13:14:54 -0700"]
[113,113,100,5,5,100,1,1,100,113,113,100,"8f7bed2a3081b387c37f7c848e86b521caecdc5a","2024-01-26 16:37:27 -0800"]
28 changes: 14 additions & 14 deletions array/base/cartesian-product/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
<html lang="en">

<head>
<title>Code coverage report for All files</title>
<title>Code coverage report for array/base/cartesian-product/lib</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
<link rel="stylesheet" href="../../../../prettify.css" />
<link rel="stylesheet" href="../../../../base.css" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
background-image: url(../../../../sort-arrow-sprite.png);
}
</style>
</head>

<body>
<div class='wrapper'>
<div class='pad1'>
<h1>All files</h1>
<h1><a href="../../../../index.html">All files</a> array/base/cartesian-product/lib</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>103/103</span>
<span class='fraction'>113/113</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1>All files</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>103/103</span>
<span class='fraction'>113/113</span>
</div>


Expand Down Expand Up @@ -99,13 +99,13 @@ <h1>All files</h1>
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="60" class="abs high">60/60</td>
<td data-value="70" class="abs high">70/70</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="4" class="abs high">4/4</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="60" class="abs high">60/60</td>
<td data-value="70" class="abs high">70/70</td>
</tr>

</tbody>
Expand All @@ -116,16 +116,16 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-08-24T20:17:30.825Z
at 2024-01-27T00:39:53.388Z
</div>
<script src="prettify.js"></script>
<script src="../../../../prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
<script src="../../../../sorter.js"></script>
<script src="../../../../block-navigation.js"></script>
</body>
</html>

20 changes: 10 additions & 10 deletions array/base/cartesian-product/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<html lang="en">

<head>
<title>Code coverage report for index.js</title>
<title>Code coverage report for array/base/cartesian-product/lib/index.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
<link rel="stylesheet" href="../../../../prettify.css" />
<link rel="stylesheet" href="../../../../base.css" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
background-image: url(../../../../sort-arrow-sprite.png);
}
</style>
</head>

<body>
<div class='wrapper'>
<div class='pad1'>
<h1><a href="index.html">All files</a> index.js</h1>
<h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/base/cartesian-product/lib</a> index.js</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
Expand Down Expand Up @@ -199,16 +199,16 @@ <h1><a href="index.html">All files</a> index.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-08-24T20:17:30.825Z
at 2024-01-27T00:39:53.388Z
</div>
<script src="prettify.js"></script>
<script src="../../../../prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
<script src="../../../../sorter.js"></script>
<script src="../../../../block-navigation.js"></script>
</body>
</html>

94 changes: 62 additions & 32 deletions array/base/cartesian-product/main.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
<html lang="en">

<head>
<title>Code coverage report for main.js</title>
<title>Code coverage report for array/base/cartesian-product/lib/main.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
<link rel="stylesheet" href="../../../../prettify.css" />
<link rel="stylesheet" href="../../../../base.css" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
background-image: url(../../../../sort-arrow-sprite.png);
}
</style>
</head>

<body>
<div class='wrapper'>
<div class='pad1'>
<h1><a href="index.html">All files</a> main.js</h1>
<h1><a href="../../../../index.html">All files</a> / <a href="index.html">array/base/cartesian-product/lib</a> main.js</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>60/60</span>
<span class='fraction'>70/70</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1><a href="index.html">All files</a> main.js</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>60/60</span>
<span class='fraction'>70/70</span>
</div>


Expand Down Expand Up @@ -123,7 +123,17 @@ <h1><a href="index.html">All files</a> main.js</h1>
<a name='L58'></a><a href='#L58'>58</a>
<a name='L59'></a><a href='#L59'>59</a>
<a name='L60'></a><a href='#L60'>60</a>
<a name='L61'></a><a href='#L61'>61</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<a name='L61'></a><a href='#L61'>61</a>
<a name='L62'></a><a href='#L62'>62</a>
<a name='L63'></a><a href='#L63'>63</a>
<a name='L64'></a><a href='#L64'>64</a>
<a name='L65'></a><a href='#L65'>65</a>
<a name='L66'></a><a href='#L66'>66</a>
<a name='L67'></a><a href='#L67'>67</a>
<a name='L68'></a><a href='#L68'>68</a>
<a name='L69'></a><a href='#L69'>69</a>
<a name='L70'></a><a href='#L70'>70</a>
<a name='L71'></a><a href='#L71'>71</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand Down Expand Up @@ -159,25 +169,35 @@ <h1><a href="index.html">All files</a> main.js</h1>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">28x</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">9x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand All @@ -203,6 +223,11 @@ <h1><a href="index.html">All files</a> main.js</h1>
&nbsp;
'use strict';
&nbsp;
// MODULES //
&nbsp;
var resolveGetter = require( '@stdlib/array/base/resolve-getter' );
&nbsp;
&nbsp;
// MAIN //
&nbsp;
/**
Expand All @@ -220,20 +245,25 @@ <h1><a href="index.html">All files</a> main.js</h1>
* // returns [ [ 1, 4 ], [ 1, 5 ], [ 2, 4 ], [ 2, 5 ], [ 3, 4 ], [ 3, 5 ] ]
*/
function cartesianProduct( x1, x2 ) {
var get1;
var get2;
var out;
var M;
var N;
var v;
var i;
var j;
&nbsp;
get1 = resolveGetter( x1 );
get2 = resolveGetter( x2 );
&nbsp;
M = x1.length;
N = x2.length;
out = [];
for ( i = 0; i &lt; M; i++ ) {
v = x1[ i ];
v = get1( x1, i );
for ( j = 0; j &lt; N; j++ ) {
out.push( [ v, x2[ j ] ] );
out.push( [ v, get2( x2, j ) ] );
}
}
return out;
Expand All @@ -250,16 +280,16 @@ <h1><a href="index.html">All files</a> main.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-08-24T20:17:30.825Z
at 2024-01-27T00:39:53.388Z
</div>
<script src="prettify.js"></script>
<script src="../../../../prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
<script src="../../../../sorter.js"></script>
<script src="../../../../block-navigation.js"></script>
</body>
</html>

1 change: 1 addition & 0 deletions array/cartesian-product/coverage.ndjson
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[102,102,100,7,7,100,1,1,100,102,102,100,"8f7bed2a3081b387c37f7c848e86b521caecdc5a","2024-01-26 16:37:27 -0800"]
Loading

0 comments on commit 18f8166

Please sign in to comment.