search for: bethought

Displaying 1 result from an estimated 1 matches for "bethought".

Did you mean: rethought
2000 May 04
2
alas, no vecnorm
I wanted a function that would give the euclidean distance of a vector. Then I was happy, because I found vecnorm listed on pg 55 of V&R (3rd edn) which I had just bought today. Then I was sad, because R did not have vecnorm. Then I was happy again, because I bethought myself that I could copy the function vecnorm from splus to my code. Then I was sad again because R complained > vecnorm(v) Error in .Fortran("d2norm", as.integer(length(x)), as.double(x), value = double(1)) : C/Fortran function name not in load table So, after this tempest of emo...