Skip to content
ForCADDocumentation

prepare_bernstein_pair Subroutine

public pure subroutine prepare_bernstein_pair(ka, kb, p, span, reverse, a, b, resolved, order)

Cache extraction and the affine displacement of the paired ends in B's span units.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: ka(:)
real(kind=rk), intent(in), contiguous :: kb(:)
integer, intent(in) :: p
integer, intent(in) :: span
logical, intent(in) :: reverse
type(bernstein_span), intent(out) :: a
type(bernstein_span), intent(out) :: b
logical, intent(out) :: resolved
integer, intent(in), optional :: order