We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9a7ecc + 20dcbdf commit b7fc244Copy full SHA for b7fc244
src/geom/voronoi/cell.js
@@ -1,6 +1,6 @@
1
import "../../math/abs";
2
3
-function d3_geom_voronoiCell(site) {
+function d3_geom_voronoiCell(site) {
4
this.site = site;
5
this.edges = [];
6
}
src/math/random.js
@@ -1,16 +1,16 @@
d3.random = {
- normal: function(µ, σ) {
+ normal: function(mu, sigma) {
var n = arguments.length;
- if (n < 2) σ = 1;
- if (n < 1) µ = 0;
+ if (n < 2) sigma = 1;
+ if (n < 1) mu = 0;
return function() {
7
var x, y, r;
8
do {
9
x = Math.random() * 2 - 1;
10
y = Math.random() * 2 - 1;
11
r = x * x + y * y;
12
} while (!r || r > 1);
13
- return µ + σ * x * Math.sqrt(-2 * Math.log(r) / r);
+ return mu + sigma * x * Math.sqrt(-2 * Math.log(r) / r);
14
};
15
},
16
logNormal: function() {
0 commit comments