Skip to content

Main content

Anisotropic Chebyshev Constraint Margin Tool

Compute anisotropic chebyshev constraint margin from explicit bounded inputs.

Loading tool…

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

  1. Enter differences, tolerances. Keep parallel arrays aligned. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
differencesDifferencesRequired. Array of finite number; maximum items 256.
tolerancesTolerancesRequired. Array of finite number; maximum items 256.
Output fieldInterpretationReturned shape
scaledDistanceScaled DistanceRequired. Finite number.
marginSigned margin on the stated comparison; inspect its sign and boundary convention.Required. Finite number.
withinWithinRequired. Boolean.
json
{
  "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

  1. Calculation and input contract: distance/anisotropic-chebyshev-constraint-margin — tool.io

Similar or alternative tools