Re: [R] distances between points in R^3

2008-02-05 Thread baptiste AuguiƩ
OK, I've come across a partial answer to the for loop problem in the use of "dist()". However, my problem not only require to find the distances between points, but also to store the vector differences, and the normal to each face when i get the delaunay triangulation sorted. As i understa

[R] distances between points in R^3

2008-02-03 Thread baptiste AuguiƩ
Dear R helpers, I'm trying to write a numerical scheme for a boundary integral method to solve an electromagnetic problem. This requires the computation of the distance between points at the surface of an object (a sphere, in my example). Here is my code, > require(rgl) > r<-1 > size<-10 >