Displaying 14 results from an estimated 14 matches for "sel2".
Did you mean:
sel
2010 Dec 08
1
Formatting 'names.arg' in barplot
...; would be the theta symbol followed by
subscript "r". My attempts haven't even come close to what I'm after. I
could switch to ?text or ?mtext, but thought for positioning purposes it
would be easier to do it with names.arg in the barplot function call.
Thanks,
Eric
base.dat.sel2<-read.table(textConnection("base.dat.Covariate
base.dat.US.Number.Observations
base.dat.US.Num.Obs.to.Achieve.Starting.Residual
base.dat.US.Percent.Reduction.in.EM38.Surveys
base.dat.DS.Number.Observations
base.dat.DS.Num.Obs.to.Achieve.Starting.Residual
base.dat.DS.Percent.Reduction.in.EM3...
2016 Sep 28
4
IR canonicalization: select or bool math?
...l_1_or_2(i1 %a) {
%b = select i1 %a, i32 1, i32 2
ret i32 %b
}
b. define i32 @sel_1_or_2(i1 %a) {
%b = zext i1 %a to i32
%c = sub i32 2, %b
ret i32 %c
}
7. Choose between integers that are not consecutive?
a. define i32 @sel_0_or_2(i1 %a) {
%sel = select i1 %a, i32 2, i32 0
ret i32 %sel2
}
b. define i32 @sel_0_or_2(i1 %a) {
%zexta = zext i1 %a to i32
%add = add i32 %zexta, %zexta
ret i32 %add
}
8. Choose {0,1,2} based on 2 bools?
a. define i32 @sel_sel(i1 %a, i1 %b) {
%zexta = zext i1 %a to i32
%sel1 = select i1 %a, i32 2, i32 1
%sel2 = select i1 %b, i32 %sel1, %zexta...
2008 Mar 20
0
[RFC/PATCH 04/15] preparation: split sysinfo defintions for kvm use
...rved_0[4];
- unsigned short cpus_total;
- unsigned short cpus_configured;
- unsigned short cpus_standby;
- unsigned short cpus_reserved;
- char name[8];
- unsigned int caf;
- char cpi[16];
- char reserved_1[24];
-
- } vm[8];
-};
-
-static inline int stsi(void *sysinfo, int fc, int sel1, int sel2)
-{
- register int r0 asm("0") = (fc << 28) | sel1;
- register int r1 asm("1") = sel2;
-
- asm volatile(
- " stsi 0(%2)\n"
- "0: jz 2f\n"
- "1: lhi %0,%3\n"
- "2:\n"
- EX_TABLE(0b,1b)
- : "+d" (r0) : "d"...
2008 Mar 20
0
[RFC/PATCH 04/15] preparation: split sysinfo defintions for kvm use
...rved_0[4];
- unsigned short cpus_total;
- unsigned short cpus_configured;
- unsigned short cpus_standby;
- unsigned short cpus_reserved;
- char name[8];
- unsigned int caf;
- char cpi[16];
- char reserved_1[24];
-
- } vm[8];
-};
-
-static inline int stsi(void *sysinfo, int fc, int sel1, int sel2)
-{
- register int r0 asm("0") = (fc << 28) | sel1;
- register int r1 asm("1") = sel2;
-
- asm volatile(
- " stsi 0(%2)\n"
- "0: jz 2f\n"
- "1: lhi %0,%3\n"
- "2:\n"
- EX_TABLE(0b,1b)
- : "+d" (r0) : "d"...
2008 Mar 20
0
[RFC/PATCH 08/15] kvm-s390: intercepts for privileged instructions
...gt;vm[0].name, 8);
+ memcpy(mem->vm[0].cpi, "KVM/Linux ", 16);
+ ASCEBC(mem->vm[0].cpi, 16);
+}
+
+static int handle_stsi(struct kvm_vcpu *vcpu)
+{
+ int fc = (vcpu->arch.guest_gprs[0] & 0xf0000000) >> 28;
+ int sel1 = vcpu->arch.guest_gprs[0] & 0xff;
+ int sel2 = vcpu->arch.guest_gprs[1] & 0xffff;
+ int base2 = vcpu->arch.sie_block->ipb >> 28;
+ int disp2 = ((vcpu->arch.sie_block->ipb & 0x0fff0000) >> 16);
+ u64 operand2;
+ unsigned long mem;
+
+ vcpu->stat.instruction_stsi++;
+ VCPU_EVENT(vcpu, 4, "stsi: fc: %x...
2011 Jan 11
1
how to sort new data frame based on the original data frame
...dom rows of the 8 rows of G
numbers. the rest should be filled with 6 random rows of the 8 rows of W
numbers. At the same time, the SubIDs of all eight rows should be different
among each other.
here below is the syntax I've used:
> fff<-function(dat,g=2,w=6){
+ sel1<-sample(1:8,g)
+ sel2<-sample((1:8)[-sel1],w)
+ M=dat[sel1,2:5]
+ N=dat[sel2,6:9]
+ colnames(N)<-colnames(M)
+ rbind(M,N)
+}
> result<-vector("list",100)
> for(i in 1:100)result[[i]]<-fff(data,2,6)
> result
here is the first random sample:
> result[[1]]
G1 G2 G3 G4...
2006 Jun 28
2
superimposing histograms con't
...nted to some code to to this
but I have found another way that works even easier.
hist(x[sel1],xlim=c(a,b),ylim=c(A,B)) - this plots the histogram for the
first group (indexed by sel1) but with an x axis and a y axis that spans the
entire range.
par(new=T) - to keep on the same graph
hist(x[sel2],main=Null,xlab=NULL,ylab=NULL,axes=F) -superimposes the second
histogram
par(new=T) - to keep on the same graph
hist(x[sel3],main=Null,xlab=NULL,ylab=NULL,axes=F) -superimposes the third
histogram
Bill Shipley
North American Editor, Annals of Botany
Editor, "Population and Communi...
2006 Feb 10
14
[PATCH] TC: bug fixes to the "sample" clause
...diff -Nur iproute-20051007.keep/tc/f_u32.c iproute-20051007/tc/f_u32.c
--- iproute-20051007.keep/tc/f_u32.c 2005-01-19 08:11:58.000000000 +1000
+++ iproute-20051007/tc/f_u32.c 2006-01-12 17:12:43.000000000 +1000
@@ -878,6 +878,7 @@
struct tc_u32_sel sel;
struct tc_u32_key keys[4];
} sel2;
+ memset(&sel2, 0, sizeof(sel2));
NEXT_ARG();
if (parse_selector(&argc, &argv, &sel2.sel, n)) {
fprintf(stderr, "Illegal \"sample\"\n");
PATCH 2
=======
In tc, the u32 sample clause uses the 2.4 hashing algorithm.
The hashing algorithm used by...
2010 Nov 15
5
Sampling problem
Hey,
I am hoping someone can help me with a sampling question.
I have a data frame of 8 variables (the first column is the subjects' id):
SubID CSE1 CSE2 CSE3 CSE4 WSE1 WSE2 WSE3 WSE4
1 6 5 6 2 6 2 2 4
2 6 4 7 2 6 6 2 3
3 5 5 5 5 5 5
2020 Jan 23
3
How to find out the default CPU / Features String for a given triple?
...ve-x10,-reserve-x11,-reserve-x12,-reserve-x13,-reserve-x14,-reserve-x15,-reserve-x18,-reserve-x2,-reserve-x20,-reserve-x21,-reserve-x22,-reserve-x23,-reserve-x24,-reserve-x25,-reserve-x26,-reserve-x27,-reserve-x28,-reserve-x3,-reserve-x4,-reserve-x5,-reserve-x6,-reserve-x7,-reserve-x9,-saphira,+sb,+sel2,-sha2,-sha3,-slow-misaligned-128store,-slow-paired-128,-slow-strqro-store,-sm4,-spe,+specrestrict,+ssbs,-strict-align,-sve,-sve2,-sve2-aes,-sve2-bitperm,-sve2-sha3,-sve2-sm4,-thunderx,-thunderx2t99,-thunderxt81,-thunderxt83,-thunderxt88,+tlb-rmi,-tpidr-el1,-tpidr-el2,-tpidr-el3,+tracev8.4,-tsv110,+...
2006 Jun 28
0
superimposing histograms con't [Broadcast]
...nted to some code to to this
but I have found another way that works even easier.
hist(x[sel1],xlim=c(a,b),ylim=c(A,B)) - this plots the histogram for the
first group (indexed by sel1) but with an x axis and a y axis that spans the
entire range.
par(new=T) - to keep on the same graph
hist(x[sel2],main=Null,xlab=NULL,ylab=NULL,axes=F) -superimposes the second
histogram
par(new=T) - to keep on the same graph
hist(x[sel3],main=Null,xlab=NULL,ylab=NULL,axes=F) -superimposes the third
histogram
Bill Shipley
North American Editor, Annals of Botany
Editor, "Population and Communi...
2001 Aug 23
2
difficulies with boxplot
Dear list,
sorry for bothering you with a probably simple question... I searched
the archive but couldn't find the right answer.
I have computed upper and lower bounds of a region and would like to
plot them in a boxplot. My problem is now to get the two boxplots in the
same graphic so that the boxplot of the upper bounds is directly on top
of the boxplot of the lower bounds. The reason I
2008 Mar 20
34
[RFC/PATCH 00/15] kvm on big iron
This patch series introduces a backend for kvm to run on IBM System z
machines that uses the mainframe's sie virtualization capability. This
work runs 64bit guests on z800/z890/z900/z990/z9/z10 class machines with
a 64bit linux host. Userspace will follow once we're done brushing it
over.
The patch queue consists of the following patches, which can be applied
in sequence on top of kvm.git
2008 Mar 20
34
[RFC/PATCH 00/15] kvm on big iron
This patch series introduces a backend for kvm to run on IBM System z
machines that uses the mainframe's sie virtualization capability. This
work runs 64bit guests on z800/z890/z900/z990/z9/z10 class machines with
a 64bit linux host. Userspace will follow once we're done brushing it
over.
The patch queue consists of the following patches, which can be applied
in sequence on top of kvm.git