active_knots Function
- Seyed Ali Ghasemi
- BSD 3-Clause
- 23 statements
public pure function active_knots(knot, nc, degree) result(Xth)
Return distinct stored knots on the closed active interval. A nondecreasing knot vector is a mathematical precondition. Invalid degree/count/size metadata returns an allocated zero-length array; other knot-vector invariants are not checked here.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | knot(:) | ||
| integer, | intent(in) | :: | nc | |||
| integer, | intent(in) | :: | degree |