I wanted to know how can I write a matrix representation of a clamped b-spline. Following this document, https://ieeexplore.ieee.org/document/731996, I get matrix representation to write b-spline matrices(unclamped). I am able to generate clamped version from that by repeating the control points though that looks different if I generate from a library(scipy.interpolate.splev) - and I think the difference stems from that it considers the multiplicity of knot vector rather than control points. I am not able to get that formulation with respect to the paper mentioned above. Thanks for the help.