search for: maxi

Displaying 20 results from an estimated 166 matches for "maxi".

Did you mean: max
2013 Oct 10
2
Help with expression()
...ed use of the expression function. I have a long series of text and variable to paste together including a degree symbol. The text is to be placed on my scatter plot using the mtext function. Using expression like this: changetext = expression(paste("Change from ",mini," to ", maxi, ":", diff ,degree,"C",collapse="")) does not evaluate my user defined variables - mini,maxi, and diff - just printing them out as words Using expression like this: changetext = paste("Change from ",mini," to ", maxi, ":", diff ,express...
2008 Jun 25
2
Is this sapply behaviour normal?
...500 2001081512 2001081600 2001081612 2001081700 2001081712 2001081800 2001081812 2001081900 2001081912 ... ..$ logrho: num [1:83] 1.16 -1.30 -1.30 -1.30 -1.30 ... ..$ w2 : num [1:83] 1.01 1.27 1.24 1.31 1.28 ... ..$ rms : num [1:83] 5.001 0.630 0.616 0.685 0.655 ... ..$ maxi : num [1:83] 8.66 3.39 3.83 3.35 3.23 ... $ log30:'data.frame': 71 obs. of 5 variables: ..$ DATE : int [1:71] 2001081500 2001081512 2001081600 2001081612 2001081700 2001081712 2001081800 2001081812 2001081900 2001081912 ... ..$ logrho: num [1:71] 1.16 -1.00 -1.00 -1....
2009 Dec 19
4
expand.grid game
Dear list, In a little numbers game, I've hit a performance snag and I'm not sure how to code this in C. The game is the following: how many 8-digit numbers have the sum of their digits equal to 17? The brute-force answer could be: maxi <- 9 # digits from 0 to 9 N <- 5 # 8 is too large test <- 17 # for example's sake sum(rowSums(do.call(expand.grid, c(list(1:maxi), rep(list(0:maxi), N-1)))) == test) ## 3675 Now, if I make N = 8, R stalls for some time and finally gives up with: Error: cannot allocate vector of size...
2000 Oct 26
0
RE: Maxis/Vorbis
>>What Paul wants to do is kosher. If Maxis >>decides the LGPL is in the way, we'll remove >>it. (although i honestly think in his >>circumstances things are kosher under the license). I really doubt there are going to be any issues. What we (Maxis) want to do with Vorbis really isn't any different tha...
2012 Apr 30
4
[PATCHv2] x86info: dump kvm cpuid's
...l in the future report max HV leaf in eax. For now it reports eax = 0 so add a work around for that. --- diff --git a/identify.c b/identify.c index 33f35de..a4a3763 100644 --- a/identify.c +++ b/identify.c @@ -9,8 +9,8 @@ void get_cpu_info_basics(struct cpudata *cpu) { - unsigned int maxi, maxei, vendor, address_bits; - unsigned int eax; + unsigned int maxi, maxei, maxhv, vendor, address_bits; + unsigned int eax, ebx, ecx; cpuid(cpu->number, 0, &maxi, &vendor, NULL, NULL); maxi &= 0xffff; /* The high-order word is non-zero on some Cyrix CPUs */ @@ -19,7 +19,7 @...
2012 Apr 30
4
[PATCHv2] x86info: dump kvm cpuid's
...l in the future report max HV leaf in eax. For now it reports eax = 0 so add a work around for that. --- diff --git a/identify.c b/identify.c index 33f35de..a4a3763 100644 --- a/identify.c +++ b/identify.c @@ -9,8 +9,8 @@ void get_cpu_info_basics(struct cpudata *cpu) { - unsigned int maxi, maxei, vendor, address_bits; - unsigned int eax; + unsigned int maxi, maxei, maxhv, vendor, address_bits; + unsigned int eax, ebx, ecx; cpuid(cpu->number, 0, &maxi, &vendor, NULL, NULL); maxi &= 0xffff; /* The high-order word is non-zero on some Cyrix CPUs */ @@ -19,7 +19,7 @...
2010 Feb 09
1
texture dimension limits in ddx
in nv10_exa.c : check_texture does : if (w > 2046 || h > 2046) NOUVEAU_FALLBACK("picture too large, %dx%d\n", w, h); check_render_target does : if (w > 4096 || h > 4096) return FALSE; So we have different size limits for the source and the destination ? Another thing is that nv20 uses nv10_exa.c code, and the limit in
2009 Jul 17
2
log error for use on axis
Hi, I am new to R plot. I am trying to scale my y axis in log. When I do this I receive the following error Error in axis(side = side, at = at, labels = labels, ...) : CreateAtVector [log-axis()]: axp[0] = 0 < 0! In addition: Warning messages: 1: In plot.window(...) : nonfinite axis limits [GScale(-inf,1.31772,2, .); log=1] 2: In axis(side = side, at = at, labels = labels, ...) :
2014 Feb 04
2
[PATCH 1/3] nv50: rework primid logic
Functionally identical but much simpler. Should also better integrate with future layer/viewport changes/fixes. Cc: 10.1 <mesa-stable at lists.freedesktop.org> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Not *strictly* necessary in stable, but it will make backporting later fixes easier. No regressions in piglit. src/gallium/drivers/nouveau/nv50/nv50_program.c | 5
2000 Oct 05
1
Games...
...waiting for any volunteers; I am planning on doing it myself. I just don't want to do it until I have some reason to believe that what I do will not have to be redone again later after it changes. Why don't I "convince EA to put someone on the task"? I have convinced EA (well, Maxis) and that person is me right now, though we have others that could do it too. I am simply more motivated than they are at this point. In actuality, Maxis sound programming is totally separate from EA Sports sound programming which is separate from Westwood sound programming. So each division w...
2005 Dec 17
1
How to reverse the sequence of axis Y ??
Hello R-users! My (simple?) doubt: How to reverse the sequence of axis Y ?? the diagram below illustrate my idea... (default) | | . | . | . | 3 | 2 | 1 | 0 +---------------------------- 0 1 2 3 ... like I want... 0 | 1 | 2 | 3 | . | . | . | | +---------------------------- 0 1 2 3 ... thanks in advance klebyn
2010 Apr 02
1
All sub-summands of a vector
...9 10 I can do this with for loops (code below) but for long vectors (10^6 elements) looping takes more time than I'd like. Any suggestions? Thanks very much in advance-- Andy # calculate sums of all sub-vectors... x <- 1:4 sub.vect <- vector("list",4) for(t in 1:4) { maxi <- 4 - t + 1 this.sub <- numeric(maxi) for(i in 1:maxi) { this.sub[i] <- sum(x[i:(i+t-1)]) } sub.vect[[t]] <- this.sub } sub.vect [[alternative HTML version deleted]]
2002 Oct 14
1
mount_smbfs: can't get handle to requester (no /dev/nsmb* device)
Hi all ! I have a little problem here mounting or browsing samba shares. I have a FreeBSD 4.6.2 running samba, and a share on that called public. when I try to mount that share it asks for password, and then gives an error: ex. libra# mount_smbfs //maxi@samba/public /mnt Password: mount_smbfs: can't get handle to requester (no /dev/nsmb* device) libra# I can list the shares with smbclient, no errors at all. I can not login to the samba like this: libra# smbutil login //maxi@samba Password: smbutil: can't get handle to requester (no /de...
2012 May 25
1
Correlograms: using boxes and different variables on rows and columns
I'm trying to make correlograms using corrgram. See below for a simple example. #### library(corrgram) data(baseball) vars1 <- c("Assists","Atbat","Errors","Hits","Homer","logSal") vars2 <- c("Putouts","RBI","Runs","Walks","Years")
2018 Jul 18
0
[PATCH 2/2] drm/probe_helper: Add drm_helper_probe_single_connector_modes_with_rpm()
For nouveau, while the GPU is guaranteed to be on when a hotplug has been received, the same assertion does not hold true if a connector probe has been started by userspace without having had received a sysfs event. So ensure that any connector probing keeps the GPU alive for the duration of the probe by introducing drm_helper_probe_single_connector_modes_with_rpm(). It's the same as
2000 Oct 04
2
RE: FhG $15k minimum and games...
>>The game companies are interested in >>Vorbis, and this is a good thing :) I am a lead programmer at a major game company (Maxis) and Vorbis is potentially very important to us. I am pushing to make it the default streaming sound format (e.g. non-sound effects) for all future titles. This assumes that it works as well as anticipated. Other subdivisions of Electronic Arts are looking at it as well. The day Vorbis is ready...
2001 Aug 30
1
imagenrgb: Function to display RGB images in R
...ferent from |0,255|, # stretch MUST BE "l" or "n" m <- dim(mat3d)[1] n <- dim(mat3d)[2] #1. Color number reduction to ngris^3. Much better if a clustering were #used, but should be a fast function. if(stretch=="l") { mini <- apply(mat3d,3,min) maxi <- apply(mat3d,3,max) } if(stretch=="n") { med <- apply(mat3d,3,median) ma <- apply(mat3d,3,mad) mini <- med - 3*ma maxi <- med + 3*ma } if(stretch==" ") mat3d <- round(rescale(mat3d,oldmin=0,oldmax=255,newmax=ngris-1)) else { mat3...
2010 Dec 29
1
Counting number of datasets and appending them
...matrix in the memory, and append them. Suppose I have 20 dataset saved to different .rda files named gradeFileData1, gradeFileData2,...., gradeFileData20. And I would like to read them each into a dataset in the memory, then combine them. I wrote something like: e1<-new.env(parent=.GlobalEnv) maxi <- 20 i <- 1 while (i<=maxi) { e1$d <-1 datanam <- paste("data",i,sep="") data <- e1$d names(data)[length(data)] <- datanam i <- i+1 } The function "names(data)[length(data)]" doesn't seem to work. I need it to be named like data1,data2,,,,...
2003 Dec 12
1
legend() graphics output bug (PR#5725)
Full_Name: Daniel Gasser Version: 1.8.1 OS: Win XP Submission from: (NULL) (130.60.20.92) The legend()-Function shows a different behaviour than it did in Version 1.6.1. It plots a black box left of the legend lines on each legend row. In 1.6.1 there was just the line in appropriate color for each row in the legend (i was using exactly the same legend statement and same plot function). My legend
2007 Oct 29
1
shading of curves with polygon
Hello again With the poylgon function it's possible to plot shaded areas under a curve. But somehow it connects the start and the endpoint of a line and fills whats between them. I would actually like to set the boarders of the shading by two min and max curves, but I failed. i tried stl like: polygon(min, max, border=0), where min and max are my curves plotet by plot(max) lines(min)