search for: diff1

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

Did you mean: diff
2010 Nov 12
1
Problem retrieving data from R2InBUGS
Dear list I am calling the functiton bugs() provided by R2WinBugs to performs an IRT analysis. The function returns a set of estimated parameters over n replications/iterations. For each replication, two sets of person measures (theta1 and theta2) and two sets of item difficulty parameters (diff1 and diff2) are returned. The code used to obtain these estimates is as follows: sim <- bugs(data,init,model.file="drift.bugs",parameters=c("theta1","theta2","diff1","diff2"),n.chains=n.chains,n.iter=n.reps,n.burnin=1000,bin=1,n.thin=1,digits=3,...
2017 Mar 21
0
[PATCH] net: virtio_net: use new api ethtool_{get|set}_link_ksettings
..._get_channels(struct net_device *dev, } /* Check if the user is trying to change anything besides speed/duplex */ -static bool virtnet_validate_ethtool_cmd(const struct ethtool_cmd *cmd) +static bool +virtnet_validate_ethtool_cmd(const struct ethtool_link_ksettings *cmd) { - struct ethtool_cmd diff1 = *cmd; - struct ethtool_cmd diff2 = {}; + struct ethtool_link_ksettings diff1 = *cmd; + struct ethtool_link_ksettings diff2 = {}; /* cmd is always set so we need to clear it, validate the port type * and also without autonegotiation we can ignore advertising */ - ethtool_cmd_speed_set(&a...
2017 Mar 21
0
[PATCH] net: virtio_net: use new api ethtool_{get|set}_link_ksettings
..._get_channels(struct net_device *dev, } /* Check if the user is trying to change anything besides speed/duplex */ -static bool virtnet_validate_ethtool_cmd(const struct ethtool_cmd *cmd) +static bool +virtnet_validate_ethtool_cmd(const struct ethtool_link_ksettings *cmd) { - struct ethtool_cmd diff1 = *cmd; - struct ethtool_cmd diff2 = {}; + struct ethtool_link_ksettings diff1 = *cmd; + struct ethtool_link_ksettings diff2 = {}; /* cmd is always set so we need to clear it, validate the port type * and also without autonegotiation we can ignore advertising */ - ethtool_cmd_speed_set(&a...
2017 Mar 21
1
[PATCH 2] net: virtio_net: use new api ethtool_{get|set}_link_ksettings
..._get_channels(struct net_device *dev, } /* Check if the user is trying to change anything besides speed/duplex */ -static bool virtnet_validate_ethtool_cmd(const struct ethtool_cmd *cmd) +static bool +virtnet_validate_ethtool_cmd(const struct ethtool_link_ksettings *cmd) { - struct ethtool_cmd diff1 = *cmd; - struct ethtool_cmd diff2 = {}; + struct ethtool_link_ksettings diff1 = *cmd; + struct ethtool_link_ksettings diff2 = {}; /* cmd is always set so we need to clear it, validate the port type * and also without autonegotiation we can ignore advertising */ - ethtool_cmd_speed_set(&a...
2017 Mar 21
1
[PATCH 2] net: virtio_net: use new api ethtool_{get|set}_link_ksettings
..._get_channels(struct net_device *dev, } /* Check if the user is trying to change anything besides speed/duplex */ -static bool virtnet_validate_ethtool_cmd(const struct ethtool_cmd *cmd) +static bool +virtnet_validate_ethtool_cmd(const struct ethtool_link_ksettings *cmd) { - struct ethtool_cmd diff1 = *cmd; - struct ethtool_cmd diff2 = {}; + struct ethtool_link_ksettings diff1 = *cmd; + struct ethtool_link_ksettings diff2 = {}; /* cmd is always set so we need to clear it, validate the port type * and also without autonegotiation we can ignore advertising */ - ethtool_cmd_speed_set(&a...
2004 Aug 06
2
optimization possible?
hi, i did some tests about performance in jspeex ... uls@mainframe:~/eclipse/avrelay$ java TestClient Diff1: 0 10 Diff2: 141 started. uls@mainframe:~/eclipse/avrelay$ <p>{ SpeexEncoder e1=new SpeexEncoder(); e1.init(0,1,44100,1); byte[] by1=new byte[320]; long l1=System.currentTimeMillis(); long l2=System.currentTimeMillis(); System.out.println("Diff1: "+(l2-l1));...
2011 Feb 24
1
reshaping list into a contingency table
Hi all, I have been struggling with this problem for a few days. I have a data table like this: gene rpkm1 diff1 rpkm2 diff2 gene1 23 50 13 120 gene2 111 220 827 1200 gene3 75 998 71 910 And I want to re-format it so that, for each gene, I have a 2x2 contingency table, such as: gene rpkm diff gene1 23 50 gene1 13 120 gene2 111 220 gene2 827 1200 gene3 75 998 gene3 71 9...
2013 Jun 30
0
Help: argument is not numeric or logical: returning NA
...];block7<- x[with(x,V1==6 & V6>300 & V6<3000),"V6"];block4.m<- mean(block4);block7.m<- mean(block7);block4.sd<-sd(block4);block7.sd<- sd(block7);full<- x[with(x,(V1==3|V1==6) & (V6 >300) & (V6 <3000)),"V6"];full.sd<- sd(full);diff1<-block7.m-block4.m;d<- diff1/full.sd; c(block4.m,block4.sd,block7.m,block7.sd,diff1,full.sd,d) })) colnames(res)<- c("block4.m","block4.sd","block7.m","block7.sd","diff1","full.sd","d") Hope this helps. A.K. Hi,...
2018 Nov 30
1
Xapian Benchmark results
...th.join(); } infs.close(); Xapian::Database final_db; for(const Xapian::WritableDatabase &d : dbs) { final_db.add_database(d); } Xapian::Enquire enquire(final_db); Xapian::QueryParser parser; end = high_resolution_clock::now(); auto diff1 = duration_cast<milliseconds>(end - start).count(); cout << "Indexing time: " << diff1 << "ms" << endl; // search parser.set_stemmer(stemmer); parser.set_database(final_db); parser.set_stemming_strategy(Xapian::QueryParser::STEM_SOME);...
2006 Sep 02
0
[LLVMdev] gfortran calling convention
On Fri, 1 Sep 2006, Michael McCracken wrote: > Here's what works now, and I have a separate test case for each of these: > > statement functions > intrinsic functions (print, cos, etc) > loops, goto statments > scalarized array operations > function calls with *no arguments* > simple common blocks Great! > Function calls with more than one argument don't work.
2006 Sep 02
2
[LLVMdev] gfortran calling convention
The NIST F77 test suite doesn't seem to be compatible with gfortran at all, so I had to work from my own sample codes, and generate test cases from them. Here's what works now, and I have a separate test case for each of these: statement functions intrinsic functions (print, cos, etc) loops, goto statments scalarized array operations function calls with *no arguments* simple common
2004 Aug 06
0
optimization possible?
hi, Ulrich B. Staudinger wrote: > uls@mainframe:~/eclipse/avrelay$ java TestClient > Diff1: 0 > 10 > Diff2: 141 > started. > uls@mainframe:~/eclipse/avrelay$ Sorry, i think this number (diff2) occured due to jvm startup load ... when doing repetive encoding the numbers are much closer to Marc's minimum requirements (with Diff being the elapsed time for encoding on my...
2011 Jan 23
1
Passing formula as an agrument
Hi, I had a function that looked like: diff <- lm(x ~ y + z) How can I pass the argument to the 'lm' function on the fly? E.g., if I pass it in as a string (e.g. "x ~ y + z"), then the lm function treats it as a string and not a proper argument. many thanks [[alternative HTML version deleted]]
2004 Oct 08
0
(retry) 3.0.7: username map doesn't work with security=ADS
...without the domain. So, as a workaround, I could change my usermap file to include the domain with the usernames; e.g., unixuser = pcuser SAMPLE.COM\pcuser but that's kind of clunky. So instead I created a patch for source/smbd/sesssetup.c, which I put here: http://www.avalon.net/~hakehoe/diff1.txt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBZrp64uXPAG0A1J4RAoNFAJwMH1iAArYJA6RIDIECNIIsgl6q+ACcCtcK c1R0Xg1ureKLzMobLB4P+sE= =ghP7 -----END PGP SIGNATURE-----
2004 Oct 18
0
[LLVMdev] Missing inclusion of <algorithm> and the fix for variable length array I forgot to attach to previous message
...as not defined - I guess some gcc header included this indirectly, but VC does not... I also include the patch for the variable length array problem I forgot to attach to my previous mail. m. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diff1.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041018/14434efb/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diff.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041018/14434efb/atta...
2012 Dec 10
1
Sweep out control
Dear all, Assume that I have the following data structure: d <- expand.grid(subj=1:5, time=1:3, treatment=LETTERS[1:3]) d$value <- 10 ^ (as.numeric(d$treatment) + 1) + 10 * d$subj + d$time d$value2 <- 100000 + d$value where d$treatment == "C" stands for my control group. What I want to achieve now is to subtract the values corresponding to d$treatment == "C" from