Problems of the week (optional)

Problem 2.12. No R_k matrices, use two for-loops. Plot the p+1 active B-splines on one nontrivial knot interval for degrees p up to 10.

Problem 3.2

Extra challenge: Implement the spline evaluation Alg. 2.20 both with for-loops and by a recursion. Compare the two implementations wrt. time-efficiency for various degrees, each with sufficiently many evaluations to make comparison possible/meaningful (one evaluation takes too little time).

 

Publisert 16. feb. 2017 16:59