Hi all, I'm having a problem with the following code. I have a list of points (conpts) to build a BSpline Surface. I want to find the minimum distance of that surface from a given ponit (test). NArgMin works on the norm of the surface, but not when substracting a vector "test" (last line). Why not? Any help would be welcom!
R