Description
Require nondecreasing knots and count entries exactly equal to target.
Interpolation knots divide a coordinate range into intervals. Repeated nodes, unequal spacing, and exact boundary selection can change how a piecewise interpolant is interpreted.
Require nondecreasing knots and count entries exactly equal to target.
When to use this tool
Use Interpolation: Interpolation Knot Multiplicity Count when you need one knot-interval or multiplicity diagnostic.
How to use the tool and how it works
- Enter knots, target. 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.
Require nondecreasing knots and count entries exactly equal to target.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| knots | Knots | Required. Array of finite number. Implementation limit: 128 items. |
| target | Target | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Result | Required. Object. |
| result.multiplicity | Multiplicity | Calculated result member: number. |
json
{
"input": {
"knots": [
0,
0,
1,
2
],
"target": 0
},
"output": {
"result": {
"multiplicity": 2
}
}
} Limitations and assumptions
- Multiplicity uses exact equality, not a tolerance; no spline degree or continuity condition is evaluated.
- 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
- Spline Knot Interval Zero Span Flag
Return next knot minus current knot and zero for an exact repeated pair.
- Interpolation: Interpolation Duplicate Node Value Conflict
Mark duplicateNode for exactly equal nodes.