Displaying 3 results from an estimated 3 matches for "a1_2".
Did you mean:
a102
2013 Aug 22
1
converting a summary table to survey database form
...hen do an aov(score~brand,data=condom.dataframe) for instance.
However to get my original condomData which has the tabulated scores per brand into the summarised form is a pain.
I tried to just get a vector that essentially has all the rows of condomData put into one long vector from i.e. c( a1_1,a1_2...a1_5,a2_1,2_..a2_5.......a10_5)
I would then bind this together with a names vector of rep(c('Ramses','Sheiks','Trojans','Unamed),10) and I would have my desired datafram for anova.
But alas my attempt below does not work:
r<-dim(condomData)[1]
scoreS<-c()
for (i...
2013 Oct 14
0
[LLVMdev] Vectorization of pointer PHI nodes
...e loop by four the scattered accesses from different lines (read[i]..read[i+9+2]) are consecutive and we can efficiently vectorized these accesses (3 vector loads plus interleaves which on arm we can do with VLD3.8):
for (int i = 0; i < 256; i +=12) {
float a1 = *read[i] * 3.0;
float a1_2 = *read[i+3] * 3.0;
float a1_3 = *read[i+6] * 3.0;
float a1_4 = *read[i+9] * 3.0
float a2 = *read[i+1]* 4.0;
float a2_2 = *read[i+3+1]* 4.0;
…
float a3 = *read[i+2] * 5.0;
float a3_2 = *read[i+3+2] * 5.0;
write[i] = a1;
write[i+3] = a1_2;
…
write[i+1]...
2013 Oct 14
4
[LLVMdev] Vectorization of pointer PHI nodes
This is almost ideal for SLP vectorization, except for two problems:
1. We have 4 stores to consecutive locations, but the last element is the constant zero, and not an additional SUB. At the moment we don’t have support for idempotence operations, but this is something that we should add.
2. The values that we are subtracting come from 3 loads. We usually load 4 elements from memory, or