Description
Mark duplicateNode for exactly equal nodes.
Interpolation knots divide a coordinate range into intervals. Repeated nodes, unequal spacing, and exact boundary selection can change how a piecewise interpolant is interpreted.
Mark duplicateNode for exactly equal nodes.
When to use this tool
Use Interpolation: Interpolation Duplicate Node Value Conflict when you need one knot-interval or multiplicity diagnostic.
How to use the tool and how it works
- Enter firstNode, firstValue, secondNode, secondValue, tolerance. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Mark duplicateNode for exactly equal nodes. Mark valueConflict only for duplicates whose absolute value difference exceeds nonnegative tolerance.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstNode | First Node | Required. Finite number. |
| firstValue | First Value | Required. Finite number. |
| secondNode | Second Node | Required. Finite number. |
| secondValue | Second Value | Required. Finite number. |
| tolerance | Tolerance | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Result | Required. Object. |
| result.duplicateNode | Duplicate Node | Calculated result member: boolean. |
| result.valueConflict | Value Conflict | Calculated result member: boolean. |
{
"input": {
"firstNode": 1,
"firstValue": 2,
"secondNode": 1,
"secondValue": 3,
"tolerance": 0
},
"output": {
"result": {
"duplicateNode": true,
"valueConflict": true
}
}
} Limitations and assumptions
- Tolerance applies to values rather than node positions; nonduplicate nodes never trigger conflict in this check.
- Outputs are nested inside result. 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 the complete knot sequence and interpolation method, including tolerance and extrapolation policies.
References
Similar or alternative tools
- Knot Coalescence Distance
Compute abs(secondKnot - firstKnot).
- Interpolation: Interpolation Knot Multiplicity Count
Require nondecreasing knots and count entries exactly equal to target.