Displaying 20 results from an estimated 551 matches for "i2".
Did you mean:
i32
2009 Jun 10
2
How to get the unique pairs of a set of pairs dataframe ?
Hi friends,
Please can anyone help me with an easier solution of doing the below
mentioned work.
Suppose i have a dataset like this:---
i1 i2 i3 i4 i5
1 7 13 1 2
2 8 14 2 2
3 9 15 3 3
4 10 16 4 4
5 11 17 5 5
6 12 18 6 7
*i1,i2,i3,i4,i5 are my items.I am able to find all possible pairs i.e
Say this dataframe is "item_pairs"
**i1,i2
**i1,i3
**i1,i4
i1,i5
**i2,i1
**i2,i3
i2,i4
i2,i5
**i3,i1
**i3,i2
**i3,i...
2012 Dec 07
0
inserting jpg
...= read.jpeg( 'f.jpg')
n = read.jpeg( 'n.jpg' )
?
## Conditions: I want to insert the images?given these conditions, and then center each image for h== 0 (that is inserting only one image for midnight, otherwise I'd get 24 images together)
?
fri1 <- function(x){ plot( ifelse( I2$image == "f" && I2$h == 0, f, NA )) }
fri2 <- function(x){ plot( ifelse( I2$image == "n" && I2$h == 0, n, NA )) }
fri3 <- function(x){ plot( ifelse( I2$image == "2c" && I2$h == 0, c2, NA )) }
fri4 <- function(x){ plot( ifelse( I2$image...
2010 Dec 31
4
Repeated Indexing / Sequence Operation
...n before the end of the year.
I have soem indices to select data from a bigger sample. I want to select n
days before each index and n days after the index. Any clever way to do it.
A for loop would do but I wanted to know if there is a moreR-friendly way to
approach this
Example
# InitialIndices
i2 = (90, 190, 290)
# Indices I want to end up with
i3 = c(85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 185, 186, 187, 188, 189,
190, 191, 192, 193, 194, 195
285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295)
# A way to get Final Indices
SampleWidth
i3 = c(i2)
for (j in seq(1, SampleWidth )) {
i3...
2017 Sep 25
3
What should a truncating store do?
...n Pettersson A wrote:
>
> (Not sure if this exactly maps to “truncating store”, but I think it
> at least touches some of the subjects discussed in this thread)
>
> Our out-of-tree-target need several patches to get things working
> correctly for us.
>
> We have introduced i24 and i40 types in ValueTypes/MachineValueTypes
> (in addition to the normal pow-of-2 types). And we have vectors of
> those (v2i40, v4i40).
>
> And the byte size in our target is 16 bits.
>
> When storing an i40 we need to store it as three 16-bit bytes, i.e. 48
> bits.
>...
2010 Jan 14
2
Fixed size permutations
I'm using functions to return a matrix of all permutations of a
specified size from a larger list for predictor selection.
For each predictor size I use a seperate function like this:
bag2 <- function(n) {
rl <- c()
for (i1 in seq(n)) {
for (i2 in seq(n)) {
if (length(unique(c(i1,i2)))==1) {next}
rl <- cbind(rl,matrix(c(i1,i2)))
}
}
rl
}
bag3 <- function(n) {
rl <- c()
for (i1 in seq(n)) {
for (i2 in seq(n)) {
for (i3 in seq(n)) {
if (length(uniq...
2006 Jan 01
4
i2 wiki
hello.
i downloaded the latest i2 wiki from the subversion repository. i''m
not able to see it working even running under webrick (under windows
xp sp2).
i created the database (mysql 4.1) via "rake migrate" and instantiated
the first web through the console (as suggested by the readme file).
when running it what...
2013 Jan 02
0
[LLVMdev] [DragonEgg] [Polly] Should we expect DragonEgg to produce identical LLVM IR for identical GIMPLE?
...e = 47248855040
offset = 40, ptrValue = 47246749696
offset = 48, ptrValue = 47247802368
offset = 16, value = 64
offset = 20, value = 64
offset = 24, value = 64
MemoryAccess to pointer: float* inttoptr (i64 47246749696 to float*)
{ Stmt__12_cloned_[i0, i1, i2] -> MemRef_nttoptr (i64 47246749696 to
float*)[4096i0 + 64i1 + i2] }
allocSize: 4 storeSize: 4
replacedBy: { Stmt__12_cloned_[i0, i1, i2] -> NULL[o0] : o0 >=
47246749696 + 16384i0 + 256i1 + 4i2 and o0 <= 47246749699 + 16384i0 + 256i1
+ 4i2 }
MemoryAccess to pointer: float* i...
2017 Sep 25
0
What should a truncating store do?
(Not sure if this exactly maps to “truncating store”, but I think it at least touches some of the subjects discussed in this thread)
Our out-of-tree-target need several patches to get things working correctly for us.
We have introduced i24 and i40 types in ValueTypes/MachineValueTypes (in addition to the normal pow-of-2 types). And we have vectors of those (v2i40, v4i40).
And the byte size in our target is 16 bits.
When storing an i40 we need to store it as three 16-bit bytes, i.e. 48 bits.
When storing a v4i40 vector it will be st...
2006 Apr 05
0
E-911 Canada Info - Hot Off the Press
...to come.
ESWG Consensus 12-month Report on Nomadic VoIP Technical and Operating
Impediments to 9-1-1/E9-1-1 Service Delivery in Canada.
PREPARE FOR 911
Executive Summary
Emergency Services Working Group (ESWG) recommends on a consensus
basis the Commission order the deployment of NENA Interim-2 (i2)
compliant emergency services components, systems and upgrades to
result in the operation within 18 months of enhanced 9-1-1 services
for nomadic and fixed/non-native VoIP callers in Canada. ESWG also
recommends that the Commission establish for planning purposes a
milestone for the transition of...
2006 Apr 07
0
Canada Nomadic 911 - From the Yes it will Screw Your Biz Dept
ESWG Consensus 12-month Report on Nomadic VoIP Technical and Operating
Impediments to 9-1-1/E9-1-1 Service Delivery in Canada
Executive Summary
Emergency Services Working Group (ESWG) recommends on a consensus
basis the Commission order the deployment of NENA Interim-2 (i2)
compliant emergency services components, systems and upgrades to
result in the operation within 18 months of enhanced 9-1-1 services
for nomadic and fixed/non-native VoIP callers in Canada. ESWG also
recommends that the Commission establish for planning purposes a
milestone for the transition of...
2013 Jan 02
2
[LLVMdev] [DragonEgg] [Polly] Should we expect DragonEgg to produce identical LLVM IR for identical GIMPLE?
On 01/01/2013 02:45 PM, Duncan Sands wrote:
> Hi Dmitry,
>
>>
>> In our compiler we use a modified version LLVM Polly, which is very
>> sensitive to
>> proper code generation. Among the number of limitations, the loop region
>> (enclosed by phi node on induction variable and branch) is required to
>> be free
>> of additional memory-dependent
2006 Apr 13
0
CANADA 911 Update
ESWG Consensus 12-month Report on Nomadic VoIP Technical and Operating
Impediments to 9-1-1/E9-1-1 Service Delivery in Canada
DRAFT
Executive Summary
Emergency Services Working Group (ESWG) recommends on a consensus
basis the Commission order the deployment of NENA Internet-2 (i2)
compliant emergency services components, systems and upgrades to
result in the operation within 18 months of enhanced 9-1-1 services
for nomadic and fixed/non-native VoIP callers in Canada. ESWG also
recommends that the Commission establish for planning purposes a
milestone for the transition of...
2006 Mar 09
1
HCLUST subroutine question -- FORTRAN DO loops
...east diss. using list of NNs
DMIN=INF
DO 600 I=1,N-1
IF (.NOT.FLAG(I)) GOTO 600
IF (DISNN(I).GE.DMIN) GOTO 600
DMIN=DISNN(I)
IM=I
JM=NN(I)
600 CONTINUE
NCL=NCL-1
C
C This allows an agglomeration to be carried out.
C
I2=MIN0(IM,JM)
J2=MAX0(IM,JM)
IA(N-NCL)=I2
IB(N-NCL)=J2
CRIT(N-NCL)=DMIN
FLAG(J2)=.FALSE.
C
C Update dissimilarities from new cluster.
C
DMIN=INF
DO 50 K=1,N
IF (.NOT.FLAG(K)) GOTO 50
IF (K.EQ.I2) GOTO 50
IF (I2.LT.K) THEN...
2010 Aug 03
2
How to name matrices from a list with lapply ?
Dear list,
I have a list of matrices :
i1 <- matrix(1:10, nrow = 2, ncol = 5)
i2 <- matrix(11:20, nrow = 2, ncol = 5)
j <- list(i1 = i1, i2 = i2)
I would like to attribute names to each dimension, for each matrix,
as follows :
$i1
B1 B2 B3 B4 B5
A1 1 3 5 7 9
A2 2 4 6 8 10
$i2
B1 B2 B3 B4 B5
A1 11 13 15 17 19
A2 12 14 16 18 20
However, I have to use lapply function and...
2014 Apr 03
3
[LLVMdev] SIMD Projects with LLVM
...re not sure how much has been tried before, or even
makes sense, but we're eager to learn.
Briefly the projects are:
SSE2 Hoisting: translating programs that directly use SSE2
intrinsics into platform-independent code expressed with LLVM IR.
Long integer support: systematic support for i128, i256, ... targetting
SIMD registers.
Systematic strategies for the shufflevector operation. This
is a very powerful operation that can be used to code for arbitrary
rearrangement of data in SIMD registers. No architecture we
know of supports it in its full generaility. But there are
many spec...
2008 Dec 07
1
[LLVMdev] How to extract loop body into a new function?
False Alarm!!
Still don't know how to do it!
I am trying to write a transformation pass to extract a loop body into a function.
For example:
The Loop in question is:
for (i2 = 0; i2 < LOOP_SIZE; i2++) {
A[B[i2]] = 2 * B[i2];
}
The IR for which is:
bb13: ; preds = %bb13, %bb
%i2.0.reg2mem.0 = phi i32 [ 0, %bb ], [ %indvar.next62, %bb13 ] ; <i32> [#uses=2]
%tmp15 = getelementptr [25 x i32]* %B, i32 0, i32 %i2.0.reg2mem...
2009 Jul 20
1
Regression function lm() not giving proper results
*
*
Hi ,
Can anyone help me please with this problem?*
*
*CASE-I*
all_raw_data_NAomitted is my data frame.It has columns with names i1 ,i2,
i3,i4…, till i15.It has 291 rows actually ,couldn’t show here.
The data frame looks like this:--
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
2 2 2 2 2 2 2 2 2 2 2 1 2 2 3 2
3 2 2 2 2 3 2 2 3 3 3 2 3 3 3 3
4 2...
2005 Oct 03
1
storage.mode, C data types and speed
...length(v)
I would have thought I wanted
storage.mode(a) <- storage.mode(nm) <- storage.mode(nv) <- "integer"
to go with the following C code
# include <Rinternals.h>
SEXP prod_integer(SEXP X, SEXP M, SEXP v, SEXP a, SEXP nm, SEXP nv) {
int i = INTEGER(a)[0], i1 = 0, i2 = 0;
for ( ; i1 < INTEGER(nm)[0]; i2 = (++i2 == INTEGER(nv)[0]) ? 0 : i2) {
REAL(X)[i++] = REAL(M)[i1++] * REAL(v)[i2];
}
return(X);
}
Running this is R gives the following timings on my PC
> dyn.load("D:/C_routines/prod_integer")
> for(i in 1:3) {print(system.time(...
2003 Sep 25
1
apply on a 4D array
I am trying to multiply a 3D array of 4x4x4 by the 4 3D arrays of a 4D array
with dimensions 4x4x4x4 (the last dimension being the one that I want to
split by).
(4x4x4 array)
> hiaAry
, , a1
i1 i2 i3 i4
h1 9.5936098 6.001040 0.08772 0.3138600
h2 1.2003500 1.454570 2.79248 0.0000000
h3 0.1346500 0.201220 0.39256 0.5464000
h4 0.0109000 0.012270 0.16417 0.2766900
, , a2
i1 i2 i3 i4
h1 195.08275 74.23508453 39.23165 14.89689
h2 1.80127 7.41649055...
2006 Nov 21
1
lme4 model with no fixed effects?
Crossed random effects:
> lmer( y ~ (1 | i1) + (1|i2) ,data=dta)
Linear mixed-effects model fit by REML
Formula: y ~ (1 | i1) + (1 | i2)
Data: dta
AIC BIC logLik MLdeviance REMLdeviance
91.18 94.84 -42.59 85.2 85.18
Random effects:
Groups Name Variance Std.Dev.
i1 (Intercept) 0.068224 0....