search for: isord

Displaying 7 results from an estimated 7 matches for "isord".

Did you mean: isoard
2007 Dec 14
1
segfault isoreg with NAs
...<- isoreg(1:10, y4 <- c(5, 9, 1:2, 5:8, NA, 8)) Adding missing values to the x values, on the contrary, gives an error, but maybe the error message could be tailored to this particular situation. y <- c(5, 9, 1:2, 5:8, 3, 8) x <- c(1:9, NA) isoreg(x, y) ## error message: Error in if (!isOrd) { : missing value where TRUE/FALSE needed Please find below a (temporary) patch (against Revision 43692) for both the R source and the help file. Kind regards, Tobias ### patch isoreg.R ### --- isoreg.R 2007-12-14 19:07:47.000000000 +0100 +++ isoreg2.R 2007-12-14 19:11:20.000000000 +0100 @@ -...
2017 May 08
3
RFC: Element-atomic memory intrinsics
Greetings all, I am picking up the work that was started in https://reviews.llvm.org/D27133 — adding support for an element-atomic memcpy/memset/memmove to LLVM. I would appreciate suggestions/thoughts/advice/comments on how to best proceed with this work in a way that will be acceptable to the LLVM group. I apologize in advance; this is going to be a long one... **Background** Loads/stores
2004 Jun 17
2
using "= matrix (...)" in .C calls
...;rpart.s" there is a call to the C routine: rp <- .C("s_to_rp2", as.integer(nobs), as.integer(nsplit), as.integer(nodes), as.integer(ncat), as.integer(cats *!isord), as.integer(max(cats)), as.integer(xval), which = integer(nobs), cptable = matrix(double(numcp*cpcol), nrow=cpcol), dsplit = matrix(double(1), nsplit,3), ispl...
2008 May 28
1
calling C function from R
...amp;nbsp; &nbsp;&nbsp;&nbsp; n = as.integer(nobs), &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; nvarx = as.integer(nvar), &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ncat = as.integer(cats* !isord), &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; method= as.integer(method.int), &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; as.double(unlist(controls)), &nbsp;&nbsp;&nbsp; &nbsp;&nbsp...
2017 May 08
2
RFC: Element-atomic memory intrinsics
...means it’s more likely that the person will realize >> that they have to think about it (i.e. it raises the profile of unordered >> memory intrinsics). > > I like the second point, but (unfortunately) I suspect in practice > you'll see new code do: > > if (MCI->isOrdered()) > return false; // be conservative > Yes, that would be an unfortunate reality, but one can hope. :-) >> Cons: >> * Breaks backward compatibility of the IR — is there a mechanism for >> migrating old IR into a new IR version when loading the IR into LLVM? &gt...
2002 Apr 25
1
understanding and resolving seg faults
...iinode,ddeltaI ,1); s_to_rp2 is called rpart.s rp <- .C("s_to_rp2", as.integer(nobs), as.integer(nsplit), as.integer(nodes), as.integer(ncat), as.integer(cats *!isord), as.integer(max(cats)), as.integer(xval), which = integer(nobs), cptable = matrix(double(numcp*cpcol), nrow=cpcol), dsplit = matrix(double(1), nsplit,3), ispl...
2010 Jun 15
3
How to see how a function is written
Hello, If I want to see how, say, apply function is written, how would I be able to do that? Just typing "apply" at the prompt does not work. Thank you for help! Sergey