Skip to content

Main content

Hermite Slope Scale Sign Tool

Transform a Hermite derivative under an explicitly oriented affine coordinate change.

Loading tool…

Description

Multiply slope by sourceSpan / targetSpan, requiring both spans nonzero.

Cubic Hermite interpolation combines endpoint values with endpoint tangents. A slope per physical coordinate becomes a normalized-parameter tangent after multiplication by the interval span.

Multiply slope by sourceSpan / targetSpan, requiring both spans nonzero.

When to use this tool

Use Hermite Slope Scale Sign when you need one Hermite basis, derivative, or endpoint-unit calculation.

How to use the tool and how it works

  1. Enter slope, sourceSpan, targetSpan. 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 scaledSlope, orientationReversed. Inspect orientationReversed before interpreting the associated values.

Multiply slope by sourceSpan / targetSpan, requiring both spans nonzero. Mark orientationReversed when their signs differ.1

Input fieldMeaning and unitsAccepted input
slopeDerivative with respect to the coordinate convention stated above.Required. Finite number.
sourceSpanSource SpanRequired. Finite number.
targetSpanTarget SpanRequired. Finite number.
Output fieldInterpretationReturned shape
scaledSlopeScaled SlopeRequired. Finite number.
orientationReversedOrientation ReversedRequired. Boolean.
json
{
  "input": {
    "slope": 3,
    "sourceSpan": 2,
    "targetSpan": 4
  },
  "output": {
    "scaledSlope": 1.5,
    "orientationReversed": false
  }
}

Limitations and assumptions

  • The spans must describe the same parameter mapping; this rescales a derivative without changing endpoint values.
  • 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

Track the derivative coordinate explicitly and evaluate the complete endpoint data on a validated interval.

References

  1. Calculation and input contract: interpolation/hermite-slope-scale-sign — tool.io

Similar or alternative tools