search for: xint

Displaying 16 results from an estimated 16 matches for "xint".

Did you mean: int
2003 Sep 08
3
multiple selection syntax
Hello This is a very newbie question on R syntax, but I do not find the answer.... I want to make a selection on an interval say choose Xint in the interval of temperatures 390-399 I tried this syntax Xint<- X[t>=390 && t< 400] typing >XintI get the answer numeric(0) it did not select any object! 'though I verified that there indeed are occrencies of X in this interval Any idea? thanks Anne
2016 Jan 07
2
TableGen error message: top-level forms in instruction pattern should have void types
...l pointer register we call GRP. For example, let's say we want to access a global variable called 'answer'. The relevant part of the .ll file looks like: @answer = addrspace(4) global i32 42, align 4 @two = addrspace(3) global i32 2, align 4 @seven = addrspace(2) global i32 7, align 4 @xint = common global i32 0, align 4 @y = global [1 x i32*] [i32* @xint], align 8 ; Function Attrs: nounwind uwtable define i32 @main(i32 %argc, i8** %argv) #0 { entry: %argc.addr = alloca i32, align 4 %argv.addr = alloca i8**, align 8 %bint = alloca i32, align 4 %cint = alloca i32, align 4 %a...
2002 Jan 25
2
selecting clusters of points
All: Are there any functions out there for selecting all the points in a region of a plot. I envision something like the identify() function except one could circle a cloud of points (and perhaps a vector would be returned of the same length as the points plotted indicating logical membership in the circled cloud). Perhaps someone has done something with the locator() function that would
2015 Aug 28
2
RFC: alloca -- specify rounding factor for allocation (and more)
...igned char space[ 64 * ((sizeof( struct param_a_b_c) + 63) / 64)]; X}; END-of-types.h echo x - a_b.c sed 's/^X//' >a_b.c << 'END-of-a_b.c' X#include "types.h" X#include <assert.h> X X Xextern int g( union alloc_param_a_b_c *space); X X X#if REUSE X Xint f( union alloc_param_a_b *space) X{ X assert( sizeof( union alloc_param_a_b) == sizeof( union alloc_param_a_b_c)); X X ((union alloc_param_a_b_c *) space)->param.c = 1848; X return( g( (union alloc_param_a_b_c *) space)); X} X X#else X Xint f( union alloc_param_a_b *space) X{ X unio...
2010 Apr 19
3
nls for piecewise linear regression not converging to least square
...e just copied from real data. y1<-c(2.37700445, 1.76209775, 0.09795576, 2.21834963, 6.62262243, 15.70471269, 21.92956392, 36.39401717, 32.43620195, 44.77442277) x1<-c(24.6, 28.9, 33.2, 37.6, 42.0, 46.4, 50.9, 55.3, 59.8, 64.3) dat <- data.frame(x1,y1) nlmod <- nls(y1 ~ ifelse(x1 < xint+(yint/slp), yint, yint + (x1-(xint+(yint/slp)))*slp), data=dat, control=list(minFactor=1e-5,maxiter=500,warnOnly=T), start=list(xint=39.27464924, yint=0.09795576, slp=2.15061064), na.action=na.omit, trace=T) ##plotting the function plot(dat$x1,dat$y1) segments(x...
2016 Jan 07
2
TableGen error message: top-level forms in instruction pattern should have void types
On Thu, Jan 7, 2016 at 12:21 PM, Krzysztof Parzyszek via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On 1/7/2016 1:55 PM, Phil Tomson via llvm-dev wrote: > >> >> let Uses= [GRP] in { >> def RelAddr : XSTGPseudo< (outs), >> (ins GPRC:$spoff, GPRC:$dst), >>
2016 Jun 13
2
Is addrspace info available during instruction scheduling?
...being loaded from. I was thinking I could do this by overriding getOperandLatency in our target, but I'm wondering if the addrspace info is available when instructions are scheduled? For example, I have this in our llvm IR: %0 = load i32 addrspace(4)* @answer, align 4 store i32 %0, i32* @xint, align 4 %1 = load i32 addrspace(2)* @seven, align 4 store i32 %1, i32* %bint, align 4 %2 = load i32 addrspace(3)* @two, align 4 store i32 %2, i32* %cint, align 4 Loading from addrspace(4) or addrspace(3) should have a much higher latency than loading from addrspace(2) or addrspace(1). Bu...
2007 Jul 25
0
Function polr and discrete ordinal scale
...if(missing(newdata)) Y <- object$fitted else { newdata <- as.data.frame(newdata) Terms <- delete.response(object$terms) m <- model.frame(Terms, newdata, na.action = function(x) x) X <- model.matrix(Terms, m, contrasts = object$contrasts) xint <- match("(Intercept)", dimnames(X)[[2]], nomatch=0) if(xint > 0) X <- X[, -xint, drop=F] n <- nrow(X) q <- length(object$zeta) eta <- drop(X %*% object$coef) cumpr <- matrix(plogis(matrix(object$zeta, n, q, byrow=T) - eta), , q...
2013 Jun 07
1
gamm in mgcv random effect significance
...t(Case=~1, z=~1, int=~1),correlation=corAR1()) Any help would be appreciated. Thanks. Will Shadish ******************************************** g1 $lme Linear mixed-effects model fit by maximum likelihood Data: data Log-likelihood: -437.696 Fixed: fixed X(Intercept) Xz Xint Xs(xc)Fx1 0.6738466 -2.5688317 0.0137415 -0.1801294 Random effects: Formula: ~Xr - 1 | g Structure: pdIdnot Xr1 Xr2 Xr3 Xr4 Xr5 Xr6 Xr7 Xr8 Residual StdDev: 0.0004377781 0.0004377781 0.0004377781 0.000437778...
2010 Apr 19
2
nls minimum factor error
...sibilities? ##Here's a sample dataset and code. y2<-c(2.404529, 1.625661, 1.013981, 3.810921, 10.023745, 10.990817, 10.740636, 11.246827,17.022761, 21.430386) x2<-c(25.0, 29.3, 33.8, 38.3, 42.8, 47.2, 51.6, 55.8, 60.4, 64.9) dat <- data.frame(x2,y2) nlmod <- nls(y2 ~ ifelse(x2 < xint+(yint/slp), yint, yint + (x2-(xint+(yint/slp)))*slp), data=dat, control=list(minFactor=1e-5,maxiter=500,warnOnly=T), start=list(xint=40.49782, yint=1.013981, slp=0.8547828), na.action=na.omit, trace=T) ##plotting the function plot(dat$x2,dat$y2) segments(x0=0, x...
2006 Jun 26
0
[klibc 21/43] alpha support for klibc
...l +++ b/usr/klibc/arch/alpha/divide.c @@ -0,0 +1,59 @@ +#include <stdint.h> +#include <asm/gentrap.h> +#include <asm/pal.h> + +#if BITS == 64 +typedef uint64_t uint; +typedef int64_t sint; +#else +typedef uint32_t uint; +typedef int32_t sint; +#endif + +#ifdef SIGNED +typedef sint xint; +#else +typedef uint xint; +#endif + +xint NAME(uint num, uint den) +{ + uint quot = 0, qbit = 1; + int minus = 0; + xint v; + + if (den == 0) { + /* This is really $16, but $16 and $24 are exchanged by a script */ + register unsigned long cause asm("$24") = GEN_INTDIV; + asm volatile...
2005 Aug 16
2
problem using model.frame()
...L if (formula[[2]] == "1" || formula[[2]] == "0") Y <- NULL else { mf <- model.frame(formula, data, na.action = na.fail) Y <- model.matrix(formula, mf) if (any(colnames(Y) == "(Intercept)")) { xint <- which(colnames(Y) == "(Intercept)") Y <- Y[, -xint, drop = FALSE] } } list(X = X, Y = Y) } if (missing(data)) data <- parent.frame() #browser() dat <- parseFormula(formula, data) -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~...
2002 Jun 16
1
Can NOT start R in windows2000 (PR#1678)
Full_Name: Xin Tian Version: 1.5.0 or 1.4.0 OS: windows 2000 Submission from: (NULL) (165.230.240.114) I tried to install R 1.5.0 or R 1.4.0 to my PC with windows2000. After installation, whenever I clicked R icon, it returned to me an error message: "Rgui.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created."
2007 Feb 18
3
Starting samba configuration
After installing samba, "rpm -q" shows me I have samba, samba-common, samba-client and samba-swat installed. However, putting http://localhost:901 in the browser brings up an error that the URL cannot be found. Not sure where to go from here. Appreciate advice Thanks Send instant messages to your online friends http://au.messenger.yahoo.com -------------- next part -------------- An
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at:
2013 Jul 17
3
Help with filing a [maybe] ZFS/mmap bug.
Hi All, I have what I think is a ZFS related bug. Unfortunately my simplest test case is a bit cumbersome and I haven't definitively proven that the problem is ZFS related. I'm hoping for some feedback on how to move forward. Quick background: I rip my CD's using grip and produce flac files. I tag the music using Musicbrainz' Picard and transcode it to mp3's within Picard