search for: spaggeti

Displaying 2 results from an estimated 2 matches for "spaggeti".

Did you mean: spagetti
2011 Jan 25
0
Map an Area to another
...he s(x,y) matrix into a function x spans from -1 #to 1 and y spans from -1 to 1. # Input: sr a x,y matrix containing the shadowing values of a Region breaksX <- seq(from=-1, to = 1, length = nrow(sr) +1L ) breaksY <- seq(from=-1, to = 1, length = ncol(sr) + 1L) function(x,y){ # SPAGGETI CODE FOR EVER indx <- findInterval(x, breaksX,rightmost.closed=TRUE) indy <- findInterval(y, breaksY,rightmost.closed=TRUE) if ( (x<0) && (y>0) ) # x<0,y>0 c(indx,ncol(sr)-indy+1) else if ( (x>0) && (y>0) ) # x>0,y>0 c(nr...
2011 Jan 26
0
Fwd: MAtrix addressing
...t: sr a x,y matrix containing the shadowing >>> values of a Region >>>> breaksX <- seq(from=-1, to >>> = 1, length = nrow(sr) +1L ) >>>> breaksY <- seq(from=-1, to >>> = 1, length = ncol(sr) + 1L) >>>> function(x,y){ # SPAGGETI CODE >>> FOR EVER >>>> indx <- >>> findInterval(x, breaksX,rightmost.closed=TRUE) >>>> indy <- >>> findInterval(y, breaksY,rightmost.closed=TRUE) >>>> c(indx,indy) >>>> } >>>> } >>...