Description
Require increasing nodes and query within them, then return (query-leftNode)/(rightNode-leftNode).
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 increasing nodes and query within them, then return (query-leftNode)/(rightNode-leftNode).
When to use this tool
Use Linear Bracket Local Coordinate when you need one explicitly defined linear interpolation term.
How to use the tool and how it works
- Enter query, leftNode, rightNode. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read localCoordinate. Use the output convention below.
Require increasing nodes and query within them, then return (query-leftNode)/(rightNode-leftNode).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| query | Query | Required. Finite number. |
| leftNode | Left Node | Required. Finite number. |
| rightNode | Right Node | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| localCoordinate | Local Coordinate | Required. Finite number. |
{
"input": {
"query": 3,
"leftNode": 2,
"rightNode": 6
},
"output": {
"localCoordinate": 0.25
}
} Limitations and assumptions
- This is a dimensionless bracket coordinate without y values or interpolation; outside queries and zero spans are rejected.
- 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
- Linear Node Exact Hit Policy
Return endpoint values directly on exact hits; otherwise blend linearly by the normalized coordinate.
- Interpolant Endpoint Continuity Residual
Return rightLimit minus leftLimit for jump and exact equality for continuousExactly.