active_knot_multiplicity Function
- Seyed Ali Ghasemi
- BSD 3-Clause
- 46 statements
public pure function active_knot_multiplicity(knot, nc, degree) result(multiplicity)
Return multiplicities of distinct knots on the active interval. The result includes both active endpoints and follows their order in the knot vector. A valid nondecreasing vector is assumed. Invalid degree/count/size metadata or a nonpositive active interval returns an allocated zero-length array; other invariants are not checked.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | knot(:) | ||
| integer, | intent(in) | :: | nc | |||
| integer, | intent(in) | :: | degree |