Description
Check axis-scaled Chebyshev tolerance margins.
Weighted coordinate distances depend on whether weights multiply absolute differences or squared differences. Zero weights can make different vectors equivalent, and derivatives at a zero distance or absolute-value corner need explicit treatment.
Check axis-scaled Chebyshev tolerance margins.
When to use this tool
Use Anisotropic Chebyshev Constraint Margin when checking one weighted-axis contribution, support rule or derivative.
How to use the tool and how it works
- Enter differences, tolerances. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read scaledDistance, margin, within. Inspect within before interpreting the associated values.
Check axis-scaled Chebyshev tolerance margins. Require aligned nonempty differences and positive tolerances; scaledDistance = max(abs(difference)/tolerance), margin = 1-distance, within includes equality at one.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| differences | Differences | Required. Array of finite number; maximum items 256. |
| tolerances | Tolerances | Required. Array of finite number; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| scaledDistance | Scaled Distance | Required. Finite number. |
| margin | Signed margin on the stated comparison; inspect its sign and boundary convention. | Required. Finite number. |
| within | Within | Required. Boolean. |
{
"input": {
"differences": [
2,
3
],
"tolerances": [
4,
4
]
},
"output": {
"scaledDistance": 0.75,
"margin": 0.25,
"within": true
}
} Limitations and assumptions
- Tolerances supply the normalization; passing does not establish actual measurement accuracy or safety.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use a complete distance implementation with an explicit weighting and missing-coordinate convention for vector comparison and optimization.
References
Similar or alternative tools
- Distance: Anisotropic Axis Scaled Gap
Return one normalized signed gap and squared contribution.
- Canberra Zero Pair Convention
Return one Canberra-distance contribution with a zero-pair convention.