Description
Require left different from right and return (knot - left)/(right - left) as parameter.
Linear interpolation blends endpoint values by a normalized coordinate. Its value weights, inverse slope, and sensitivities to moving nodes answer different questions and use different units.
Require left different from right and return (knot - left)/(right - left) as parameter.
When to use this tool
Use Affine Knot Parameter when you need one explicitly defined linear interpolation term.
How to use the tool and how it works
- Enter knot, left, right. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read parameter. Use the output convention below.
Require left different from right and return (knot - left)/(right - left) as parameter.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| knot | Knot | Required. Finite number. |
| left | Left | Required. Finite number. |
| right | Right | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| parameter | Normalized interpolation coordinate under the stated domain; may permit extrapolation. | Required. Finite number. |
{
"input": {
"knot": 3,
"left": 1,
"right": 5
},
"output": {
"parameter": 0.5
}
} Limitations and assumptions
- Decreasing intervals and extrapolation are allowed; no clamping or knot-order validation is added.
- 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
Validate endpoints and units and use a complete evaluator when clamping, extrapolation, or uncertainty propagation is required.
References
Similar or alternative tools
- Interpolation Cell Normalized Coordinate Gradient
Require left < right and return 1/(right - left) as gradient of the normalized coordinate with respect to position.
- Linear Interpolant Node Value Sensitivity
Return 1 - t and t as sensitivities to the left and right node values.