@allmaps/transform
Advanced tools
Comparing version 1.0.0-beta.40 to 1.0.0-beta.41
@@ -11,3 +11,4 @@ import { Matrix, pseudoInverse } from 'ml-matrix'; | ||
const pointsCountMinimum = ((order + 1) * (order + 2)) / 2; | ||
// If there are less control points then there are coefficients to be determined (for each dimension), the system can not be solved | ||
// If there are less control points than there are coefficients to be determined (for each dimension), | ||
// the system can not be solved | ||
super(sourcePoints, destinationPoints, ('polynomial' + order), pointsCountMinimum); | ||
@@ -14,0 +15,0 @@ this.order = order; |
{ | ||
"name": "@allmaps/transform", | ||
"version": "1.0.0-beta.40", | ||
"version": "1.0.0-beta.41", | ||
"contributors": [ | ||
@@ -45,3 +45,3 @@ { | ||
"dependencies": { | ||
"@allmaps/stdlib": "^1.0.0-beta.30", | ||
"@allmaps/stdlib": "^1.0.0-beta.31", | ||
"@turf/distance": "^6.3.0", | ||
@@ -52,3 +52,3 @@ "@turf/midpoint": "^6.3.0", | ||
"devDependencies": { | ||
"@allmaps/types": "^1.0.0-beta.14", | ||
"@allmaps/types": "^1.0.0-beta.15", | ||
"@types/eslint": "^8.56.0", | ||
@@ -73,5 +73,4 @@ "@types/geojson": "^7946.0.10", | ||
"preview": "vite preview", | ||
"pretest": "pnpm run build", | ||
"test": "NODE_ENV=test mocha", | ||
"preversion": "pnpm run types && pnpm run lint && pnpm test", | ||
"test": "NODE_ENV=test pnpm run build && mocha", | ||
"preversion": "pnpm run lint && pnpm test", | ||
"lint": "prettier --check src test && eslint src test --ext .js,.ts", | ||
@@ -85,3 +84,3 @@ "types": "tsc --noEmit", | ||
"license": "GPL-3.0-or-later", | ||
"gitHead": "2de04781b28e95d3484c3da4cf738861034c70b8" | ||
"gitHead": "ab61d681886fe219ddef44432b519f045ffb48b3" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
7529
1256510