search for: conditonal

Displaying 20 results from an estimated 38 matches for "conditonal".

Did you mean: conditional
2010 Jul 30
2
conditonal "if"
Hi, I have problem with my R program. Actually, it just a simple program, but I do not know the error is. Here is part of my program: .... if (tau2ca==0) {MVvc <- 0.01} else {MVvc <- tau2ca} ri_vc <- si2/MVvc vi_vc <- ri_vc + 1 Y_bar_vc <- sum(y/vi_vc)/sum((1/vi_vc)) tau2MVvc <- sum((1/vi_vc)*(y - Y_bar_vc)^2)/(k-1) .... But then, there is an error displayed in workspace
2008 Aug 22
1
[LLVMdev] Conditonal to constant promotion?
Hi, I tried the memory dependency analysis posted by Wojciech on the attached test case. The analysis had to fallback to conservatives answers sometimes, probably (but not sure) due to the existence of several select instructions that might prevent the analysis from correctly find the answer. In this specific test case, these selects are provably useless and I am trying to get rid of them
2009 Mar 09
0
[LLVMdev] setting conditons (flags) with arithmetic instructions and conditional branching
Hi all, I'm pretty new to the community, but I've run into a number of questions while building a backend for a custom target. I'll keep it to one topic per thread, though. My target has arithmetic instructions (add, sub, etc...) which all set the flags register. There is no explicit comparison instruction for my target. The conditional branching instructions check the flags
2009 Mar 09
0
[LLVMdev] setting conditons (flags) with arithmetic instructions and conditional branching
Hi all, I'm pretty new to the community, but I've run into a number of questions while building a backend for a custom target. I'll keep it to one topic per thread, though. My target has arithmetic instructions (add, sub, etc...) which all set the flags register. There is no explicit comparison instruction for my target. The conditional branching instructions check the flags
2018 Mar 28
0
[PATCH] drm/nouveau/bios/init: fix spelling mistake: "CONDITON" -> "CONDITION"
From: Colin Ian King <colin.king at canonical.com> Trivial fix to spelling mistake in warning message text Signed-off-by: Colin Ian King <colin.king at canonical.com> --- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2011 Apr 29
1
Conditonal Rank
Suppose I have data such as tmp <- data.frame(score = c(1,2,3,4, 4,3,2,1), trial = gl(2,4), Gender = gl(2,2,8, labels=c('M', 'F'))) Now I would like to compute a rank on the variable score conditional on trial and gender. I could do res <- with(tmp, tapply(score, list(Gender, trial), rank)) res[,1] res[,2] and then finagle a way to create a new variable in the dataframe
2019 May 14
2
[PATCH] drm/nouveau/bios/init: fix spelling mistake "CONDITON" -> "CONDITION"
From: Colin Ian King <colin.king at canonical.com> There is a spelling mistake in a warning message. Fix it. Signed-off-by: Colin Ian King <colin.king at canonical.com> --- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2010 Mar 04
1
extracting values conditonal on other values
Dear R helpers, I have a dataframe (test1) containing the time of sunrise and sunset for each day of the year for 3 years. I have another dataframe (test2) containing measurements that are taken every 15 minutes, 24/7. I would like to extract all rows from test2 that occur between sunrise and sunset for the appropriate date. Can you suggest a good vectorized way to do this? Keep in mind
2006 May 02
5
listing parents from child conditon
Hi, How can I grab all parents in a table, depending on a condition in the children table ? Fx. def list @projects = Project.find(:all) end will find all projects in my table. Now let''s say I want show a similar list, for all open projects.. I define an open project, as all lines (Line has belongs_to :Project) that do not yet have a closed_at timestamp set. So basically, I want
2006 Aug 09
7
changing find method
Hi, i was wondering if there was a nice clean way(after all, it is ruby) to change the find method of a certain model/class (Page) so that if i wanted to use a find method on a @page instance it would return only specific rows from the table(if the page.published == true/false: the pages table looked like SQL: ... id int not null auto_increment, published tinyint(1) not null, something
2006 Jul 03
6
help!
Hi, i''m fairly new to ruby on rails, and i know the question at hand may seem simple at first, but i''m getting really caught up in trying to understand this and the docs aren''t giving me answer. i actually thought i knew how the sql commands work (like :include, :conditions, :etc) but obviously, i don''t. there are three models M1, M2, M3 joined by a habtam
2006 Oct 24
1
set.seed() and .Random.number
Hi R-users I have two conditions. For each condition, 100 sets of 10 random numbers from N(0,1) need to be generated. Here is my question. At the begining I specify a seed number. I want to make the 100th set of the first condition and 1st set of the second conditon the same. What do I need to do ? After generating 99th set of 10 random numbers and then saving .Random.seed then using
2019 Feb 14
3
Samba switches between domain controllers
Hi Under what conditon does samba switch between domain controllers ? Are there any special conditions or situations in which samba decides to useĀ  "DC B" rather thanĀ  "DC A" ? In my case samba switches very often. Thanks, Michel
2011 Mar 21
3
unbreak vfork on cris architecture
Hi klibc people, if someone has to say more on this, please do so. I?m only trying to explain what I _think_ I learned? >Begin forwarded message originally by Mike Frysinger: >> On Mon, Mar 21, 2011 at 10:24 AM, Waldemar Brodkorb wrote: >>> unfortunately the common vfork implementation, which just use >>> the syscall function to interact with the kernel, does not
2012 Oct 30
3
boxplots of various levels
noob here trying to make boxplots of some data i would like to separate the boxplots according to conditons of various levels for example: i have group:1 and 2, each group performed tests consisting of condition A,B,C,D side: left and right time: 1 to 10 I would like separate boxplots of the results (x) of the tests (numeric) for each group under each condition on each side over time. so far i
2016 Jun 01
7
[PATCH V3 0/2] vhost_net polling optimization
Hi: This series tries to optimize vhost_net polling at two points: - Stop rx polling for reduicng the unnecessary wakeups during handle_rx(). - Conditonally enable tx polling for reducing the unnecessary traversing and spinlock touching. Test shows about 17% improvement on rx pps. Please review Changes from V2: - Don't enable rx vq if we meet an err or rx vq is empty Changes from V1: - use vhost_net_disable_vq()/vhost_net_enable_vq() instead...
2016 Jun 01
7
[PATCH V3 0/2] vhost_net polling optimization
Hi: This series tries to optimize vhost_net polling at two points: - Stop rx polling for reduicng the unnecessary wakeups during handle_rx(). - Conditonally enable tx polling for reducing the unnecessary traversing and spinlock touching. Test shows about 17% improvement on rx pps. Please review Changes from V2: - Don't enable rx vq if we meet an err or rx vq is empty Changes from V1: - use vhost_net_disable_vq()/vhost_net_enable_vq() instead...
2018 Feb 22
2
Problem with geterrmessage()
Luke Thanks ? I revised the code to: ERRORMESSAGE <- try(source(USERSCRIPTFILE, local=T), silent=T) print(ERRORMESSAGE) now returns: $value [1] 0 $visible [1] FALSE Not clear what to make of that. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On Feb 22, 2018, at 12:45 PM, luke-tierney at
2009 Jan 16
2
Questions on the state of the UPS market
As previously noted, I need to replace a UPS and want to do my product research in public so others can benefit. The information I elicit on this thread will be merged into the UPS-HOWTO. I went to my local computer-equiuipment big-box store, a place called MicroCenter in Ardmore, Pennsylvania. I looked at the range of "UPS" devices they sell and was *completely* confused. Bear in
2016 Jun 02
0
[PATCH V3 0/2] vhost_net polling optimization
From: Jason Wang <jasowang at redhat.com> Date: Wed, 1 Jun 2016 01:56:32 -0400 > This series tries to optimize vhost_net polling at two points: > > - Stop rx polling for reduicng the unnecessary wakeups during > handle_rx(). > - Conditonally enable tx polling for reducing the unnecessary > traversing and spinlock touching. > > Test shows about 17% improvement on rx pps. > > Please review > > Changes from V2: > - Don't enable rx vq if we meet an err or rx vq is empty > Changes from V1: > - use vh...