active_span_count Function
- Seyed Ali Ghasemi
- BSD 3-Clause
- 12 statements
public pure function active_span_count(knot, nc, degree) result(nspan)
Count positive-length knot spans in the active interval. Repeated knots do not create zero-measure elements. A valid nondecreasing knot vector is assumed; only degree/count/size metadata is checked.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | knot(:) | ||
| integer, | intent(in) | :: | nc | |||
| integer, | intent(in) | :: | degree |