@automovie/recovery 0.3.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -52
- package/lib/compilation/compileAutoMovieRecoveryImageLoft.d.ts +6 -13
- package/lib/compilation/compileAutoMovieRecoveryImageLoft.js +21 -22
- package/lib/compilation/compileAutoMovieRecoveryImageLoft.js.map +1 -1
- package/lib/compilation/compileAutoMovieRecoverySupportLoft.d.ts +6 -13
- package/lib/compilation/compileAutoMovieRecoverySupportLoft.js +19 -24
- package/lib/compilation/compileAutoMovieRecoverySupportLoft.js.map +1 -1
- package/lib/curves/AutoMovieRecoveryCompactApproximation.d.ts +2 -27
- package/lib/curves/AutoMovieRecoveryCompactApproximation.js +2 -27
- package/lib/curves/AutoMovieRecoveryCompactApproximation.js.map +1 -1
- package/lib/curves/AutoMovieRecoveryConicApproximation.d.ts +9 -62
- package/lib/curves/AutoMovieRecoveryConicApproximation.js +13 -70
- package/lib/curves/AutoMovieRecoveryConicApproximation.js.map +1 -1
- package/lib/curves/approximateAutoMovieRecoveryCompactCurves.d.ts +2 -9
- package/lib/curves/approximateAutoMovieRecoveryCompactCurves.js +18 -23
- package/lib/curves/approximateAutoMovieRecoveryCompactCurves.js.map +1 -1
- package/lib/curves/approximateAutoMovieRecoveryConicsAhn.d.ts +6 -13
- package/lib/curves/approximateAutoMovieRecoveryConicsAhn.js +11 -18
- package/lib/curves/approximateAutoMovieRecoveryConicsAhn.js.map +1 -1
- package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.d.ts +7 -14
- package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.js +29 -33
- package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.js.map +1 -1
- package/lib/curves/convertAutoMovieRecoveryCurve.d.ts +18 -0
- package/lib/curves/convertAutoMovieRecoveryCurve.js +31 -0
- package/lib/curves/convertAutoMovieRecoveryCurve.js.map +1 -0
- package/lib/curves/convertAutoMovieRecoveryCurves.d.ts +15 -18
- package/lib/curves/convertAutoMovieRecoveryCurves.js +42 -136
- package/lib/curves/convertAutoMovieRecoveryCurves.js.map +1 -1
- package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.d.ts +10 -17
- package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.js +10 -30
- package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.js.map +1 -1
- package/lib/curves/index.d.ts +2 -0
- package/lib/curves/index.js +2 -0
- package/lib/curves/index.js.map +1 -1
- package/lib/fitting/fitAutoMovieRecoveryImageLoft.d.ts +12 -19
- package/lib/fitting/fitAutoMovieRecoveryImageLoft.js +24 -39
- package/lib/fitting/fitAutoMovieRecoveryImageLoft.js.map +1 -1
- package/lib/fitting/fitAutoMovieRecoveryImageSupportLoft.d.ts +0 -8
- package/lib/fitting/fitAutoMovieRecoveryImageSupportLoft.js +2 -24
- package/lib/fitting/fitAutoMovieRecoveryImageSupportLoft.js.map +1 -1
- package/lib/internal/GhoshConicApproximationBalance.d.ts +2 -10
- package/lib/internal/GhoshConicApproximationBalance.js +6 -11
- package/lib/internal/GhoshConicApproximationBalance.js.map +1 -1
- package/lib/internal/GhoshConicApproximationDisplacement.d.ts +3 -11
- package/lib/internal/GhoshConicApproximationDisplacement.js +7 -13
- package/lib/internal/GhoshConicApproximationDisplacement.js.map +1 -1
- package/lib/internal/RecoveryAnnularChart.d.ts +5 -12
- package/lib/internal/RecoveryAnnularChart.js +15 -19
- package/lib/internal/RecoveryAnnularChart.js.map +1 -1
- package/lib/internal/RecoveryAtlasObservationChart.d.ts +2 -9
- package/lib/internal/RecoveryAtlasObservationChart.js +6 -11
- package/lib/internal/RecoveryAtlasObservationChart.js.map +1 -1
- package/lib/internal/RecoveryAtlasObservationCreases.d.ts +2 -9
- package/lib/internal/RecoveryAtlasObservationCreases.js +4 -11
- package/lib/internal/RecoveryAtlasObservationCreases.js.map +1 -1
- package/lib/internal/RecoveryAtlasObservationFeatures.d.ts +1 -11
- package/lib/internal/RecoveryAtlasObservationFeatures.js +1 -11
- package/lib/internal/RecoveryAtlasObservationFeatures.js.map +1 -1
- package/lib/internal/RecoveryAtlasObservationNormals.d.ts +1 -11
- package/lib/internal/RecoveryAtlasObservationNormals.js +1 -11
- package/lib/internal/RecoveryAtlasObservationNormals.js.map +1 -1
- package/lib/internal/RecoveryAtlasObservationPublish.d.ts +2 -9
- package/lib/internal/RecoveryAtlasObservationPublish.js +21 -15
- package/lib/internal/RecoveryAtlasObservationPublish.js.map +1 -1
- package/lib/internal/RecoveryAtlasObservationSource.d.ts +1 -11
- package/lib/internal/RecoveryAtlasObservationSource.js +6 -20
- package/lib/internal/RecoveryAtlasObservationSource.js.map +1 -1
- package/lib/internal/RecoveryBezierFit.d.ts +8 -19
- package/lib/internal/RecoveryBezierFit.js +25 -54
- package/lib/internal/RecoveryBezierFit.js.map +1 -1
- package/lib/internal/RecoveryChartAreaObservations.d.ts +12 -19
- package/lib/internal/RecoveryChartAreaObservations.js +38 -38
- package/lib/internal/RecoveryChartAreaObservations.js.map +1 -1
- package/lib/internal/RecoveryChartAssembly.d.ts +9 -16
- package/lib/internal/RecoveryChartAssembly.js +17 -17
- package/lib/internal/RecoveryChartAssembly.js.map +1 -1
- package/lib/internal/RecoveryChartBatch.d.ts +2 -10
- package/lib/internal/RecoveryChartBatch.js +2 -10
- package/lib/internal/RecoveryChartBatch.js.map +1 -1
- package/lib/internal/RecoveryChartBoundary.d.ts +6 -13
- package/lib/internal/RecoveryChartBoundary.js +14 -17
- package/lib/internal/RecoveryChartBoundary.js.map +1 -1
- package/lib/internal/RecoveryChartBoundaryNetwork.d.ts +13 -19
- package/lib/internal/RecoveryChartBoundaryNetwork.js +13 -24
- package/lib/internal/RecoveryChartBoundaryNetwork.js.map +1 -1
- package/lib/internal/RecoveryChartBoundaryNetworkAugment.d.ts +2 -9
- package/lib/internal/RecoveryChartBoundaryNetworkAugment.js +9 -21
- package/lib/internal/RecoveryChartBoundaryNetworkAugment.js.map +1 -1
- package/lib/internal/RecoveryChartBoundaryNetworkBindings.d.ts +1 -11
- package/lib/internal/RecoveryChartBoundaryNetworkBindings.js +5 -15
- package/lib/internal/RecoveryChartBoundaryNetworkBindings.js.map +1 -1
- package/lib/internal/RecoveryChartBoundaryNetworkRegistry.d.ts +2 -9
- package/lib/internal/RecoveryChartBoundaryNetworkRegistry.js +16 -32
- package/lib/internal/RecoveryChartBoundaryNetworkRegistry.js.map +1 -1
- package/lib/internal/RecoveryChartBoxSolve.d.ts +23 -28
- package/lib/internal/RecoveryChartBoxSolve.js +34 -66
- package/lib/internal/RecoveryChartBoxSolve.js.map +1 -1
- package/lib/internal/RecoveryChartCollar.d.ts +10 -18
- package/lib/internal/RecoveryChartCollar.js +14 -33
- package/lib/internal/RecoveryChartCollar.js.map +1 -1
- package/lib/internal/RecoveryChartControlRelations.d.ts +12 -19
- package/lib/internal/RecoveryChartControlRelations.js +19 -41
- package/lib/internal/RecoveryChartControlRelations.js.map +1 -1
- package/lib/internal/RecoveryChartFit.d.ts +7 -19
- package/lib/internal/RecoveryChartFit.js +7 -19
- package/lib/internal/RecoveryChartFit.js.map +1 -1
- package/lib/internal/RecoveryChartFitPrepare.d.ts +1 -11
- package/lib/internal/RecoveryChartFitPrepare.js +14 -20
- package/lib/internal/RecoveryChartFitPrepare.js.map +1 -1
- package/lib/internal/RecoveryChartFitReport.d.ts +2 -9
- package/lib/internal/RecoveryChartFitReport.js +3 -13
- package/lib/internal/RecoveryChartFitReport.js.map +1 -1
- package/lib/internal/RecoveryChartFitRows.d.ts +3 -11
- package/lib/internal/RecoveryChartFitRows.js +5 -17
- package/lib/internal/RecoveryChartFitRows.js.map +1 -1
- package/lib/internal/RecoveryChartFitSolve.d.ts +2 -9
- package/lib/internal/RecoveryChartFitSolve.js +6 -13
- package/lib/internal/RecoveryChartFitSolve.js.map +1 -1
- package/lib/internal/RecoveryChartFitSystem.d.ts +1 -11
- package/lib/internal/RecoveryChartFitSystem.js +3 -16
- package/lib/internal/RecoveryChartFitSystem.js.map +1 -1
- package/lib/internal/RecoveryChartLeafAssembly.d.ts +0 -8
- package/lib/internal/RecoveryChartLeafAssembly.js +12 -12
- package/lib/internal/RecoveryChartLeafAssembly.js.map +1 -1
- package/lib/internal/RecoveryChartLeafControls.d.ts +2 -10
- package/lib/internal/RecoveryChartLeafControls.js +5 -21
- package/lib/internal/RecoveryChartLeafControls.js.map +1 -1
- package/lib/internal/RecoveryChartLeafFit.d.ts +13 -19
- package/lib/internal/RecoveryChartLeafFit.js +31 -26
- package/lib/internal/RecoveryChartLeafFit.js.map +1 -1
- package/lib/internal/RecoveryChartMap.d.ts +4 -16
- package/lib/internal/RecoveryChartMap.js +15 -33
- package/lib/internal/RecoveryChartMap.js.map +1 -1
- package/lib/internal/RecoveryChartPhysicalJet.d.ts +11 -19
- package/lib/internal/RecoveryChartPhysicalJet.js +29 -40
- package/lib/internal/RecoveryChartPhysicalJet.js.map +1 -1
- package/lib/internal/RecoveryChartReachableBox.d.ts +4 -11
- package/lib/internal/RecoveryChartReachableBox.js +9 -23
- package/lib/internal/RecoveryChartReachableBox.js.map +1 -1
- package/lib/internal/RecoveryChartRefinementClosure.d.ts +14 -10
- package/lib/internal/RecoveryChartRefinementClosure.js +18 -27
- package/lib/internal/RecoveryChartRefinementClosure.js.map +1 -1
- package/lib/internal/RecoveryChartSurface.d.ts +16 -27
- package/lib/internal/RecoveryChartSurface.js +20 -36
- package/lib/internal/RecoveryChartSurface.js.map +1 -1
- package/lib/internal/RecoveryDiskChart.d.ts +12 -19
- package/lib/internal/RecoveryDiskChart.js +26 -31
- package/lib/internal/RecoveryDiskChart.js.map +1 -1
- package/lib/internal/RecoveryEventRegion.d.ts +12 -18
- package/lib/internal/RecoveryEventRegion.js +12 -18
- package/lib/internal/RecoveryEventRegion.js.map +1 -1
- package/lib/internal/RecoveryEventRegionCells.d.ts +1 -11
- package/lib/internal/RecoveryEventRegionCells.js +4 -16
- package/lib/internal/RecoveryEventRegionCells.js.map +1 -1
- package/lib/internal/RecoveryEventRegionPorts.d.ts +2 -9
- package/lib/internal/RecoveryEventRegionPorts.js +6 -18
- package/lib/internal/RecoveryEventRegionPorts.js.map +1 -1
- package/lib/internal/RecoveryEventRegionSource.d.ts +1 -11
- package/lib/internal/RecoveryEventRegionSource.js +2 -15
- package/lib/internal/RecoveryEventRegionSource.js.map +1 -1
- package/lib/internal/RecoveryEventRegionTopology.d.ts +2 -9
- package/lib/internal/RecoveryEventRegionTopology.js +7 -12
- package/lib/internal/RecoveryEventRegionTopology.js.map +1 -1
- package/lib/internal/RecoveryFeasibleCapacityError.d.ts +0 -5
- package/lib/internal/RecoveryFeasibleCapacityError.js +0 -5
- package/lib/internal/RecoveryFeasibleCapacityError.js.map +1 -1
- package/lib/internal/RecoveryFeatureChartCuts.d.ts +15 -22
- package/lib/internal/RecoveryFeatureChartCuts.js +30 -34
- package/lib/internal/RecoveryFeatureChartCuts.js.map +1 -1
- package/lib/internal/RecoveryFeatureChartCutsFans.d.ts +1 -11
- package/lib/internal/RecoveryFeatureChartCutsFans.js +1 -11
- package/lib/internal/RecoveryFeatureChartCutsFans.js.map +1 -1
- package/lib/internal/RecoveryFeatureChartCutsSeams.d.ts +1 -11
- package/lib/internal/RecoveryFeatureChartCutsSeams.js +4 -13
- package/lib/internal/RecoveryFeatureChartCutsSeams.js.map +1 -1
- package/lib/internal/RecoveryFeatureChartCutsSubdivide.d.ts +2 -9
- package/lib/internal/RecoveryFeatureChartCutsSubdivide.js +13 -14
- package/lib/internal/RecoveryFeatureChartCutsSubdivide.js.map +1 -1
- package/lib/internal/RecoveryFeatureChartCutsTopology.d.ts +2 -9
- package/lib/internal/RecoveryFeatureChartCutsTopology.js +6 -13
- package/lib/internal/RecoveryFeatureChartCutsTopology.js.map +1 -1
- package/lib/internal/RecoveryFeatureChartPreparation.d.ts +3 -10
- package/lib/internal/RecoveryFeatureChartPreparation.js +4 -11
- package/lib/internal/RecoveryFeatureChartPreparation.js.map +1 -1
- package/lib/internal/RecoveryMultiBoundaryChart.d.ts +7 -15
- package/lib/internal/RecoveryMultiBoundaryChart.js +17 -24
- package/lib/internal/RecoveryMultiBoundaryChart.js.map +1 -1
- package/lib/internal/RecoveryOpenSlabGraph.d.ts +7 -21
- package/lib/internal/RecoveryOpenSlabGraph.js +13 -40
- package/lib/internal/RecoveryOpenSlabGraph.js.map +1 -1
- package/lib/internal/RecoveryScalarIndex.d.ts +5 -19
- package/lib/internal/RecoveryScalarIndex.js +8 -24
- package/lib/internal/RecoveryScalarIndex.js.map +1 -1
- package/lib/internal/RecoverySlabGraph.d.ts +12 -30
- package/lib/internal/RecoverySlabGraph.js +16 -42
- package/lib/internal/RecoverySlabGraph.js.map +1 -1
- package/lib/internal/admitRecoveryCameraMap.d.ts +4 -11
- package/lib/internal/admitRecoveryCameraMap.js +7 -91
- package/lib/internal/admitRecoveryCameraMap.js.map +1 -1
- package/lib/internal/admitRecoveryCameraPair.d.ts +4 -12
- package/lib/internal/admitRecoveryCameraPair.js +6 -153
- package/lib/internal/admitRecoveryCameraPair.js.map +1 -1
- package/lib/internal/admitRecoveryCameraScene.d.ts +5 -9
- package/lib/internal/admitRecoveryCameraScene.js +9 -68
- package/lib/internal/admitRecoveryCameraScene.js.map +1 -1
- package/lib/internal/admitRecoveryMapCurvature.d.ts +1 -11
- package/lib/internal/admitRecoveryMapCurvature.js +4 -17
- package/lib/internal/admitRecoveryMapCurvature.js.map +1 -1
- package/lib/internal/analyzeRecoveryMultiBoundarySurface.d.ts +1 -11
- package/lib/internal/analyzeRecoveryMultiBoundarySurface.js +4 -16
- package/lib/internal/analyzeRecoveryMultiBoundarySurface.js.map +1 -1
- package/lib/internal/assembleRecoveryMapCurvature.d.ts +1 -11
- package/lib/internal/assembleRecoveryMapCurvature.js +13 -30
- package/lib/internal/assembleRecoveryMapCurvature.js.map +1 -1
- package/lib/internal/assertRecoveryImageChart.d.ts +0 -8
- package/lib/internal/assertRecoveryImageChart.js +3 -16
- package/lib/internal/assertRecoveryImageChart.js.map +1 -1
- package/lib/internal/assertRecoverySceneLinearRetention.d.ts +2 -10
- package/lib/internal/assertRecoverySceneLinearRetention.js +3 -11
- package/lib/internal/assertRecoverySceneLinearRetention.js.map +1 -1
- package/lib/internal/bindRecoveryOrderedFits.d.ts +6 -13
- package/lib/internal/bindRecoveryOrderedFits.js +15 -27
- package/lib/internal/bindRecoveryOrderedFits.js.map +1 -1
- package/lib/internal/bindRecoverySavedSectionCuts.d.ts +2 -9
- package/lib/internal/bindRecoverySavedSectionCuts.js +5 -19
- package/lib/internal/bindRecoverySavedSectionCuts.js.map +1 -1
- package/lib/internal/calibrateRecoveryEpipolarMatrix.d.ts +2 -10
- package/lib/internal/calibrateRecoveryEpipolarMatrix.js +5 -13
- package/lib/internal/calibrateRecoveryEpipolarMatrix.js.map +1 -1
- package/lib/internal/chooseRecoverySqpTightening.d.ts +1 -11
- package/lib/internal/chooseRecoverySqpTightening.js +15 -36
- package/lib/internal/chooseRecoverySqpTightening.js.map +1 -1
- package/lib/internal/collectRecoveryContourFaceSupport.d.ts +3 -9
- package/lib/internal/collectRecoveryContourFaceSupport.js +3 -9
- package/lib/internal/collectRecoveryContourFaceSupport.js.map +1 -1
- package/lib/internal/collectRecoverySceneSupport.d.ts +2 -9
- package/lib/internal/collectRecoverySceneSupport.js +2 -9
- package/lib/internal/collectRecoverySceneSupport.js.map +1 -1
- package/lib/internal/completeRecoverySceneCheckpoint.d.ts +2 -9
- package/lib/internal/completeRecoverySceneCheckpoint.js +2 -9
- package/lib/internal/completeRecoverySceneCheckpoint.js.map +1 -1
- package/lib/internal/copyRecoveryUntiltedEstimate.d.ts +1 -11
- package/lib/internal/copyRecoveryUntiltedEstimate.js +4 -23
- package/lib/internal/copyRecoveryUntiltedEstimate.js.map +1 -1
- package/lib/internal/createRecoveryCameraChart.d.ts +5 -12
- package/lib/internal/createRecoveryCameraChart.js +6 -15
- package/lib/internal/createRecoveryCameraChart.js.map +1 -1
- package/lib/internal/createRecoveryCameraEstimate.d.ts +3 -10
- package/lib/internal/createRecoveryCameraEstimate.js +3 -12
- package/lib/internal/createRecoveryCameraEstimate.js.map +1 -1
- package/lib/internal/createRecoveryCameraMap.d.ts +2 -9
- package/lib/internal/createRecoveryCameraMap.js +5 -13
- package/lib/internal/createRecoveryCameraMap.js.map +1 -1
- package/lib/internal/createRecoveryCameraScene.d.ts +2 -10
- package/lib/internal/createRecoveryCameraScene.js +2 -10
- package/lib/internal/createRecoveryCameraScene.js.map +1 -1
- package/lib/internal/createRecoveryFeasibleDiagnostics.d.ts +0 -8
- package/lib/internal/createRecoveryFeasibleDiagnostics.js +0 -8
- package/lib/internal/createRecoveryFeasibleDiagnostics.js.map +1 -1
- package/lib/internal/createRecoveryFeasibleSqpArc.d.ts +2 -10
- package/lib/internal/createRecoveryFeasibleSqpArc.js +25 -51
- package/lib/internal/createRecoveryFeasibleSqpArc.js.map +1 -1
- package/lib/internal/createRecoveryImageDirectionSolver.d.ts +2 -10
- package/lib/internal/createRecoveryImageDirectionSolver.js +4 -16
- package/lib/internal/createRecoveryImageDirectionSolver.js.map +1 -1
- package/lib/internal/createRecoveryMapMetric.d.ts +0 -8
- package/lib/internal/createRecoveryMapMetric.js +0 -8
- package/lib/internal/createRecoveryMapMetric.js.map +1 -1
- package/lib/internal/createRecoveryMapTangent.d.ts +1 -11
- package/lib/internal/createRecoveryMapTangent.js +2 -12
- package/lib/internal/createRecoveryMapTangent.js.map +1 -1
- package/lib/internal/createRecoveryMapTriangularMetric.d.ts +1 -11
- package/lib/internal/createRecoveryMapTriangularMetric.js +10 -22
- package/lib/internal/createRecoveryMapTriangularMetric.js.map +1 -1
- package/lib/internal/createRecoveryObservationPolicy.d.ts +5 -12
- package/lib/internal/createRecoveryObservationPolicy.js +5 -12
- package/lib/internal/createRecoveryObservationPolicy.js.map +1 -1
- package/lib/internal/createRecoveryPoseModel.d.ts +6 -14
- package/lib/internal/createRecoveryPoseModel.js +7 -15
- package/lib/internal/createRecoveryPoseModel.js.map +1 -1
- package/lib/internal/createRecoverySceneSeedReportObserver.d.ts +2 -10
- package/lib/internal/createRecoverySceneSeedReportObserver.js +2 -10
- package/lib/internal/createRecoverySceneSeedReportObserver.js.map +1 -1
- package/lib/internal/describeRecoveryDomains.d.ts +5 -12
- package/lib/internal/describeRecoveryDomains.js +19 -58
- package/lib/internal/describeRecoveryDomains.js.map +1 -1
- package/lib/internal/describeRecoveryNamedDomains.d.ts +5 -12
- package/lib/internal/describeRecoveryNamedDomains.js +72 -107
- package/lib/internal/describeRecoveryNamedDomains.js.map +1 -1
- package/lib/internal/describeRecoveryOpenRun.d.ts +3 -11
- package/lib/internal/describeRecoveryOpenRun.js +10 -41
- package/lib/internal/describeRecoveryOpenRun.js.map +1 -1
- package/lib/internal/describeRecoverySceneRegistration.d.ts +1 -11
- package/lib/internal/describeRecoverySceneRegistration.js +1 -11
- package/lib/internal/describeRecoverySceneRegistration.js.map +1 -1
- package/lib/internal/differentiateRecoveryMapProjection.d.ts +2 -10
- package/lib/internal/differentiateRecoveryMapProjection.js +17 -23
- package/lib/internal/differentiateRecoveryMapProjection.js.map +1 -1
- package/lib/internal/differentiateRecoveryMapTangent.d.ts +3 -11
- package/lib/internal/differentiateRecoveryMapTangent.js +9 -25
- package/lib/internal/differentiateRecoveryMapTangent.js.map +1 -1
- package/lib/internal/encodeRecoveryDiagnosticNumber.d.ts +1 -11
- package/lib/internal/encodeRecoveryDiagnosticNumber.js +2 -14
- package/lib/internal/encodeRecoveryDiagnosticNumber.js.map +1 -1
- package/lib/internal/evaluateRecoveryScenePoint.d.ts +3 -11
- package/lib/internal/evaluateRecoveryScenePoint.js +7 -15
- package/lib/internal/evaluateRecoveryScenePoint.js.map +1 -1
- package/lib/internal/extractRecoveryImageFeatures.d.ts +5 -13
- package/lib/internal/extractRecoveryImageFeatures.js +7 -17
- package/lib/internal/extractRecoveryImageFeatures.js.map +1 -1
- package/lib/internal/extractRecoveryMeshSections.d.ts +8 -13
- package/lib/internal/extractRecoveryMeshSections.js +22 -24
- package/lib/internal/extractRecoveryMeshSections.js.map +1 -1
- package/lib/internal/factorRecoveryMapCurvature.d.ts +1 -11
- package/lib/internal/factorRecoveryMapCurvature.js +8 -24
- package/lib/internal/factorRecoveryMapCurvature.js.map +1 -1
- package/lib/internal/factorRecoveryMapDesign.d.ts +1 -11
- package/lib/internal/factorRecoveryMapDesign.js +3 -14
- package/lib/internal/factorRecoveryMapDesign.js.map +1 -1
- package/lib/internal/factorRecoveryMapMetric.d.ts +2 -10
- package/lib/internal/factorRecoveryMapMetric.js +3 -13
- package/lib/internal/factorRecoveryMapMetric.js.map +1 -1
- package/lib/internal/filterRecoveryImageGaussian.d.ts +0 -8
- package/lib/internal/filterRecoveryImageGaussian.js +0 -8
- package/lib/internal/filterRecoveryImageGaussian.js.map +1 -1
- package/lib/internal/fitRecoveryEpipolarConsensus.d.ts +4 -12
- package/lib/internal/fitRecoveryEpipolarConsensus.js +5 -13
- package/lib/internal/fitRecoveryEpipolarConsensus.js.map +1 -1
- package/lib/internal/fitRecoveryEpipolarMatrix.d.ts +0 -8
- package/lib/internal/fitRecoveryEpipolarMatrix.js +2 -10
- package/lib/internal/fitRecoveryEpipolarMatrix.js.map +1 -1
- package/lib/internal/fitRecoveryHomography.d.ts +2 -9
- package/lib/internal/fitRecoveryHomography.js +4 -13
- package/lib/internal/fitRecoveryHomography.js.map +1 -1
- package/lib/internal/fitRecoveryHomographyConsensus.d.ts +2 -10
- package/lib/internal/fitRecoveryHomographyConsensus.js +3 -13
- package/lib/internal/fitRecoveryHomographyConsensus.js.map +1 -1
- package/lib/internal/fitRecoveryImageProfiles.d.ts +3 -10
- package/lib/internal/fitRecoveryImageProfiles.js +3 -10
- package/lib/internal/fitRecoveryImageProfiles.js.map +1 -1
- package/lib/internal/fitRecoveryResectionConsensus.d.ts +3 -11
- package/lib/internal/fitRecoveryResectionConsensus.js +5 -13
- package/lib/internal/fitRecoveryResectionConsensus.js.map +1 -1
- package/lib/internal/fitRecoveryResectionDesign.d.ts +6 -14
- package/lib/internal/fitRecoveryResectionDesign.js +16 -22
- package/lib/internal/fitRecoveryResectionDesign.js.map +1 -1
- package/lib/internal/fitRecoveryScalarProfiles.d.ts +6 -13
- package/lib/internal/fitRecoveryScalarProfiles.js +11 -23
- package/lib/internal/fitRecoveryScalarProfiles.js.map +1 -1
- package/lib/internal/growRecoverySceneLandmarks.d.ts +0 -8
- package/lib/internal/growRecoverySceneLandmarks.js +0 -8
- package/lib/internal/growRecoverySceneLandmarks.js.map +1 -1
- package/lib/internal/index.d.ts +0 -2
- package/lib/internal/index.js +0 -2
- package/lib/internal/index.js.map +1 -1
- package/lib/internal/initializeRecoverySceneSeed.d.ts +4 -11
- package/lib/internal/initializeRecoverySceneSeed.js +4 -11
- package/lib/internal/initializeRecoverySceneSeed.js.map +1 -1
- package/lib/internal/isRecoveryCameraNumericalRefusal.d.ts +0 -8
- package/lib/internal/isRecoveryCameraNumericalRefusal.js +0 -8
- package/lib/internal/isRecoveryCameraNumericalRefusal.js.map +1 -1
- package/lib/internal/isRecoveryMapIdentityGauge.d.ts +1 -11
- package/lib/internal/isRecoveryMapIdentityGauge.js +1 -11
- package/lib/internal/isRecoveryMapIdentityGauge.js.map +1 -1
- package/lib/internal/linearizeRecoveryFeasibleMap.d.ts +0 -8
- package/lib/internal/linearizeRecoveryFeasibleMap.js +0 -8
- package/lib/internal/linearizeRecoveryFeasibleMap.js.map +1 -1
- package/lib/internal/linearizeRecoveryPoseResiduals.d.ts +4 -11
- package/lib/internal/linearizeRecoveryPoseResiduals.js +7 -15
- package/lib/internal/linearizeRecoveryPoseResiduals.js.map +1 -1
- package/lib/internal/linkRecoveryCameraTracks.d.ts +0 -8
- package/lib/internal/linkRecoveryCameraTracks.js +0 -8
- package/lib/internal/linkRecoveryCameraTracks.js.map +1 -1
- package/lib/internal/matchRecoveryImageFeatures.d.ts +0 -8
- package/lib/internal/matchRecoveryImageFeatures.js +1 -9
- package/lib/internal/matchRecoveryImageFeatures.js.map +1 -1
- package/lib/internal/measureRecoveryEpipolarErrors.d.ts +4 -12
- package/lib/internal/measureRecoveryEpipolarErrors.js +9 -17
- package/lib/internal/measureRecoveryEpipolarErrors.js.map +1 -1
- package/lib/internal/measureRecoveryFeasibleArithmetic.d.ts +2 -10
- package/lib/internal/measureRecoveryFeasibleArithmetic.js +2 -10
- package/lib/internal/measureRecoveryFeasibleArithmetic.js.map +1 -1
- package/lib/internal/measureRecoveryHomographyErrors.d.ts +0 -8
- package/lib/internal/measureRecoveryHomographyErrors.js +1 -9
- package/lib/internal/measureRecoveryHomographyErrors.js.map +1 -1
- package/lib/internal/mesh-observations/critical.d.ts +11 -17
- package/lib/internal/mesh-observations/critical.js +16 -25
- package/lib/internal/mesh-observations/critical.js.map +1 -1
- package/lib/internal/mesh-observations/cross.d.ts +1 -11
- package/lib/internal/mesh-observations/cross.js +1 -11
- package/lib/internal/mesh-observations/cross.js.map +1 -1
- package/lib/internal/mesh-observations/cutExact.d.ts +23 -33
- package/lib/internal/mesh-observations/cutExact.js +31 -51
- package/lib/internal/mesh-observations/cutExact.js.map +1 -1
- package/lib/internal/mesh-observations/dist.d.ts +1 -11
- package/lib/internal/mesh-observations/dist.js +1 -11
- package/lib/internal/mesh-observations/dist.js.map +1 -1
- package/lib/internal/mesh-observations/dot.d.ts +1 -11
- package/lib/internal/mesh-observations/dot.js +1 -11
- package/lib/internal/mesh-observations/dot.js.map +1 -1
- package/lib/internal/mesh-observations/len.d.ts +1 -11
- package/lib/internal/mesh-observations/len.js +1 -11
- package/lib/internal/mesh-observations/len.js.map +1 -1
- package/lib/internal/mesh-observations/mul.d.ts +1 -11
- package/lib/internal/mesh-observations/mul.js +1 -11
- package/lib/internal/mesh-observations/mul.js.map +1 -1
- package/lib/internal/mesh-observations/norm.d.ts +2 -9
- package/lib/internal/mesh-observations/norm.js +2 -9
- package/lib/internal/mesh-observations/norm.js.map +1 -1
- package/lib/internal/mesh-observations/planeFrame.d.ts +2 -9
- package/lib/internal/mesh-observations/planeFrame.js +2 -9
- package/lib/internal/mesh-observations/planeFrame.js.map +1 -1
- package/lib/internal/mesh-observations/signedArea.d.ts +2 -9
- package/lib/internal/mesh-observations/signedArea.js +2 -9
- package/lib/internal/mesh-observations/signedArea.js.map +1 -1
- package/lib/internal/mesh-observations/sourceOrientation.d.ts +4 -11
- package/lib/internal/mesh-observations/sourceOrientation.js +4 -11
- package/lib/internal/mesh-observations/sourceOrientation.js.map +1 -1
- package/lib/internal/mesh-observations/sub.d.ts +1 -11
- package/lib/internal/mesh-observations/sub.js +1 -11
- package/lib/internal/mesh-observations/sub.js.map +1 -1
- package/lib/internal/mesh-observations/to2.d.ts +2 -9
- package/lib/internal/mesh-observations/to2.js +2 -9
- package/lib/internal/mesh-observations/to2.js.map +1 -1
- package/lib/internal/mixRecoveryFeasibleSqpStep.d.ts +3 -11
- package/lib/internal/mixRecoveryFeasibleSqpStep.js +10 -15
- package/lib/internal/mixRecoveryFeasibleSqpStep.js.map +1 -1
- package/lib/internal/normalizeRecoveryCourse.d.ts +4 -11
- package/lib/internal/normalizeRecoveryCourse.js +6 -13
- package/lib/internal/normalizeRecoveryCourse.js.map +1 -1
- package/lib/internal/normalizeRecoveryImagePoints.d.ts +0 -8
- package/lib/internal/normalizeRecoveryImagePoints.js +2 -13
- package/lib/internal/normalizeRecoveryImagePoints.js.map +1 -1
- package/lib/internal/observeRecoveryCameraSet.d.ts +2 -9
- package/lib/internal/observeRecoveryCameraSet.js +3 -12
- package/lib/internal/observeRecoveryCameraSet.js.map +1 -1
- package/lib/internal/observeRecoveryOrderedCuts.d.ts +4 -10
- package/lib/internal/observeRecoveryOrderedCuts.js +11 -18
- package/lib/internal/observeRecoveryOrderedCuts.js.map +1 -1
- package/lib/internal/observeRecoverySection.d.ts +4 -9
- package/lib/internal/observeRecoverySection.js +8 -12
- package/lib/internal/observeRecoverySection.js.map +1 -1
- package/lib/internal/observeRecoverySourceSlabs.d.ts +8 -9
- package/lib/internal/observeRecoverySourceSlabs.js +8 -9
- package/lib/internal/observeRecoverySourceSlabs.js.map +1 -1
- package/lib/internal/observeRecoverySourceTerminals.d.ts +8 -9
- package/lib/internal/observeRecoverySourceTerminals.js +10 -11
- package/lib/internal/observeRecoverySourceTerminals.js.map +1 -1
- package/lib/internal/predictRecoveryMapDecrease.d.ts +0 -8
- package/lib/internal/predictRecoveryMapDecrease.js +5 -16
- package/lib/internal/predictRecoveryMapDecrease.js.map +1 -1
- package/lib/internal/prepareRecoveryChartLeafBoundary.d.ts +1 -11
- package/lib/internal/prepareRecoveryChartLeafBoundary.js +1 -11
- package/lib/internal/prepareRecoveryChartLeafBoundary.js.map +1 -1
- package/lib/internal/prepareRecoveryCheckpointReportCapacity.d.ts +1 -11
- package/lib/internal/prepareRecoveryCheckpointReportCapacity.js +1 -11
- package/lib/internal/prepareRecoveryCheckpointReportCapacity.js.map +1 -1
- package/lib/internal/prepareRecoveryCriticalBrackets.d.ts +1 -11
- package/lib/internal/prepareRecoveryCriticalBrackets.js +1 -11
- package/lib/internal/prepareRecoveryCriticalBrackets.js.map +1 -1
- package/lib/internal/prepareRecoveryDiskBoundary.d.ts +1 -11
- package/lib/internal/prepareRecoveryDiskBoundary.js +3 -13
- package/lib/internal/prepareRecoveryDiskBoundary.js.map +1 -1
- package/lib/internal/prepareRecoveryFeasibleMapReporting.d.ts +1 -11
- package/lib/internal/prepareRecoveryFeasibleMapReporting.js +2 -15
- package/lib/internal/prepareRecoveryFeasibleMapReporting.js.map +1 -1
- package/lib/internal/prepareRecoveryFeasibleMapWork.d.ts +1 -11
- package/lib/internal/prepareRecoveryFeasibleMapWork.js +4 -21
- package/lib/internal/prepareRecoveryFeasibleMapWork.js.map +1 -1
- package/lib/internal/prepareRecoveryFeasibleReportCapacity.d.ts +1 -11
- package/lib/internal/prepareRecoveryFeasibleReportCapacity.js +2 -18
- package/lib/internal/prepareRecoveryFeasibleReportCapacity.js.map +1 -1
- package/lib/internal/prepareRecoveryImageSupports.d.ts +2 -9
- package/lib/internal/prepareRecoveryImageSupports.js +5 -29
- package/lib/internal/prepareRecoveryImageSupports.js.map +1 -1
- package/lib/internal/prepareRecoveryLocalContinuation.d.ts +2 -9
- package/lib/internal/prepareRecoveryLocalContinuation.js +3 -14
- package/lib/internal/prepareRecoveryLocalContinuation.js.map +1 -1
- package/lib/internal/prepareRecoveryMapJointBlocks.d.ts +1 -11
- package/lib/internal/prepareRecoveryMapJointBlocks.js +6 -20
- package/lib/internal/prepareRecoveryMapJointBlocks.js.map +1 -1
- package/lib/internal/prepareRecoveryMeshIncidence.d.ts +1 -11
- package/lib/internal/prepareRecoveryMeshIncidence.js +1 -11
- package/lib/internal/prepareRecoveryMeshIncidence.js.map +1 -1
- package/lib/internal/prepareRecoveryOpenRuns.d.ts +1 -11
- package/lib/internal/prepareRecoveryOpenRuns.js +4 -20
- package/lib/internal/prepareRecoveryOpenRuns.js.map +1 -1
- package/lib/internal/prepareRecoveryOpenSlabGraph.d.ts +2 -9
- package/lib/internal/prepareRecoveryOpenSlabGraph.js +8 -28
- package/lib/internal/prepareRecoveryOpenSlabGraph.js.map +1 -1
- package/lib/internal/prepareRecoverySceneFeasibleRouting.d.ts +1 -11
- package/lib/internal/prepareRecoverySceneFeasibleRouting.js +3 -26
- package/lib/internal/prepareRecoverySceneFeasibleRouting.js.map +1 -1
- package/lib/internal/prepareRecoverySceneReportCapacity.d.ts +1 -11
- package/lib/internal/prepareRecoverySceneReportCapacity.js +1 -11
- package/lib/internal/prepareRecoverySceneReportCapacity.js.map +1 -1
- package/lib/internal/projectRecoveryMapPoint.d.ts +0 -8
- package/lib/internal/projectRecoveryMapPoint.js +8 -12
- package/lib/internal/projectRecoveryMapPoint.js.map +1 -1
- package/lib/internal/readRecoveryEventCurveControls.d.ts +3 -10
- package/lib/internal/readRecoveryEventCurveControls.js +5 -14
- package/lib/internal/readRecoveryEventCurveControls.js.map +1 -1
- package/lib/internal/readRecoveryEventCurveParent.d.ts +0 -8
- package/lib/internal/readRecoveryEventCurveParent.js +3 -14
- package/lib/internal/readRecoveryEventCurveParent.js.map +1 -1
- package/lib/internal/rebindRecoveryCurveAuthorities.d.ts +19 -14
- package/lib/internal/rebindRecoveryCurveAuthorities.js +117 -199
- package/lib/internal/rebindRecoveryCurveAuthorities.js.map +1 -1
- package/lib/internal/reconstructRecovery.d.ts +10 -16
- package/lib/internal/reconstructRecovery.js +17 -25
- package/lib/internal/reconstructRecovery.js.map +1 -1
- package/lib/internal/reconstructRecoveryOpen.d.ts +4 -11
- package/lib/internal/reconstructRecoveryOpen.js +8 -20
- package/lib/internal/reconstructRecoveryOpen.js.map +1 -1
- package/lib/internal/refineRecoveryCameraMap.d.ts +7 -15
- package/lib/internal/refineRecoveryCameraMap.js +14 -23
- package/lib/internal/refineRecoveryCameraMap.js.map +1 -1
- package/lib/internal/refineRecoveryCameraMapFeasible.d.ts +6 -14
- package/lib/internal/refineRecoveryCameraMapFeasible.js +14 -23
- package/lib/internal/refineRecoveryCameraMapFeasible.js.map +1 -1
- package/lib/internal/refineRecoveryCameraPose.d.ts +5 -12
- package/lib/internal/refineRecoveryCameraPose.js +8 -20
- package/lib/internal/refineRecoveryCameraPose.js.map +1 -1
- package/lib/internal/refineRecoveryChartBoundaryChords.d.ts +8 -15
- package/lib/internal/refineRecoveryChartBoundaryChords.js +9 -16
- package/lib/internal/refineRecoveryChartBoundaryChords.js.map +1 -1
- package/lib/internal/refineRecoveryEpipolarModel.d.ts +0 -8
- package/lib/internal/refineRecoveryEpipolarModel.js +0 -8
- package/lib/internal/refineRecoveryEpipolarModel.js.map +1 -1
- package/lib/internal/refineRecoveryFeasibleState.d.ts +12 -19
- package/lib/internal/refineRecoveryFeasibleState.js +16 -36
- package/lib/internal/refineRecoveryFeasibleState.js.map +1 -1
- package/lib/internal/refineRecoveryResection.d.ts +2 -10
- package/lib/internal/refineRecoveryResection.js +3 -13
- package/lib/internal/refineRecoveryResection.js.map +1 -1
- package/lib/internal/requiredRecoveryCameraTrials.d.ts +3 -10
- package/lib/internal/requiredRecoveryCameraTrials.js +7 -14
- package/lib/internal/requiredRecoveryCameraTrials.js.map +1 -1
- package/lib/internal/restoreRecoveryCurveBasis.d.ts +8 -13
- package/lib/internal/restoreRecoveryCurveBasis.js +7 -29
- package/lib/internal/restoreRecoveryCurveBasis.js.map +1 -1
- package/lib/internal/sampleRecoveryCameraIndices.d.ts +3 -11
- package/lib/internal/sampleRecoveryCameraIndices.js +4 -13
- package/lib/internal/sampleRecoveryCameraIndices.js.map +1 -1
- package/lib/internal/scoreRecoveryCameraResiduals.d.ts +3 -10
- package/lib/internal/scoreRecoveryCameraResiduals.js +5 -14
- package/lib/internal/scoreRecoveryCameraResiduals.js.map +1 -1
- package/lib/internal/selectRecoveryCameraPose.d.ts +3 -10
- package/lib/internal/selectRecoveryCameraPose.js +3 -10
- package/lib/internal/selectRecoveryCameraPose.js.map +1 -1
- package/lib/internal/selectRecoveryFeasibleTrial.d.ts +5 -12
- package/lib/internal/selectRecoveryFeasibleTrial.js +8 -23
- package/lib/internal/selectRecoveryFeasibleTrial.js.map +1 -1
- package/lib/internal/selectRecoveryScalarIntervals.d.ts +2 -9
- package/lib/internal/selectRecoveryScalarIntervals.js +5 -15
- package/lib/internal/selectRecoveryScalarIntervals.js.map +1 -1
- package/lib/internal/solveRecoveryFeasibleDirection.d.ts +2 -10
- package/lib/internal/solveRecoveryFeasibleDirection.js +12 -20
- package/lib/internal/solveRecoveryFeasibleDirection.js.map +1 -1
- package/lib/internal/solveRecoveryMapDesign.d.ts +0 -8
- package/lib/internal/solveRecoveryMapDesign.js +1 -11
- package/lib/internal/solveRecoveryMapDesign.js.map +1 -1
- package/lib/internal/solveRecoveryMapJointStep.d.ts +5 -13
- package/lib/internal/solveRecoveryMapJointStep.js +11 -17
- package/lib/internal/solveRecoveryMapJointStep.js.map +1 -1
- package/lib/internal/spendRecoverySceneWork.d.ts +1 -11
- package/lib/internal/spendRecoverySceneWork.js +2 -14
- package/lib/internal/spendRecoverySceneWork.js.map +1 -1
- package/lib/internal/stepRecoveryMapPose.d.ts +1 -11
- package/lib/internal/stepRecoveryMapPose.js +2 -14
- package/lib/internal/stepRecoveryMapPose.js.map +1 -1
- package/lib/internal/stepRecoveryMapSeedPose.d.ts +3 -11
- package/lib/internal/stepRecoveryMapSeedPose.js +4 -14
- package/lib/internal/stepRecoveryMapSeedPose.js.map +1 -1
- package/lib/internal/stepRecoveryRelativePose.d.ts +3 -11
- package/lib/internal/stepRecoveryRelativePose.js +5 -15
- package/lib/internal/stepRecoveryRelativePose.js.map +1 -1
- package/lib/internal/triangulateRecoveryCameraPoint.d.ts +6 -13
- package/lib/internal/triangulateRecoveryCameraPoint.js +47 -40
- package/lib/internal/triangulateRecoveryCameraPoint.js.map +1 -1
- package/lib/internal/triangulateRecoverySceneTrack.d.ts +2 -9
- package/lib/internal/triangulateRecoverySceneTrack.js +4 -10
- package/lib/internal/triangulateRecoverySceneTrack.js.map +1 -1
- package/lib/internal/updateRecoveryRegularization.d.ts +6 -13
- package/lib/internal/updateRecoveryRegularization.js +15 -18
- package/lib/internal/updateRecoveryRegularization.js.map +1 -1
- package/lib/internal/validateRecoveryMapMetricRow.d.ts +1 -11
- package/lib/internal/validateRecoveryMapMetricRow.js +3 -20
- package/lib/internal/validateRecoveryMapMetricRow.js.map +1 -1
- package/lib/internal/validateRecoveryMapMetricScales.d.ts +1 -11
- package/lib/internal/validateRecoveryMapMetricScales.js +4 -15
- package/lib/internal/validateRecoveryMapMetricScales.js.map +1 -1
- package/lib/observation/AutoMovieRecoveryEventCurve.d.ts +23 -136
- package/lib/observation/AutoMovieRecoveryEventCurve.js +29 -152
- package/lib/observation/AutoMovieRecoveryEventCurve.js.map +1 -1
- package/lib/observation/AutoMovieRecoveryMeshSections.d.ts +10 -21
- package/lib/observation/AutoMovieRecoveryMeshSections.js +10 -21
- package/lib/observation/AutoMovieRecoveryMeshSections.js.map +1 -1
- package/lib/observation/AutoMovieRecoveryOrderedLineage.d.ts +22 -37
- package/lib/observation/AutoMovieRecoveryOrderedLineage.js +22 -37
- package/lib/observation/AutoMovieRecoveryOrderedLineage.js.map +1 -1
- package/lib/observation/estimateAutoMovieRecoveryCameraMap.d.ts +2 -9
- package/lib/observation/estimateAutoMovieRecoveryCameraMap.js +4 -22
- package/lib/observation/estimateAutoMovieRecoveryCameraMap.js.map +1 -1
- package/lib/observation/estimateAutoMovieRecoveryCameraPair.d.ts +10 -16
- package/lib/observation/estimateAutoMovieRecoveryCameraPair.js +12 -29
- package/lib/observation/estimateAutoMovieRecoveryCameraPair.js.map +1 -1
- package/lib/observation/estimateAutoMovieRecoveryCameraScene.d.ts +8 -15
- package/lib/observation/estimateAutoMovieRecoveryCameraScene.js +10 -28
- package/lib/observation/estimateAutoMovieRecoveryCameraScene.js.map +1 -1
- package/lib/observation/observeAutoMovieRecovery.d.ts +10 -18
- package/lib/observation/observeAutoMovieRecovery.js +1 -26
- package/lib/observation/observeAutoMovieRecovery.js.map +1 -1
- package/lib/observation/observeAutoMovieRecoveryAtlas.d.ts +16 -23
- package/lib/observation/observeAutoMovieRecoveryAtlas.js +23 -31
- package/lib/observation/observeAutoMovieRecoveryAtlas.js.map +1 -1
- package/lib/observation/observeAutoMovieRecoveryImages.d.ts +7 -14
- package/lib/observation/observeAutoMovieRecoveryImages.js +15 -87
- package/lib/observation/observeAutoMovieRecoveryImages.js.map +1 -1
- package/lib/observation/observeAutoMovieRecoveryPolyline.d.ts +6 -13
- package/lib/observation/observeAutoMovieRecoveryPolyline.js +8 -37
- package/lib/observation/observeAutoMovieRecoveryPolyline.js.map +1 -1
- package/lib/observation/observeAutoMovieRecoverySections.d.ts +10 -9
- package/lib/observation/observeAutoMovieRecoverySections.js +28 -73
- package/lib/observation/observeAutoMovieRecoverySections.js.map +1 -1
- package/lib/observation/observeAutoMovieRecoverySlabs.d.ts +13 -18
- package/lib/observation/observeAutoMovieRecoverySlabs.js +24 -109
- package/lib/observation/observeAutoMovieRecoverySlabs.js.map +1 -1
- package/lib/observation/prepareAutoMovieRecoveryInput.d.ts +6 -12
- package/lib/observation/prepareAutoMovieRecoveryInput.js +7 -79
- package/lib/observation/prepareAutoMovieRecoveryInput.js.map +1 -1
- package/lib/observation/resumeAutoMovieRecoveryContours.d.ts +7 -14
- package/lib/observation/resumeAutoMovieRecoveryContours.js +22 -50
- package/lib/observation/resumeAutoMovieRecoveryContours.js.map +1 -1
- package/lib/observation/transportAutoMovieRecoveryObservationChart.d.ts +8 -15
- package/lib/observation/transportAutoMovieRecoveryObservationChart.js +15 -22
- package/lib/observation/transportAutoMovieRecoveryObservationChart.js.map +1 -1
- package/lib/reconstruction/AutoMovieRecoveryOpenContinuation.d.ts +5 -16
- package/lib/reconstruction/AutoMovieRecoveryOpenContinuation.js +12 -20
- package/lib/reconstruction/AutoMovieRecoveryOpenContinuation.js.map +1 -1
- package/lib/reconstruction/applyAutoMovieRecoveryAnalyticPublication.d.ts +6 -13
- package/lib/reconstruction/applyAutoMovieRecoveryAnalyticPublication.js +8 -20
- package/lib/reconstruction/applyAutoMovieRecoveryAnalyticPublication.js.map +1 -1
- package/lib/reconstruction/assembleAutoMovieRecoveryFieldComplex.d.ts +8 -15
- package/lib/reconstruction/assembleAutoMovieRecoveryFieldComplex.js +11 -19
- package/lib/reconstruction/assembleAutoMovieRecoveryFieldComplex.js.map +1 -1
- package/lib/reconstruction/compileAutoMovieRecoveryAtlas.d.ts +4 -11
- package/lib/reconstruction/compileAutoMovieRecoveryAtlas.js +4 -11
- package/lib/reconstruction/compileAutoMovieRecoveryAtlas.js.map +1 -1
- package/lib/reconstruction/compileAutoMovieRecoveryEventDomain.d.ts +6 -13
- package/lib/reconstruction/compileAutoMovieRecoveryEventDomain.js +8 -17
- package/lib/reconstruction/compileAutoMovieRecoveryEventDomain.js.map +1 -1
- package/lib/reconstruction/compileAutoMovieRecoveryNativeNamedChart.d.ts +4 -11
- package/lib/reconstruction/compileAutoMovieRecoveryNativeNamedChart.js +6 -15
- package/lib/reconstruction/compileAutoMovieRecoveryNativeNamedChart.js.map +1 -1
- package/lib/reconstruction/prepareAutoMovieRecoveryAnnularChart.d.ts +3 -11
- package/lib/reconstruction/prepareAutoMovieRecoveryAnnularChart.js +3 -11
- package/lib/reconstruction/prepareAutoMovieRecoveryAnnularChart.js.map +1 -1
- package/lib/reconstruction/realizeAutoMovieRecoveryAnalyticDomains.d.ts +2 -9
- package/lib/reconstruction/realizeAutoMovieRecoveryAnalyticDomains.js +16 -65
- package/lib/reconstruction/realizeAutoMovieRecoveryAnalyticDomains.js.map +1 -1
- package/lib/reconstruction/realizeAutoMovieRecoveryTensorFamilies.d.ts +8 -15
- package/lib/reconstruction/realizeAutoMovieRecoveryTensorFamilies.js +12 -26
- package/lib/reconstruction/realizeAutoMovieRecoveryTensorFamilies.js.map +1 -1
- package/lib/reconstruction/reconstructAutoMovieRecoveryModel.d.ts +7 -15
- package/lib/reconstruction/reconstructAutoMovieRecoveryModel.js +13 -54
- package/lib/reconstruction/reconstructAutoMovieRecoveryModel.js.map +1 -1
- package/package.json +7 -7
- package/src/compilation/compileAutoMovieRecoveryImageLoft.ts +25 -36
- package/src/compilation/compileAutoMovieRecoverySupportLoft.ts +19 -36
- package/src/curves/AutoMovieRecoveryCompactApproximation.ts +2 -27
- package/src/curves/AutoMovieRecoveryConicApproximation.ts +12 -72
- package/src/curves/approximateAutoMovieRecoveryCompactCurves.ts +23 -29
- package/src/curves/approximateAutoMovieRecoveryConicsAhn.ts +17 -20
- package/src/curves/approximateAutoMovieRecoveryConicsGhosh.ts +30 -39
- package/src/curves/convertAutoMovieRecoveryCurve.ts +97 -0
- package/src/curves/convertAutoMovieRecoveryCurves.ts +84 -211
- package/src/curves/findAutoMovieRecoveryCubicCriticalParameters.ts +10 -38
- package/src/curves/index.ts +2 -0
- package/src/fitting/fitAutoMovieRecoveryImageLoft.ts +31 -51
- package/src/fitting/fitAutoMovieRecoveryImageSupportLoft.ts +2 -26
- package/src/internal/GhoshConicApproximationBalance.ts +10 -12
- package/src/internal/GhoshConicApproximationDisplacement.ts +7 -13
- package/src/internal/RecoveryAnnularChart.ts +17 -23
- package/src/internal/RecoveryAtlasObservationChart.ts +8 -15
- package/src/internal/RecoveryAtlasObservationCreases.ts +4 -13
- package/src/internal/RecoveryAtlasObservationFeatures.ts +1 -11
- package/src/internal/RecoveryAtlasObservationNormals.ts +1 -11
- package/src/internal/RecoveryAtlasObservationPublish.ts +38 -29
- package/src/internal/RecoveryAtlasObservationSource.ts +6 -25
- package/src/internal/RecoveryBezierFit.ts +25 -68
- package/src/internal/RecoveryChartAreaObservations.ts +37 -52
- package/src/internal/RecoveryChartAssembly.ts +19 -18
- package/src/internal/RecoveryChartBatch.ts +2 -10
- package/src/internal/RecoveryChartBoundary.ts +14 -20
- package/src/internal/RecoveryChartBoundaryNetwork.ts +13 -26
- package/src/internal/RecoveryChartBoundaryNetworkAugment.ts +8 -23
- package/src/internal/RecoveryChartBoundaryNetworkBindings.ts +5 -16
- package/src/internal/RecoveryChartBoundaryNetworkRegistry.ts +13 -40
- package/src/internal/RecoveryChartBoxSolve.ts +41 -73
- package/src/internal/RecoveryChartCollar.ts +14 -39
- package/src/internal/RecoveryChartControlRelations.ts +28 -44
- package/src/internal/RecoveryChartFit.ts +7 -19
- package/src/internal/RecoveryChartFitPrepare.ts +18 -26
- package/src/internal/RecoveryChartFitReport.ts +2 -12
- package/src/internal/RecoveryChartFitRows.ts +3 -19
- package/src/internal/RecoveryChartFitSolve.ts +11 -19
- package/src/internal/RecoveryChartFitSystem.ts +2 -15
- package/src/internal/RecoveryChartLeafAssembly.ts +19 -19
- package/src/internal/RecoveryChartLeafControls.ts +5 -24
- package/src/internal/RecoveryChartLeafFit.ts +43 -43
- package/src/internal/RecoveryChartMap.ts +13 -35
- package/src/internal/RecoveryChartPhysicalJet.ts +31 -52
- package/src/internal/RecoveryChartReachableBox.ts +9 -25
- package/src/internal/RecoveryChartRefinementClosure.ts +18 -35
- package/src/internal/RecoveryChartSurface.ts +20 -39
- package/src/internal/RecoveryDiskChart.ts +29 -45
- package/src/internal/RecoveryEventRegion.ts +12 -18
- package/src/internal/RecoveryEventRegionCells.ts +4 -18
- package/src/internal/RecoveryEventRegionPorts.ts +5 -21
- package/src/internal/RecoveryEventRegionSource.ts +2 -19
- package/src/internal/RecoveryEventRegionTopology.ts +8 -13
- package/src/internal/RecoveryFeasibleCapacityError.ts +0 -5
- package/src/internal/RecoveryFeatureChartCuts.ts +27 -44
- package/src/internal/RecoveryFeatureChartCutsFans.ts +1 -11
- package/src/internal/RecoveryFeatureChartCutsSeams.ts +14 -26
- package/src/internal/RecoveryFeatureChartCutsSubdivide.ts +21 -22
- package/src/internal/RecoveryFeatureChartCutsTopology.ts +6 -17
- package/src/internal/RecoveryFeatureChartPreparation.ts +4 -11
- package/src/internal/RecoveryMultiBoundaryChart.ts +16 -33
- package/src/internal/RecoveryOpenSlabGraph.ts +13 -48
- package/src/internal/RecoveryScalarIndex.ts +8 -30
- package/src/internal/RecoverySlabGraph.ts +15 -45
- package/src/internal/admitRecoveryCameraMap.ts +16 -130
- package/src/internal/admitRecoveryCameraPair.ts +11 -225
- package/src/internal/admitRecoveryCameraScene.ts +14 -93
- package/src/internal/admitRecoveryMapCurvature.ts +3 -18
- package/src/internal/analyzeRecoveryMultiBoundarySurface.ts +4 -20
- package/src/internal/assembleRecoveryMapCurvature.ts +12 -30
- package/src/internal/assertRecoveryImageChart.ts +2 -19
- package/src/internal/assertRecoverySceneLinearRetention.ts +3 -11
- package/src/internal/bindRecoveryOrderedFits.ts +18 -29
- package/src/internal/bindRecoverySavedSectionCuts.ts +5 -22
- package/src/internal/calibrateRecoveryEpipolarMatrix.ts +5 -13
- package/src/internal/chooseRecoverySqpTightening.ts +15 -42
- package/src/internal/collectRecoveryContourFaceSupport.ts +3 -9
- package/src/internal/collectRecoverySceneSupport.ts +2 -9
- package/src/internal/completeRecoverySceneCheckpoint.ts +2 -9
- package/src/internal/copyRecoveryUntiltedEstimate.ts +3 -24
- package/src/internal/createRecoveryCameraChart.ts +6 -17
- package/src/internal/createRecoveryCameraEstimate.ts +3 -12
- package/src/internal/createRecoveryCameraMap.ts +5 -13
- package/src/internal/createRecoveryCameraScene.ts +2 -10
- package/src/internal/createRecoveryFeasibleDiagnostics.ts +0 -8
- package/src/internal/createRecoveryFeasibleSqpArc.ts +28 -63
- package/src/internal/createRecoveryImageDirectionSolver.ts +4 -18
- package/src/internal/createRecoveryMapMetric.ts +0 -8
- package/src/internal/createRecoveryMapTangent.ts +2 -12
- package/src/internal/createRecoveryMapTriangularMetric.ts +11 -26
- package/src/internal/createRecoveryObservationPolicy.ts +5 -12
- package/src/internal/createRecoveryPoseModel.ts +7 -15
- package/src/internal/createRecoverySceneSeedReportObserver.ts +2 -10
- package/src/internal/describeRecoveryDomains.ts +20 -69
- package/src/internal/describeRecoveryNamedDomains.ts +111 -117
- package/src/internal/describeRecoveryOpenRun.ts +16 -47
- package/src/internal/describeRecoverySceneRegistration.ts +1 -11
- package/src/internal/differentiateRecoveryMapProjection.ts +21 -25
- package/src/internal/differentiateRecoveryMapTangent.ts +12 -30
- package/src/internal/encodeRecoveryDiagnosticNumber.ts +2 -13
- package/src/internal/evaluateRecoveryScenePoint.ts +7 -15
- package/src/internal/extractRecoveryImageFeatures.ts +7 -20
- package/src/internal/extractRecoveryMeshSections.ts +22 -38
- package/src/internal/factorRecoveryMapCurvature.ts +8 -28
- package/src/internal/factorRecoveryMapDesign.ts +3 -18
- package/src/internal/factorRecoveryMapMetric.ts +3 -13
- package/src/internal/filterRecoveryImageGaussian.ts +0 -8
- package/src/internal/fitRecoveryEpipolarConsensus.ts +5 -13
- package/src/internal/fitRecoveryEpipolarMatrix.ts +2 -10
- package/src/internal/fitRecoveryHomography.ts +4 -14
- package/src/internal/fitRecoveryHomographyConsensus.ts +3 -13
- package/src/internal/fitRecoveryImageProfiles.ts +3 -10
- package/src/internal/fitRecoveryResectionConsensus.ts +5 -13
- package/src/internal/fitRecoveryResectionDesign.ts +27 -33
- package/src/internal/fitRecoveryScalarProfiles.ts +11 -29
- package/src/internal/growRecoverySceneLandmarks.ts +0 -8
- package/src/internal/index.ts +0 -2
- package/src/internal/initializeRecoverySceneSeed.ts +4 -11
- package/src/internal/isRecoveryCameraNumericalRefusal.ts +0 -8
- package/src/internal/isRecoveryMapIdentityGauge.ts +1 -11
- package/src/internal/linearizeRecoveryFeasibleMap.ts +0 -8
- package/src/internal/linearizeRecoveryPoseResiduals.ts +7 -17
- package/src/internal/linkRecoveryCameraTracks.ts +0 -8
- package/src/internal/matchRecoveryImageFeatures.ts +1 -9
- package/src/internal/measureRecoveryEpipolarErrors.ts +11 -17
- package/src/internal/measureRecoveryFeasibleArithmetic.ts +2 -10
- package/src/internal/measureRecoveryHomographyErrors.ts +1 -9
- package/src/internal/mesh-observations/critical.ts +15 -27
- package/src/internal/mesh-observations/cross.ts +1 -11
- package/src/internal/mesh-observations/cutExact.ts +30 -55
- package/src/internal/mesh-observations/dist.ts +1 -11
- package/src/internal/mesh-observations/dot.ts +1 -11
- package/src/internal/mesh-observations/len.ts +1 -11
- package/src/internal/mesh-observations/mul.ts +1 -11
- package/src/internal/mesh-observations/norm.ts +2 -9
- package/src/internal/mesh-observations/planeFrame.ts +2 -9
- package/src/internal/mesh-observations/signedArea.ts +2 -9
- package/src/internal/mesh-observations/sourceOrientation.ts +4 -11
- package/src/internal/mesh-observations/sub.ts +1 -11
- package/src/internal/mesh-observations/to2.ts +2 -9
- package/src/internal/mixRecoveryFeasibleSqpStep.ts +11 -17
- package/src/internal/normalizeRecoveryCourse.ts +6 -14
- package/src/internal/normalizeRecoveryImagePoints.ts +2 -17
- package/src/internal/observeRecoveryCameraSet.ts +3 -14
- package/src/internal/observeRecoveryOrderedCuts.ts +11 -20
- package/src/internal/observeRecoverySection.ts +11 -19
- package/src/internal/observeRecoverySourceSlabs.ts +8 -9
- package/src/internal/observeRecoverySourceTerminals.ts +10 -11
- package/src/internal/predictRecoveryMapDecrease.ts +7 -18
- package/src/internal/prepareRecoveryChartLeafBoundary.ts +1 -11
- package/src/internal/prepareRecoveryCheckpointReportCapacity.ts +1 -11
- package/src/internal/prepareRecoveryCriticalBrackets.ts +1 -11
- package/src/internal/prepareRecoveryDiskBoundary.ts +3 -13
- package/src/internal/prepareRecoveryFeasibleMapReporting.ts +1 -14
- package/src/internal/prepareRecoveryFeasibleMapWork.ts +4 -25
- package/src/internal/prepareRecoveryFeasibleReportCapacity.ts +2 -20
- package/src/internal/prepareRecoveryImageSupports.ts +5 -31
- package/src/internal/prepareRecoveryLocalContinuation.ts +3 -16
- package/src/internal/prepareRecoveryMapJointBlocks.ts +6 -30
- package/src/internal/prepareRecoveryMeshIncidence.ts +1 -11
- package/src/internal/prepareRecoveryOpenRuns.ts +4 -24
- package/src/internal/prepareRecoveryOpenSlabGraph.ts +8 -36
- package/src/internal/prepareRecoverySceneFeasibleRouting.ts +3 -35
- package/src/internal/prepareRecoverySceneReportCapacity.ts +1 -11
- package/src/internal/projectRecoveryMapPoint.ts +9 -14
- package/src/internal/readRecoveryEventCurveControls.ts +4 -13
- package/src/internal/readRecoveryEventCurveParent.ts +2 -14
- package/src/internal/rebindRecoveryCurveAuthorities.ts +200 -342
- package/src/internal/reconstructRecovery.ts +23 -31
- package/src/internal/reconstructRecoveryOpen.ts +8 -23
- package/src/internal/refineRecoveryCameraMap.ts +14 -30
- package/src/internal/refineRecoveryCameraMapFeasible.ts +13 -27
- package/src/internal/refineRecoveryCameraPose.ts +8 -24
- package/src/internal/refineRecoveryChartBoundaryChords.ts +11 -16
- package/src/internal/refineRecoveryEpipolarModel.ts +0 -8
- package/src/internal/refineRecoveryFeasibleState.ts +16 -40
- package/src/internal/refineRecoveryResection.ts +3 -13
- package/src/internal/requiredRecoveryCameraTrials.ts +6 -13
- package/src/internal/restoreRecoveryCurveBasis.ts +14 -33
- package/src/internal/sampleRecoveryCameraIndices.ts +3 -14
- package/src/internal/scoreRecoveryCameraResiduals.ts +5 -16
- package/src/internal/selectRecoveryCameraPose.ts +3 -10
- package/src/internal/selectRecoveryFeasibleTrial.ts +7 -22
- package/src/internal/selectRecoveryScalarIntervals.ts +5 -21
- package/src/internal/solveRecoveryFeasibleDirection.ts +11 -20
- package/src/internal/solveRecoveryMapDesign.ts +1 -11
- package/src/internal/solveRecoveryMapJointStep.ts +11 -20
- package/src/internal/spendRecoverySceneWork.ts +2 -16
- package/src/internal/stepRecoveryMapPose.ts +2 -14
- package/src/internal/stepRecoveryMapSeedPose.ts +4 -14
- package/src/internal/stepRecoveryRelativePose.ts +5 -15
- package/src/internal/triangulateRecoveryCameraPoint.ts +59 -49
- package/src/internal/triangulateRecoverySceneTrack.ts +8 -10
- package/src/internal/updateRecoveryRegularization.ts +16 -18
- package/src/internal/validateRecoveryMapMetricRow.ts +3 -24
- package/src/internal/validateRecoveryMapMetricScales.ts +4 -17
- package/src/observation/AutoMovieRecoveryEventCurve.ts +28 -161
- package/src/observation/AutoMovieRecoveryMeshSections.ts +10 -21
- package/src/observation/AutoMovieRecoveryOrderedLineage.ts +22 -37
- package/src/observation/estimateAutoMovieRecoveryCameraMap.ts +4 -31
- package/src/observation/estimateAutoMovieRecoveryCameraPair.ts +12 -38
- package/src/observation/estimateAutoMovieRecoveryCameraScene.ts +10 -37
- package/src/observation/observeAutoMovieRecovery.ts +11 -50
- package/src/observation/observeAutoMovieRecoveryAtlas.ts +25 -38
- package/src/observation/observeAutoMovieRecoveryImages.ts +16 -118
- package/src/observation/observeAutoMovieRecoveryPolyline.ts +8 -41
- package/src/observation/observeAutoMovieRecoverySections.ts +36 -91
- package/src/observation/observeAutoMovieRecoverySlabs.ts +30 -150
- package/src/observation/prepareAutoMovieRecoveryInput.ts +7 -90
- package/src/observation/resumeAutoMovieRecoveryContours.ts +22 -65
- package/src/observation/transportAutoMovieRecoveryObservationChart.ts +15 -26
- package/src/reconstruction/AutoMovieRecoveryOpenContinuation.ts +10 -22
- package/src/reconstruction/applyAutoMovieRecoveryAnalyticPublication.ts +8 -22
- package/src/reconstruction/assembleAutoMovieRecoveryFieldComplex.ts +12 -24
- package/src/reconstruction/compileAutoMovieRecoveryAtlas.ts +4 -11
- package/src/reconstruction/compileAutoMovieRecoveryEventDomain.ts +8 -17
- package/src/reconstruction/compileAutoMovieRecoveryNativeNamedChart.ts +5 -15
- package/src/reconstruction/prepareAutoMovieRecoveryAnnularChart.ts +3 -11
- package/src/reconstruction/realizeAutoMovieRecoveryAnalyticDomains.ts +19 -72
- package/src/reconstruction/realizeAutoMovieRecoveryTensorFamilies.ts +9 -23
- package/src/reconstruction/reconstructAutoMovieRecoveryModel.ts +16 -59
- package/lib/internal/readRecoveryMetadata.d.ts +0 -15
- package/lib/internal/readRecoveryMetadata.js +0 -30
- package/lib/internal/readRecoveryMetadata.js.map +0 -1
- package/lib/internal/validateRecoveryContourResume.d.ts +0 -11
- package/lib/internal/validateRecoveryContourResume.js +0 -85
- package/lib/internal/validateRecoveryContourResume.js.map +0 -1
- package/src/internal/readRecoveryMetadata.ts +0 -28
- package/src/internal/validateRecoveryContourResume.ts +0 -137
|
@@ -7,16 +7,8 @@ const mixRecoveryFeasibleSqpStep_1 = require("./mixRecoveryFeasibleSqpStep");
|
|
|
7
7
|
/**
|
|
8
8
|
* Try a complete affine-QP direction and one same-base curvature correction.
|
|
9
9
|
* Positive baseline weights only propose a working set. Every original affine
|
|
10
|
-
* row and physical quadratic stationarity still qualify the untilted step.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @evidence contracts/development/implementation.md#principled-implementation Thin SVD of the independent working transpose yields equality primal/dual without normal equations. One original-physical-residual refinement reuses it before complete inactive/dual/stationarity qualification. Nominal physical-norm mixing or one original-row-supported coefficient must pass raw signs. The same factor corrects a failed trial toward a strict negative target capped by current descent and original dual price, under the original norm(p)^2.5 ceiling.
|
|
14
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This optional current-model owner supplies directions only; actual trials, every geometry gate, Armijo decrease, normal termination and rollback remain with their existing owners.
|
|
15
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No singular floor, truncated inverse, dual clipping, row deletion, independent translation scaling, new tolerance or successful initial-state fallback supplies a result. Unsupported auxiliary work leaves the qualified baseline direction available.
|
|
16
|
-
* @evidence contracts/development/common.md#meaningful-documentation Separates independent QP, target arithmetic, correction and actual normal status. The cap has conditional order2.5 only with comparable steps, quadratic descent and bounded price; finite equality checks, numerical mixing and current GN do not certify local full feasibility, Armijo or a finite-trial rate.
|
|
17
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For H selected rows and q exact nonzero coordinates, thin original-design work costs O(S*(q+H)*H^2+q*H^2); complete row scans cost O(Z+n+m). The prepaid 1024*(Z+physicalZ+n+m+H^2) linear reserve includes the additional objective dot and selected row-norm/price pass (at most 32*(physicalZ+n+m) visits), plus the existing correction's repeated selected norms. Transpose/SVD, equality refinement, dual reconstruction, two mixtures, O(n^2) metric actions and one correction remain reserved before allocation. No late correction charge changes report.work after the generic owner has accumulated it.
|
|
18
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The same current metric and thin factor supply the equality estimate, dual and one correction. No new Jacobian, image, matching, native solver, full nullspace or Gram factor is introduced.
|
|
19
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Before scalable numerical allocation, input plus scratch, owner resident retention and conservative visits are admitted. Fixed refusal metadata is separate from numerical slots and JS object overhead; conservative 128 base and 1024 auxiliary slots cover fixed numerical state. One model retains factors/vectors, without previous-factor or rejected-trial caches.
|
|
10
|
+
* row and physical quadratic stationarity still qualify the untilted step. The
|
|
11
|
+
* mixture is not the pure tilted-QP minimizer or a nonlinear certificate.
|
|
20
12
|
*/
|
|
21
13
|
function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options, charge) {
|
|
22
14
|
const n = model.width, m = model.rows.length;
|
|
@@ -55,16 +47,15 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
55
47
|
result.correct = null;
|
|
56
48
|
return result;
|
|
57
49
|
};
|
|
58
|
-
if (
|
|
59
|
-
n < 1 ||
|
|
50
|
+
if (n < 1 ||
|
|
60
51
|
n > 0x7fffffff ||
|
|
61
52
|
m < 1 ||
|
|
62
53
|
model.physicalRows.length !== m ||
|
|
63
54
|
weights.length !== m ||
|
|
64
55
|
tilted.length !== n ||
|
|
65
56
|
!(tolerance > 0 && tolerance < 1) ||
|
|
66
|
-
![options.maxSweeps, options.maxEntries, options.maxResidentEntries].every((value) =>
|
|
67
|
-
![options.retainedEntries, options.maxWork].every((value) =>
|
|
57
|
+
![options.maxSweeps, options.maxEntries, options.maxResidentEntries].every((value) => value > 0) ||
|
|
58
|
+
![options.retainedEntries, options.maxWork].every((value) => value >= 0) ||
|
|
68
59
|
!(options.minimumSingularRatio > 0 && options.minimumSingularRatio < 1))
|
|
69
60
|
throw new Error("camera-sqp: bounded current model and options required");
|
|
70
61
|
if (model.toPhysicalCovector === undefined)
|
|
@@ -76,9 +67,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
76
67
|
return value;
|
|
77
68
|
};
|
|
78
69
|
const spend = (amount) => {
|
|
79
|
-
if (
|
|
80
|
-
amount < 0 ||
|
|
81
|
-
amount > options.maxWork - result.report.work)
|
|
70
|
+
if (amount < 0 || amount > options.maxWork - result.report.work)
|
|
82
71
|
return false;
|
|
83
72
|
charge(amount);
|
|
84
73
|
result.report.work += amount;
|
|
@@ -90,7 +79,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
90
79
|
for (let at = 0; at < m; at++) {
|
|
91
80
|
Z += model.rows[at].indices.length;
|
|
92
81
|
physicalZ += model.physicalRows[at].indices.length;
|
|
93
|
-
if (
|
|
82
|
+
if (weights[at] < 0)
|
|
94
83
|
throw new Error("camera-sqp: finite nonnegative baseline weights required");
|
|
95
84
|
if (at > 0 && weights[at] > 0)
|
|
96
85
|
H++;
|
|
@@ -98,8 +87,6 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
98
87
|
result.report.selectedRows = H;
|
|
99
88
|
const base = 2 * (Z + physicalZ) + 3 * m + 2 * n + 128;
|
|
100
89
|
const initialExtra = 32 * n + 16 * m + 1024;
|
|
101
|
-
if (![Z, physicalZ, base, initialExtra].every(Number.isSafeInteger))
|
|
102
|
-
return fail("capacity-unrepresentable");
|
|
103
90
|
if (base + initialExtra > options.maxEntries ||
|
|
104
91
|
options.retainedEntries + initialExtra > options.maxResidentEntries)
|
|
105
92
|
return fail("auxiliary-capacity-unavailable");
|
|
@@ -112,7 +99,6 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
112
99
|
const row = model.rows[at];
|
|
113
100
|
if (row.indices.length !== row.values.length ||
|
|
114
101
|
row.offset !== model.physicalRows[at].offset ||
|
|
115
|
-
!Number.isFinite(row.offset) ||
|
|
116
102
|
row.offset < 0 ||
|
|
117
103
|
(at === 0 && row.offset !== 0))
|
|
118
104
|
throw new Error("camera-sqp: identical feasible original offsets required");
|
|
@@ -120,10 +106,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
120
106
|
result.selected.push(at);
|
|
121
107
|
for (let entry = 0; entry < row.indices.length; entry++) {
|
|
122
108
|
const axis = row.indices[entry], value = row.values[entry];
|
|
123
|
-
if (
|
|
124
|
-
axis < 0 ||
|
|
125
|
-
axis >= n ||
|
|
126
|
-
!Number.isFinite(value))
|
|
109
|
+
if (axis < 0 || axis >= n)
|
|
127
110
|
throw new Error("camera-sqp: finite admitted coordinates required");
|
|
128
111
|
if (at === 0)
|
|
129
112
|
c[axis] = value;
|
|
@@ -146,8 +129,6 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
146
129
|
1024 * (Z + physicalZ + n + m + H * H) +
|
|
147
130
|
512 * n * n +
|
|
148
131
|
8192;
|
|
149
|
-
if (![extra, reserve, q * H, H * H].every(Number.isSafeInteger))
|
|
150
|
-
return fail("capacity-unrepresentable");
|
|
151
132
|
if (base + extra > options.maxEntries ||
|
|
152
133
|
options.retainedEntries + extra > options.maxResidentEntries ||
|
|
153
134
|
q * H > options.maxEntries ||
|
|
@@ -187,7 +168,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
187
168
|
}
|
|
188
169
|
const largest = factor.singularValues[0];
|
|
189
170
|
const ratio = factor.singularValues[H - 1] / largest;
|
|
190
|
-
result.report.designRatio =
|
|
171
|
+
result.report.designRatio = largest > 0 ? ratio : null;
|
|
191
172
|
if (!(largest > 0) ||
|
|
192
173
|
factor.numericalRank !== H ||
|
|
193
174
|
!(ratio > options.minimumSingularRatio))
|
|
@@ -201,10 +182,8 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
201
182
|
z[coordinates[at]] += factor.leftColumns[k][at] * amount;
|
|
202
183
|
}
|
|
203
184
|
}
|
|
204
|
-
if (!z.every(Number.isFinite))
|
|
205
|
-
return fail("working-dual-or-step-unresolved");
|
|
206
185
|
let physical = model.fromMetric(z);
|
|
207
|
-
if (physical.length !== n
|
|
186
|
+
if (physical.length !== n)
|
|
208
187
|
throw new Error("camera-sqp: physical metric action changed coordinates");
|
|
209
188
|
const equalityRight = (step) => result.selected.map((at) => {
|
|
210
189
|
const row = model.physicalRows[at];
|
|
@@ -214,8 +193,6 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
214
193
|
return value;
|
|
215
194
|
});
|
|
216
195
|
const beforeRight = equalityRight(physical);
|
|
217
|
-
if (!beforeRight.every(Number.isFinite))
|
|
218
|
-
return fail("full-affine-qp-unqualified");
|
|
219
196
|
const beforeError = beforeRight.reduce((maximum, value) => Math.max(maximum, Math.abs(value)), 0);
|
|
220
197
|
result.report.equalityBeforeRefinement = beforeError;
|
|
221
198
|
if (factor !== null && beforeError > 0) {
|
|
@@ -231,14 +208,12 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
231
208
|
}
|
|
232
209
|
for (let at = 0; at < n; at++)
|
|
233
210
|
z[at] += adjustment[at];
|
|
234
|
-
if (!z.every(Number.isFinite))
|
|
235
|
-
return fail("working-equality-refinement-unresolved");
|
|
236
211
|
physical = model.fromMetric(z);
|
|
237
|
-
if (physical.length !== n
|
|
212
|
+
if (physical.length !== n)
|
|
238
213
|
throw new Error("camera-sqp: physical metric action changed coordinates");
|
|
239
214
|
const afterRight = equalityRight(physical);
|
|
240
215
|
const afterError = afterRight.reduce((maximum, value) => Math.max(maximum, Math.abs(value)), 0);
|
|
241
|
-
if (!
|
|
216
|
+
if (!(afterError < beforeError))
|
|
242
217
|
return fail("working-equality-refinement-unresolved");
|
|
243
218
|
}
|
|
244
219
|
if (factor !== null)
|
|
@@ -252,13 +227,10 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
252
227
|
for (let at = 0; at < H; at++)
|
|
253
228
|
lambda[at] += factor.rightColumns[k][at] * amount;
|
|
254
229
|
}
|
|
255
|
-
if (!lambda.every((value) =>
|
|
230
|
+
if (!lambda.every((value) => value >= 0))
|
|
256
231
|
return fail("working-dual-or-step-unresolved");
|
|
257
232
|
const stationarity = model.toPhysicalCovector(z);
|
|
258
|
-
if (physical.length !== n ||
|
|
259
|
-
stationarity.length !== n ||
|
|
260
|
-
!physical.every(Number.isFinite) ||
|
|
261
|
-
!stationarity.every(Number.isFinite))
|
|
233
|
+
if (physical.length !== n || stationarity.length !== n)
|
|
262
234
|
throw new Error("camera-sqp: physical metric action changed coordinates");
|
|
263
235
|
let equality = 0, violation = 0, scale = 1, selectedAt = 0;
|
|
264
236
|
for (let at = 0; at < m; at++) {
|
|
@@ -270,6 +242,12 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
270
242
|
const axis = row.indices[entry], coefficient = row.values[entry];
|
|
271
243
|
value += coefficient * physical[axis];
|
|
272
244
|
stationarity[axis] += multiplier * coefficient;
|
|
245
|
+
// An overflowing dot would turn to NaN on its next opposite term.
|
|
246
|
+
if (value === Infinity ||
|
|
247
|
+
value === -Infinity ||
|
|
248
|
+
stationarity[axis] === Infinity ||
|
|
249
|
+
stationarity[axis] === -Infinity)
|
|
250
|
+
return fail("full-affine-qp-unqualified");
|
|
273
251
|
if (at === 0)
|
|
274
252
|
scale = Math.max(scale, Math.abs(coefficient));
|
|
275
253
|
}
|
|
@@ -286,7 +264,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
286
264
|
stationarityResidual: residual,
|
|
287
265
|
stationarityScale: scale,
|
|
288
266
|
});
|
|
289
|
-
if (
|
|
267
|
+
if ([residual, violation, equality, scale].some((value) => value === Infinity || value === -Infinity) ||
|
|
290
268
|
violation > tolerance ||
|
|
291
269
|
equality > tolerance ||
|
|
292
270
|
residual > tolerance * scale)
|
|
@@ -322,7 +300,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
322
300
|
if (result.report.correctionAttempted)
|
|
323
301
|
throw new Error("camera-sqp: one correction per base model required");
|
|
324
302
|
result.report.correctionAttempted = true;
|
|
325
|
-
if (values.length !== H
|
|
303
|
+
if (values.length !== H) {
|
|
326
304
|
result.report.correctionFailure = "trial-values-unresolved";
|
|
327
305
|
return null;
|
|
328
306
|
}
|
|
@@ -336,10 +314,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
336
314
|
tightening.value;
|
|
337
315
|
const value = -values[index] - margin;
|
|
338
316
|
// The desired negative margin must survive in this RHS; the RHS itself may be positive.
|
|
339
|
-
if (!(margin > 0) ||
|
|
340
|
-
!Number.isFinite(margin) ||
|
|
341
|
-
!Number.isFinite(value) ||
|
|
342
|
-
!(value < -values[index])) {
|
|
317
|
+
if (!(margin > 0) || !(value < -values[index])) {
|
|
343
318
|
result.report.correctionFailure = "trial-target-unresolved";
|
|
344
319
|
return null;
|
|
345
320
|
}
|
|
@@ -356,7 +331,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
356
331
|
retainedFactor.leftColumns[k][at] * amount;
|
|
357
332
|
}
|
|
358
333
|
const answer = model.fromMetric(correction);
|
|
359
|
-
if (answer.length !== n
|
|
334
|
+
if (answer.length !== n) {
|
|
360
335
|
result.report.correctionFailure = "correction-unresolved";
|
|
361
336
|
return null;
|
|
362
337
|
}
|
|
@@ -369,8 +344,7 @@ function createRecoveryFeasibleSqpArc(model, weights, tilted, tolerance, options
|
|
|
369
344
|
let value = -right[at];
|
|
370
345
|
for (let entry = 0; entry < row.indices.length; entry++)
|
|
371
346
|
value += row.values[entry] * answer[row.indices[entry]];
|
|
372
|
-
if (
|
|
373
|
-
Math.abs(value) > tolerance * Math.max(1, Math.abs(right[at]))) {
|
|
347
|
+
if (Math.abs(value) > tolerance * Math.max(1, Math.abs(right[at]))) {
|
|
374
348
|
result.report.correctionFailure = "correction-equality-unresolved";
|
|
375
349
|
return null;
|
|
376
350
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRecoveryFeasibleSqpArc.js","sourceRoot":"","sources":["../../src/internal/createRecoveryFeasibleSqpArc.ts"],"names":[],"mappings":";;;AAAA,8CAAqE;AAUrE,+EAA4E;AAC5E,6EAA0E;AAE1E;;;;;;;;;;;;;GAaG;AACH,sCACE,KAAsC,EACtC,OAA0B,EAC1B,MAAyB,EACzB,SAAiB,EACjB,OAAqC,EACrC,MAA8B;IAE9B,MAAM,CAAC,GAAW,KAAK,CAAC,KAAK,EAC3B,CAAC,GAAW,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;IAChC,MAAM,MAAM,GAA6B;QACvC,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,EAAE;QACf,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE,IAAI;QACb,MAAM,EAAE;YACN,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE,aAAa;YACrB,YAAY,EAAE,CAAC;YACf,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,IAAI;YACjB,gBAAgB,EAAE,IAA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E,KAAK,EAAE;gBAC7D,KAAK,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAE,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAE,CAAE,CAAC;YAC7D,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAE,CAAC,CAAC,EAAE,CAAC;gBACpE,MAAM,CAAC,MAAM,CAAC,iBAAiB,GAAG,gCAAgC,CAAC;gBACnE,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,mBAAmB,GAAG,IAAI,CAAC;QACzC,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import type { IAutoMovieRecoveryImageDirectionSolverCreationOperation } from "@automovie/interface";
|
|
2
2
|
/**
|
|
3
3
|
* Factor a two-column camera-direction design without normal equations.
|
|
4
|
-
* Reorthogonalized modified Gram-Schmidt supplies the small QR factors; the
|
|
5
|
-
*
|
|
4
|
+
* Reorthogonalized modified Gram-Schmidt supplies the small QR factors; the two
|
|
5
|
+
* singular values of R give the same direction rank as the original design.
|
|
6
6
|
* Their ratio is a binary64 diagnostic under the supplied numeric threshold,
|
|
7
7
|
* not a certified interval bound or uncertainty distribution.
|
|
8
|
-
*
|
|
9
|
-
* @evidence contracts/development/implementation.md#principled-implementation Reorthogonalized QR acts on the original two direction columns and solves each right-hand side by orthogonal projection and triangular substitution. The determinant product of R and its largest singular value yield the smaller singular value without forming or inverting a normal matrix.
|
|
10
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One call-local factorization owns one camera design and transfers a reusable pure solve closure to the section fitter.
|
|
11
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No normal-equation inverse, ridge term, small-denominator replacement, discarded view or fixture-specific direction supplies a solution; weak or nonfinite geometry refuses.
|
|
12
|
-
* @evidence contracts/development/common.md#meaningful-documentation States the factorization, reuse scope, binary64 rank-ratio interpretation, solve assumptions and refusal behavior.
|
|
13
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For V camera directions, two-column factorization and each right-hand side cost O(V), retaining two V-entry orthonormal columns instead of a per-section dense inverse.
|
|
14
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work One factorization serves all physical section rows for exactly its supplied camera columns and is discarded when that fitting request returns.
|
|
15
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned closure owns two O(V) arrays and scalar factors for the request lifetime; it acquires no file, process, listener or global cache.
|
|
16
8
|
*/
|
|
17
9
|
export declare function createRecoveryImageDirectionSolver(directions: Parameters<IAutoMovieRecoveryImageDirectionSolverCreationOperation.Operation>[0], minimumRatio: Parameters<IAutoMovieRecoveryImageDirectionSolverCreationOperation.Operation>[1]): ReturnType<IAutoMovieRecoveryImageDirectionSolverCreationOperation.Operation>;
|
|
@@ -3,24 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createRecoveryImageDirectionSolver = createRecoveryImageDirectionSolver;
|
|
4
4
|
/**
|
|
5
5
|
* Factor a two-column camera-direction design without normal equations.
|
|
6
|
-
* Reorthogonalized modified Gram-Schmidt supplies the small QR factors; the
|
|
7
|
-
*
|
|
6
|
+
* Reorthogonalized modified Gram-Schmidt supplies the small QR factors; the two
|
|
7
|
+
* singular values of R give the same direction rank as the original design.
|
|
8
8
|
* Their ratio is a binary64 diagnostic under the supplied numeric threshold,
|
|
9
9
|
* not a certified interval bound or uncertainty distribution.
|
|
10
|
-
*
|
|
11
|
-
* @evidence contracts/development/implementation.md#principled-implementation Reorthogonalized QR acts on the original two direction columns and solves each right-hand side by orthogonal projection and triangular substitution. The determinant product of R and its largest singular value yield the smaller singular value without forming or inverting a normal matrix.
|
|
12
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One call-local factorization owns one camera design and transfers a reusable pure solve closure to the section fitter.
|
|
13
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No normal-equation inverse, ridge term, small-denominator replacement, discarded view or fixture-specific direction supplies a solution; weak or nonfinite geometry refuses.
|
|
14
|
-
* @evidence contracts/development/common.md#meaningful-documentation States the factorization, reuse scope, binary64 rank-ratio interpretation, solve assumptions and refusal behavior.
|
|
15
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For V camera directions, two-column factorization and each right-hand side cost O(V), retaining two V-entry orthonormal columns instead of a per-section dense inverse.
|
|
16
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work One factorization serves all physical section rows for exactly its supplied camera columns and is discarded when that fitting request returns.
|
|
17
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned closure owns two O(V) arrays and scalar factors for the request lifetime; it acquires no file, process, listener or global cache.
|
|
18
10
|
*/
|
|
19
11
|
function createRecoveryImageDirectionSolver(directions, minimumRatio) {
|
|
20
12
|
let r00 = 0;
|
|
21
13
|
for (const row of directions)
|
|
22
14
|
r00 = Math.hypot(r00, row[0]);
|
|
23
|
-
if (!(r00 > 0)
|
|
15
|
+
if (!(r00 > 0))
|
|
24
16
|
throw new Error("weak-support-directions: first direction column is degenerate");
|
|
25
17
|
const q0 = directions.map((row) => row[0] / r00);
|
|
26
18
|
let r01 = directions.reduce((sum, row, index) => sum + q0[index] * row[1], 0);
|
|
@@ -34,7 +26,7 @@ function createRecoveryImageDirectionSolver(directions, minimumRatio) {
|
|
|
34
26
|
}
|
|
35
27
|
const largest = (Math.hypot(r00 + r11, r01) + Math.hypot(r00 - r11, r01)) / 2;
|
|
36
28
|
const ratio = (r00 / largest) * (r11 / largest);
|
|
37
|
-
if (!(ratio >= minimumRatio)
|
|
29
|
+
if (!(ratio >= minimumRatio))
|
|
38
30
|
throw new Error("weak-support-directions: supplied camera columns do not identify both section axes");
|
|
39
31
|
const q1 = residual.map((value) => value / r11);
|
|
40
32
|
return {
|
|
@@ -44,14 +36,10 @@ function createRecoveryImageDirectionSolver(directions, minimumRatio) {
|
|
|
44
36
|
throw new Error("Direction right-hand side must retain every view");
|
|
45
37
|
let first = 0, second = 0;
|
|
46
38
|
for (let index = 0; index < values.length; index++) {
|
|
47
|
-
if (!Number.isFinite(values[index]))
|
|
48
|
-
throw new Error("Nonfinite section support cannot enter direction fitting");
|
|
49
39
|
first += q0[index] * values[index];
|
|
50
40
|
second += q1[index] * values[index];
|
|
51
41
|
}
|
|
52
42
|
const z = second / r11, x = (first - r01 * z) / r00;
|
|
53
|
-
if (!Number.isFinite(x) || !Number.isFinite(z))
|
|
54
|
-
throw new Error("Direction solve exceeded finite arithmetic");
|
|
55
43
|
return [x, z];
|
|
56
44
|
},
|
|
57
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRecoveryImageDirectionSolver.js","sourceRoot":"","sources":["../../src/internal/createRecoveryImageDirectionSolver.ts"],"names":[],"mappings":";;;AAEA
|
|
1
|
+
{"version":3,"file":"createRecoveryImageDirectionSolver.js","sourceRoot":"","sources":["../../src/internal/createRecoveryImageDirectionSolver.ts"],"names":[],"mappings":";;;AAEA;;;;;;GAMG;AACH,4CACE,UAA4F,EAC5F,YAA8F;IAE9F,IAAI,GAAG,GAAW,CAAC,CAAC;IACpB,KAAK,MAAM,GAAG,IAAI,UAAU;QAAE,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;QACZ,MAAM,IAAI,KAAK,CACb,+DAA+D,CAChE,CAAC;IACJ,MAAM,EAAE,GAAa,UAAU,CAAC,GAAG,CACjC,CAAC,GAA8B,EAAU,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CACzD,CAAC;IACF,IAAI,GAAG,GAAW,UAAU,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C;IACJ,MAAM,EAAE,GAAa,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAa,EAAU,EAAE,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC;IAC1E,OAAO;QACL,KAAK;QACL,KAAK,EAAE,CAAC,MAAyB,EAAoB,EAAE;YACrD,IAAI,MAAM,CAAC,MAAM,KAAK,UAAU,CAAC,MAAM;gBACrC,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;YACtE,IAAI,KAAK,GAAW,CAAC,EACnB,MAAM,GAAW,CAAC,CAAC;YACrB,KAAK,IAAI,KAAK,GAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;gBAC3D,KAAK,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;gBACnC,MAAM,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YACtC,CAAC;YACD,MAAM,CAAC,GAAW,MAAM,GAAG,GAAG,EAC5B,CAAC,GAAW,CAAC,KAAK,GAAG,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC;YACtC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAChB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -4,13 +4,5 @@ import type { IAutoMovieRecoveryCameraMapBudget, IAutoMovieRecoveryMapMetric } f
|
|
|
4
4
|
* Physical vectors list camera coordinates before the three coordinates per
|
|
5
5
|
* landmark; elimination internally orders points first. The solve and covector
|
|
6
6
|
* multiplication actions use the same original global column scales.
|
|
7
|
-
*
|
|
8
|
-
* @evidence contracts/development/implementation.md#principled-implementation Givens reduction produces the camera upper factor of the already point-eliminated damped design. Solving R^T*w=scaled-covector first resolves independent point blocks and then the camera tail; R*s=z reverses that order. No Gram matrix, inverse or second camera scaling changes coordinates.
|
|
9
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This owner retains raw factors for feasible-direction whitening. Shared preparation and original-design factorization qualify undamped rank for both factorRecoveryMapMetric and solveRecoveryMapJointStep; only the latter synthesizes the complete unconstrained answer.
|
|
10
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No pivot floor or active inequality supplies missing data rank. Every nonrepresentable triangular action throws instead of returning a zero direction.
|
|
11
|
-
* @evidence contracts/development/common.md#meaningful-documentation States camera/point ordering, scale direction and distinction between an invertible damped metric and undamped rank qualification.
|
|
12
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One camera QR costs O(E*C^2) and O(C^2) retained scalars. A covector touching k points costs O(k*C+C^2), and inverse action costs O(L*C+C^2); no full (C+3L)^2 factor is formed.
|
|
13
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Current point triangles, camera upper factor and global scales supply both triangular solves and physical covector multiplication; no second factor or normal matrix is built.
|
|
14
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owned upper factors/scales live in returned closures for one model. The caller admits their retention and charges each whitening action; sparse row temporaries expire without input mutation or external state.
|
|
15
7
|
*/
|
|
16
8
|
export declare function createRecoveryMapMetric(triangles: readonly (readonly (readonly number[])[])[], reduced: readonly (readonly number[])[], pointScales: readonly (readonly number[])[], cameraScales: readonly number[], budget: IAutoMovieRecoveryCameraMapBudget): IAutoMovieRecoveryMapMetric;
|
|
@@ -8,14 +8,6 @@ const createRecoveryMapTriangularMetric_1 = require("./createRecoveryMapTriangul
|
|
|
8
8
|
* Physical vectors list camera coordinates before the three coordinates per
|
|
9
9
|
* landmark; elimination internally orders points first. The solve and covector
|
|
10
10
|
* multiplication actions use the same original global column scales.
|
|
11
|
-
*
|
|
12
|
-
* @evidence contracts/development/implementation.md#principled-implementation Givens reduction produces the camera upper factor of the already point-eliminated damped design. Solving R^T*w=scaled-covector first resolves independent point blocks and then the camera tail; R*s=z reverses that order. No Gram matrix, inverse or second camera scaling changes coordinates.
|
|
13
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This owner retains raw factors for feasible-direction whitening. Shared preparation and original-design factorization qualify undamped rank for both factorRecoveryMapMetric and solveRecoveryMapJointStep; only the latter synthesizes the complete unconstrained answer.
|
|
14
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No pivot floor or active inequality supplies missing data rank. Every nonrepresentable triangular action throws instead of returning a zero direction.
|
|
15
|
-
* @evidence contracts/development/common.md#meaningful-documentation States camera/point ordering, scale direction and distinction between an invertible damped metric and undamped rank qualification.
|
|
16
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One camera QR costs O(E*C^2) and O(C^2) retained scalars. A covector touching k points costs O(k*C+C^2), and inverse action costs O(L*C+C^2); no full (C+3L)^2 factor is formed.
|
|
17
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Current point triangles, camera upper factor and global scales supply both triangular solves and physical covector multiplication; no second factor or normal matrix is built.
|
|
18
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owned upper factors/scales live in returned closures for one model. The caller admits their retention and charges each whitening action; sparse row temporaries expire without input mutation or external state.
|
|
19
11
|
*/
|
|
20
12
|
function createRecoveryMapMetric(triangles, reduced, pointScales, cameraScales, budget) {
|
|
21
13
|
const cameraWidth = cameraScales.length;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRecoveryMapMetric.js","sourceRoot":"","sources":["../../src/internal/createRecoveryMapMetric.ts"],"names":[],"mappings":";;;AAAA,8CAA4D;AAM5D,2FAAwF;AAExF
|
|
1
|
+
{"version":3,"file":"createRecoveryMapMetric.js","sourceRoot":"","sources":["../../src/internal/createRecoveryMapMetric.ts"],"names":[],"mappings":";;;AAAA,8CAA4D;AAM5D,2FAAwF;AAExF;;;;;GAKG;AACH,iCACE,SAAsD,EACtD,OAAuC,EACvC,WAA2C,EAC3C,YAA+B,EAC/B,MAAyC;IAEzC,MAAM,WAAW,GAAW,YAAY,CAAC,MAAM,CAAC;IAChD,MAAM,MAAM,GAAe,IAAA,gCAAuB,EAChD,OAAO,EACP,IAAI,KAAK,CAAS,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EACzC;QACE,UAAU,EAAE,MAAM,CAAC,gBAAgB;QACnC,OAAO,EAAE,OAAO,CAAC,MAAM,GAAG,WAAW,GAAG,CAAC,WAAW,GAAG,CAAC,CAAC;KAC1D,CACF,CAAC,IAAI,CAAC;IACP,OAAO,IAAA,qEAAiC,EACtC,SAAS,EACT,MAAM,EACN,WAAW,EACX,YAAY,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Construct two raw coefficient directions for an admitted seed translation.
|
|
3
|
-
*
|
|
4
|
-
* @evidence contracts/development/implementation.md#principled-implementation Projecting the least-aligned Cartesian axis and taking t cross a gives two independent projected directions. They are orthonormal at exact unit t; admitted near-unit inputs instead use their actual P_t B differential in map models.
|
|
5
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One raw two-coordinate construction serves map updates, their differentiated physical rows and optional curvature without adding a gauge constraint.
|
|
6
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Input outside the admitted near-unit gauge throws; no baseline component or camera orientation is frozen beyond the declared scale gauge.
|
|
7
|
-
* @evidence contracts/development/common.md#meaningful-documentation States near-unit admission, axis selection and raw camera-frame coefficient directions, distinct from their actual map differential.
|
|
8
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Three coordinates and one cross product require constant time and memory.
|
|
9
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A current local tangent is rebuilt after its pose changes and has no global cache.
|
|
10
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only two owned tuples return and no external resource is acquired.
|
|
11
|
-
*/
|
|
1
|
+
/** Construct two raw coefficient directions for an admitted seed translation. */
|
|
12
2
|
export declare function createRecoveryMapTangent(t: readonly [number, number, number]): [number, number, number][];
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createRecoveryMapTangent = createRecoveryMapTangent;
|
|
4
|
-
/**
|
|
5
|
-
* Construct two raw coefficient directions for an admitted seed translation.
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation Projecting the least-aligned Cartesian axis and taking t cross a gives two independent projected directions. They are orthonormal at exact unit t; admitted near-unit inputs instead use their actual P_t B differential in map models.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One raw two-coordinate construction serves map updates, their differentiated physical rows and optional curvature without adding a gauge constraint.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Input outside the admitted near-unit gauge throws; no baseline component or camera orientation is frozen beyond the declared scale gauge.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation States near-unit admission, axis selection and raw camera-frame coefficient directions, distinct from their actual map differential.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Three coordinates and one cross product require constant time and memory.
|
|
12
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A current local tangent is rebuilt after its pose changes and has no global cache.
|
|
13
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only two owned tuples return and no external resource is acquired.
|
|
14
|
-
*/
|
|
4
|
+
/** Construct two raw coefficient directions for an admitted seed translation. */
|
|
15
5
|
function createRecoveryMapTangent(t) {
|
|
16
|
-
if (
|
|
6
|
+
if (Math.abs(Math.hypot(...t) - 1) > 1e-10)
|
|
17
7
|
throw new Error("camera-map: unit seed translation required");
|
|
18
8
|
let least = 0;
|
|
19
9
|
for (let at = 1; at < 3; at++)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRecoveryMapTangent.js","sourceRoot":"","sources":["../../src/internal/createRecoveryMapTangent.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"createRecoveryMapTangent.js","sourceRoot":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AAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACzB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SAC1B;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
1
|
import type { IAutoMovieRecoveryMapTriangularMetric } from "@automovie/interface";
|
|
2
|
-
/**
|
|
3
|
-
* Bind one point-first upper factor and original column scales to its actions.
|
|
4
|
-
*
|
|
5
|
-
* @evidence contracts/development/implementation.md#principled-implementation R_point and its camera cross tail precede R_camera in point-first order. R^-T physical covectors, R^-1 steps and D R^T metric covectors use exactly these arrays and original positive column scales without an inverse or full Gram matrix.
|
|
6
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure QR and optional Cholesky producers share triangular actions while owning their independent factor formation and support. Nullable whitening belongs to pre-return model selection; public actions throw thereafter.
|
|
7
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Zero pivots and nonfinite solves do not become zero directions or late GN substitutions. These actions supply no independent data rank or intended-Hessian accuracy certificate.
|
|
8
|
-
* @evidence contracts/development/common.md#meaningful-documentation Physical order is camera then points, with point-first elimination inside the factor. Inputs are owned current factors/scales whose caller has admitted dimensions and lifetime.
|
|
9
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One O(LC+C^2+n) invariant finite-factor/positive-scale check precedes actions; each row adds one O(Zrow) ownership pass. GN moves its existing point-factor finite scan here rather than duplicating it. A k-point covector costs O(kC+C^2), full inverse/transpose actions O(LC+C^2), with O(n) output/scratch. Caller work envelopes include these scans, every fixed row and subsequent admitted direction/auxiliary action.
|
|
10
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work One current factor and shared original D supply all three actions and preflight, retaining the original substitution and accumulation order for GN consumers.
|
|
11
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Closures retain C^2+3L(C+4) entries for original GN factors, or C^2+3L(C+3) for curvature, plus shared O(n) scales for one model. The GN transformed-right column is retained but unused by actions. Current owned factor/scale inputs stay live; borrowed row/step/covector inputs never escape. Extra fixed action shells/reference fields fit the original128 constant slots, with no numeric copies.
|
|
12
|
-
*/
|
|
2
|
+
/** Bind one point-first upper factor and original column scales to its actions. */
|
|
13
3
|
export declare function createRecoveryMapTriangularMetric(triangles: readonly (readonly (readonly number[])[])[], camera: readonly (readonly number[])[], pointScales: readonly (readonly number[])[], cameraScales: readonly number[]): IAutoMovieRecoveryMapTriangularMetric;
|
|
@@ -3,17 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createRecoveryMapTriangularMetric = createRecoveryMapTriangularMetric;
|
|
4
4
|
const validateRecoveryMapMetricRow_1 = require("./validateRecoveryMapMetricRow");
|
|
5
5
|
const validateRecoveryMapMetricScales_1 = require("./validateRecoveryMapMetricScales");
|
|
6
|
-
/**
|
|
7
|
-
* Bind one point-first upper factor and original column scales to its actions.
|
|
8
|
-
*
|
|
9
|
-
* @evidence contracts/development/implementation.md#principled-implementation R_point and its camera cross tail precede R_camera in point-first order. R^-T physical covectors, R^-1 steps and D R^T metric covectors use exactly these arrays and original positive column scales without an inverse or full Gram matrix.
|
|
10
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure QR and optional Cholesky producers share triangular actions while owning their independent factor formation and support. Nullable whitening belongs to pre-return model selection; public actions throw thereafter.
|
|
11
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Zero pivots and nonfinite solves do not become zero directions or late GN substitutions. These actions supply no independent data rank or intended-Hessian accuracy certificate.
|
|
12
|
-
* @evidence contracts/development/common.md#meaningful-documentation Physical order is camera then points, with point-first elimination inside the factor. Inputs are owned current factors/scales whose caller has admitted dimensions and lifetime.
|
|
13
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One O(LC+C^2+n) invariant finite-factor/positive-scale check precedes actions; each row adds one O(Zrow) ownership pass. GN moves its existing point-factor finite scan here rather than duplicating it. A k-point covector costs O(kC+C^2), full inverse/transpose actions O(LC+C^2), with O(n) output/scratch. Caller work envelopes include these scans, every fixed row and subsequent admitted direction/auxiliary action.
|
|
14
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work One current factor and shared original D supply all three actions and preflight, retaining the original substitution and accumulation order for GN consumers.
|
|
15
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Closures retain C^2+3L(C+4) entries for original GN factors, or C^2+3L(C+3) for curvature, plus shared O(n) scales for one model. The GN transformed-right column is retained but unused by actions. Current owned factor/scale inputs stay live; borrowed row/step/covector inputs never escape. Extra fixed action shells/reference fields fit the original128 constant slots, with no numeric copies.
|
|
16
|
-
*/
|
|
6
|
+
/** Bind one point-first upper factor and original column scales to its actions. */
|
|
17
7
|
function createRecoveryMapTriangularMetric(triangles, camera, pointScales, cameraScales) {
|
|
18
8
|
const cameraWidth = cameraScales.length;
|
|
19
9
|
const width = cameraWidth + 3 * triangles.length;
|
|
@@ -24,9 +14,6 @@ function createRecoveryMapTriangularMetric(triangles, camera, pointScales, camer
|
|
|
24
14
|
const row = camera[axis];
|
|
25
15
|
if (row?.length !== cameraWidth)
|
|
26
16
|
throw new Error("camera-feasible: matching owned factor and positive original scales required");
|
|
27
|
-
for (let column = 0; column < cameraWidth; column++)
|
|
28
|
-
if (!Number.isFinite(row[column]))
|
|
29
|
-
throw new Error("camera-feasible: matching owned factor and positive original scales required");
|
|
30
17
|
}
|
|
31
18
|
for (let point = 0; point < triangles.length; point++) {
|
|
32
19
|
const rows = triangles[point];
|
|
@@ -38,14 +25,11 @@ function createRecoveryMapTriangularMetric(triangles, camera, pointScales, camer
|
|
|
38
25
|
row.length < cameraWidth + 3 ||
|
|
39
26
|
row.length > cameraWidth + 4)
|
|
40
27
|
throw new Error("camera-feasible: matching owned factor and positive original scales required");
|
|
41
|
-
for (let column = 0; column < row.length; column++)
|
|
42
|
-
if (!Number.isFinite(row[column]))
|
|
43
|
-
throw new Error("camera-feasible: matching owned factor and positive original scales required");
|
|
44
28
|
}
|
|
45
29
|
}
|
|
46
30
|
const divide = (value, pivot) => {
|
|
47
31
|
const answer = value / pivot;
|
|
48
|
-
if (pivot === 0 ||
|
|
32
|
+
if (pivot === 0 || overflowed(answer))
|
|
49
33
|
throw new Error("camera-feasible: unresolved triangular metric action");
|
|
50
34
|
return answer;
|
|
51
35
|
};
|
|
@@ -75,7 +59,7 @@ function createRecoveryMapTriangularMetric(triangles, camera, pointScales, camer
|
|
|
75
59
|
for (let previous = 0; previous < axis; previous++)
|
|
76
60
|
value -= triangular[previous][axis] * right[previous];
|
|
77
61
|
right[axis] = value / triangular[axis][axis];
|
|
78
|
-
if (triangular[axis][axis] === 0 ||
|
|
62
|
+
if (triangular[axis][axis] === 0 || overflowed(right[axis]))
|
|
79
63
|
return null;
|
|
80
64
|
}
|
|
81
65
|
for (let column = 0; column < cameraWidth; column++)
|
|
@@ -87,7 +71,7 @@ function createRecoveryMapTriangularMetric(triangles, camera, pointScales, camer
|
|
|
87
71
|
for (let previous = 0; previous < axis; previous++)
|
|
88
72
|
value -= camera[previous][axis] * cameraRight[previous];
|
|
89
73
|
cameraRight[axis] = value / camera[axis][axis];
|
|
90
|
-
if (camera[axis][axis] === 0 ||
|
|
74
|
+
if (camera[axis][axis] === 0 || overflowed(cameraRight[axis]))
|
|
91
75
|
return null;
|
|
92
76
|
}
|
|
93
77
|
const indices = Array.from({ length: cameraWidth }, (_, axis) => axis);
|
|
@@ -133,7 +117,7 @@ function createRecoveryMapTriangularMetric(triangles, camera, pointScales, camer
|
|
|
133
117
|
for (let axis = 0; axis < 3; axis++)
|
|
134
118
|
physical.push(local[axis] / pointScales[point][axis]);
|
|
135
119
|
}
|
|
136
|
-
if (
|
|
120
|
+
if (physical.some(overflowed))
|
|
137
121
|
throw new Error("camera-feasible: nonrepresentable physical step");
|
|
138
122
|
return physical;
|
|
139
123
|
},
|
|
@@ -160,10 +144,14 @@ function createRecoveryMapTriangularMetric(triangles, camera, pointScales, camer
|
|
|
160
144
|
}
|
|
161
145
|
for (let axis = 0; axis < cameraWidth; axis++)
|
|
162
146
|
physical[axis] *= cameraScales[axis];
|
|
163
|
-
if (
|
|
147
|
+
if (physical.some(overflowed))
|
|
164
148
|
throw new Error("camera-feasible: nonrepresentable physical covector");
|
|
165
149
|
return physical;
|
|
166
150
|
},
|
|
167
151
|
};
|
|
168
152
|
}
|
|
153
|
+
/** Whether a metric action entry overflowed binary64. */
|
|
154
|
+
function overflowed(value) {
|
|
155
|
+
return value === Infinity || value === -Infinity;
|
|
156
|
+
}
|
|
169
157
|
//# sourceMappingURL=createRecoveryMapTriangularMetric.js.map
|