| /plugin/aichat/vendor/bdelespierre/php-kmeans/src/KMeans/ |
| D | Cluster.php | 35 protected $points; variable in KMeans\\Cluster 40 $this->points = new \SplObjectStorage(); 45 $points = []; 46 foreach ($this->points as $point) { 47 $points[] = $point->toArray(); 52 'points' => $points, 62 $this->points->attach($point); 68 $this->points->detach($point); 72 public function attachAll(\SplObjectStorage $points): void argument 74 $this->points->addAll($points); [all …]
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/ |
| D | Length.php | 38 $points = substr($string, 0, $length - 1); 40 if (!is_numeric($points)) { 44 $points = (int)$points; 46 if ($points < 0) { 49 if ($points > 100) { 52 return ((string)$points) . '%';
|
| /plugin/geophp/vendor/funiq/geophp/src/Geometry/ |
| D | LineString.php | 27 * @param Point[] $points An array of at least two points with 31 public function __construct($points = []) argument 33 parent::__construct($points); 38 $points = []; 40 $points[] = Point::fromArray($point); 42 return new static($points); 165 $points = $this->getPoints(); 169 $lat1 = $points[$i]->y() * $rad; 170 $lat2 = $points[$i + 1]->y() * $rad; 171 $lon1 = $points[$i]->x() * $rad; [all …]
|
| D | Polygon.php | 85 $points = $exteriorRing->getComponents(); 87 $pointCount = count($points); 92 foreach ($points as $k => $p) { 94 $a = $a + ($p->x() * $points[$j]->y()) - ($p->y() * $points[$j]->x()); 156 $points = $ring->getPoints(); 157 $pointCount = count($points); 163 foreach ($points as $k => $point) { 165 $P = ($point->x() * $points[$j]->y()) - ($point->y() * $points[$j]->x()); 166 $x += ($point->x() + $points[$j]->x()) * $P; 167 $y += ($point->y() + $points[$j]->y()) * $P;
|
| D | MultiLineString.php | 71 $points = []; 74 $points[] = $line->startPoint(); 75 $points[] = $line->endPoint(); 78 return new MultiPoint($points);
|
| D | Collection.php | 236 $points = []; 238 static::getPointsRecursive($this, $points); 239 return $points; 244 * @param Point[] $points Result array as reference 246 private static function getPointsRecursive($geometry, &$points) argument 250 $points[] = $component; 252 static::getPointsRecursive($component, $points);
|
| D | MultiPoint.php | 44 $points = []; 46 $points[] = Point::fromArray($point); 48 return new static($points);
|
| /plugin/sketchcanvas/ |
| D | README.md | 49 points: '485,569:233,536' 51 points: '605,546:478,421' 53 points: '382,147:264,303' 56 points: '630,139:639,272' 59 points: '763,153:492,244' 63 points: '720,142:435,209' 67 points: '134,115:372,269' 71 points: '583,343' 74 points: '583,369' 78 points: '588,392' [all …]
|
| /plugin/authgooglesheets/vendor/google/apiclient-services/src/Contactcenterinsights/ |
| D | GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries.php | 47 public function setPoints($points) argument 49 $this->points = $points; 56 return $this->points;
|
| /plugin/socialshareprivacy2/SSP/scripts/ |
| D | jquery.socialshareprivacy.hackernews.js | 56 var points = $.fn.socialSharePrivacy.formatNumber(item.points); 58 $code.find(".points a").text(points).attr('title', 59 item.points === 1 ? 61 options.txt_n_points.replace(/{points}/g, points));
|
| /plugin/aichat/vendor/bdelespierre/php-kmeans/ |
| D | README.md | 25 // prepare 50 points of 2D space to be clustered 26 $points = [ 42 // add points to space 43 foreach ($points as $i => $coordinates) { 47 // cluster these 50 points in 3 clusters 50 // display the cluster centers and attached points 54 "Cluster %s [%d,%d]: %d points\n", 63 **Note:** the example is given with points of a 2D space but it will work with any dimention >1. 105 ### List all points of a space/cluster: 136 printf("Cluster %d [%d,%d]: %d points\n", $i, $cluster[0], $cluster[1], count($cluster));
|
| D | demo.php | 6 $points = [ variable 23 foreach ($points as $i => $coordinates) {
|
| /plugin/sketchcanvas/script/ |
| D | SketchCanvas.js | 388 var pts = selectobj[n].points; 567 for(var i = 0; i < obj.points.length; i++){ 568 var pt = obj.points[i]; 597 for(var i = 0; i < obj.points.length; i++){ 598 var pt = obj.points[i]; 666 if(pointMovingIdx + idx < 0 || pointMoving.points.length <= pointMovingIdx + idx) 668 var p1 = pointMoving.points[pointMovingIdx + idx]; 677 var dx = mx - pointMoving.points[pointMovingIdx].x; 678 var dy = my - pointMoving.points[pointMovingIdx].y; 679 pointMoving.points[pointMovingIdx].x = mx; [all …]
|
| /plugin/asciidocjs/node_modules/emoji-regex/ |
| D | README.md | 35 console.log(`Matched sequence ${ emoji } — code points: ${ [...emoji].length }`); 42 Matched sequence ⌚ — code points: 1 43 Matched sequence ⌚ — code points: 1 44 Matched sequence ↔️ — code points: 2 45 Matched sequence ↔️ — code points: 2 46 Matched sequence — code points: 1 47 Matched sequence — code points: 1 48 Matched sequence — code points: 2 49 Matched sequence — code points: 2
|
| /plugin/diagramsnet/lib/js/diagramly/ |
| D | DevTools.js | 42 if (geo.points != null) 44 tip += 'points(' + geo.points.length + ')='; 46 for (var i = 0; i < geo.points.length; i++) 48 tip += parseFloat(geo.points[i].x) + ',' + parseFloat(geo.points[i].y) + ';';
|
| /plugin/googlemap3/ |
| D | syntax.php | 85 $points = ''; 89 $points .= ",{lat:$lat, lng:$lng, msg: '$msg', txt: '$text'}"; 91 $points = ", overlay : [ ".substr($points,1)." ]"; 94 $js = "googleMapArray[googleMapArray.length] = {".$param.$points." }; ";
|
| /plugin/googlemaps/syntax/ |
| D | googlemap.php | 81 $points = ''; 85 $points .= ",{lat:$lat,lon:$lon,txt:'$text'}"; 87 $points = ", overlay : [ ".substr($points,1)." ]"; 90 $js = "googlemap[googlemap.length] = {".$param.$points." };";
|
| /plugin/authgooglesheets/vendor/google/apiclient-services/src/Monitoring/ |
| D | TimeSeries.php | 89 public function setPoints($points) argument 91 $this->points = $points; 98 return $this->points;
|
| /plugin/geophp/vendor/funiq/geophp/src/Adapter/ |
| D | GeoRSS.php | 123 $points = []; 127 $points[] = !empty($pointArray) ? $pointArray[0] : new Point(); 129 return $points; 150 $points = $this->getPointsFromCoordinates(trim($polygon->firstChild->nodeValue)); 151 $exteriorRing = new LineString($points); 185 $points = []; 189 $points[] = new Point($parts[1], $parts[0]); 191 return $points;
|
| D | GeoJSON.php | 134 $points = []; 136 $points[] = $this->arrayToPoint($componentArray); 138 return new LineString($points); 157 $points = []; 159 $points[] = $this->arrayToPoint($componentArray); 161 return new MultiPoint($points);
|
| D | WKT.php | 142 $points = []; 144 $points[] = $this->parsePoint($part); 146 return new LineString($points); 177 $points = []; 183 $points[] = $this->parsePoint(trim($part, ' ()')); 185 return new MultiPoint($points);
|
| /plugin/elasticsearch/vendor/ruflin/elastica/src/Query/ |
| D | GeoPolygon.php | 32 * @param array $points Points making up polygon 34 public function __construct(string $key, array $points) argument 37 $this->_points = $points;
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/ |
| D | Prime.php | 524 public function multiplyAddPoints(array $points, array $scalars) argument 526 $length = count($points); 528 foreach ($points as &$point) { 532 $wnd = [$this->getNAFPoints($points[0], 7)]; 533 $wndWidth = [isset($points[0]['nafwidth']) ? $points[0]['nafwidth'] : 7]; 535 $wnd[] = $this->getNAFPoints($points[$i], 1); 536 $wndWidth[] = isset($points[$i]['nafwidth']) ? $points[$i]['nafwidth'] : 1; 555 $points[$a], // 1 558 $points[$b] // 7 561 $comb[1] = $this->addPoint($points[$a], $points[$b]); [all …]
|
| /plugin/osm/ |
| D | script.js | 4 var points = this.readPoints(div); 44 if (isArray(points)) { 49 for(var p = 0; p < points.length; p++) { 50 var point = points[p];
|
| /plugin/a2s/ |
| D | ASCIIToSVG.php | 1941 private $points; variable in dokuwiki\\plugin\\a2s\\SVGPath 1953 $this->points = array(); 1975 $pPoints = count($this->points); 1977 $minY = $this->points[0]->y; 1978 $minX = $this->points[0]->x; 1981 if ($this->points[$i]->y <= $minY) { 1982 $minY = $this->points[$i]->y; 1984 if ($this->points[$i]->x < $minX) { 1985 $minX = $this->points[$i]->x; 1997 $startPoints = array_splice($this->points, $minIdx); [all …]
|