Displaying 1 result from an estimated 1 matches for "pointx".
Did you mean:
point
2012 Apr 08
0
multithreaded low level functions
Hi all,
I wanted to make sure that I am getting the most from my 8 core computer
running R. I have a distance function like this:
distance <- function(pointX, pointY, vecX, vecY)
{
#convert everything to radians
pointX = pointX * pi/180
pointY = pointY * pi/180
vecX = vecX * pi/180
vecY = vecY * pi/180
#data@coords[,2] = lat
#data@coords[,1] = lon
delta_lon = pointX - vecX
#print(sprintf("Len Pt X: %d Len Pt Y: %d",
length(...