Displaying 20 results from an estimated 38 matches for "conditon".
Did you mean:
condition
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"
....c
index 9cc10e438b3d..003dc8edf1c3 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
@@ -831,7 +831,7 @@ init_generic_condition(struct nvbios_init *init)
init_exec_set(init, false);
break;
default:
- warn("INIT_GENERIC_CONDITON: unknown 0x%02x\n", cond);
+ warn("INIT_GENERIC_CONDITION: unknown 0x%02x\n", cond);
init->offset += size;
break;
}
--
2.15.1
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"
...t.c
index ec0e9f7224b5..3f4f27d191ae 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
@@ -834,7 +834,7 @@ init_generic_condition(struct nvbios_init *init)
init_exec_set(init, false);
break;
default:
- warn("INIT_GENERIC_CONDITON: unknown 0x%02x\n", cond);
+ warn("INIT_GENERIC_CONDITION: unknown 0x%02x\n", cond);
init->offset += size;
break;
}
--
2.20.1
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
...ublished tinyint(1) not null,
something varchar not null,
...
end of table
and i had a query:
@page = Page.find(:all)
it would return only the pages that had pages.published == true.
i thought the def would be something like:
Class Page < ActiveRecord::Base
def find
super
self.find(:all, :conditons => ''published=1'')
end
but it isn''t working.
could possibly do
def find_published
self.find(:all, :conditons => ....)
end
and change all of my find methods to @page.find_published...?
am i going down the wrong train of thought? where/how do i change a
class met...
2006 Jul 03
6
help!
...anything [?]).
in MyController i have an action that selects rows from M1 with an
:include => ''M2s'' and that changes the sql output to "outer left
join...etc" which is great. . . but when i want to add a :conditions
clause, i find that it doesn''t add the conditon correctly into the outer
left join sql command, and it ends up giving me an sql syntax error!
If i try to use the :conditions clause alone (without :include) , i get
no error, which is great.
:)
but how do i get the two together?? isn''t it possible to put a
:condition on a select[habt...
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 .Random.seed for generating 100th set of the first condition and
1st set of the second condtion. Is this right?
.Random.seed is a vector with 626 numbers, but set.seed() only...
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
...hand, the manpage says:
In a multithreaded application, vfork() borrows only the
thread of control that called vfork() in the parent; that
is, the child contains only one thread. The use of vfork()
in multithreaded applications, however, is unsafe due to
race conditons that can cause the child process to become
deadlocked and consequently block both the child and parent
process from execution indefinitely.
But if that?s a concern? fix it ? Waldemar is an integrator, not
a libc hacker. He found a problem and a WFM-style fix, which at
least improves...
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 have...
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() inste...
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() inste...
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
...feed power
to a battery, which discharges continuously to run the equipment.
When the mains go down, the battery stops charging.
My problem is this: The way these products are now labeled, I
could not work out a way to tell which are which. Some look so
small that they almost have to be mere line conditoners, because
there;s no room in the case for a serious battery pack. Others
could be SPS or UPS devices, but I can't tell which. All are now
just labeled "Battery Backups"!
1a: Does anyone have good heuristics for telling the LCs, SPSes,
and UPSes apart based on the packaging or the...
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...