Skip to content
ForCADDocumentation

active_knot_multiplicity Function

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 IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: knot(:)
integer, intent(in) :: nc
integer, intent(in) :: degree

Return Value integer, allocatable, (:)