search for: xfunc

Displaying 8 results from an estimated 8 matches for "xfunc".

Did you mean: func
2023 Aug 10
2
Expresión en un objeto
...& ! is.na (V2b), V2b, V2a))-V1)/V1)*100 > 0, "1", "0"), NA) Hay alguna forma de almacenar la expresión "(ifelse (is.na (V2a) & ! is.na (V2b), V2b, V2a))" en un objeto y utilizar el nombre del objeto en las ordenes (por ejemplo, con una hipotética función xfunc ()). Por ejemplo: ORD <- "(ifelse (is.na (V2a) & ! is.na (V2b), V2b, V2a))" V3 <- ((xfunc (ORD) - V1)/V1)*100 V4 <- ifelse (! is.na (((xfunc (ORD)-V1)/V1)*100), ifelse (((xfunc (ORD)-V1)/V1)*100 > 0, "1", "0"), NA) El ejemnplo és absurdo, pero solo...
2023 Aug 11
1
Expresión en un objeto
A ver... con que xfunc() esté preparada para tomar un parámetro de tipo "carácter" y evaluarlo, claro que se puede hacer... Si el problema lo tienes en evaluar la expresión, la función "eval()" te lo hace. Si no te he entendido bien, explícate más ? Saludos Isidro -----Mensaje original----- De: R-he...
2023 Aug 11
1
Expresión en un objeto
...), V2b, V2a))-V1)/V1)*100 > 0, "1", "0"), NA) > > Hay alguna forma de almacenar la expresión "(ifelse (is.na (V2a) & ! > is.na (V2b), V2b, V2a))" en un objeto y utilizar el nombre del objeto > en las ordenes (por ejemplo, con una hipotética función xfunc ()). Por > ejemplo: > > ORD <- "(ifelse (is.na (V2a) & ! is.na (V2b), V2b, V2a))" > V3 <- ((xfunc (ORD) - V1)/V1)*100 > V4 <- ifelse (! is.na (((xfunc (ORD)-V1)/V1)*100), ifelse > (((xfunc (ORD)-V1)/V1)*100 > 0, "1", "0"), NA) >...
2023 Aug 11
1
Expresión en un objeto
...1)*100 > 0, "1", "0"), NA) > > > > Hay alguna forma de almacenar la expresión "(ifelse (is.na (V2a) & ! > > is.na (V2b), V2b, V2a))" en un objeto y utilizar el nombre del objeto > > en las ordenes (por ejemplo, con una hipotética función xfunc ()). Por > > ejemplo: > > > > ORD <- "(ifelse (is.na (V2a) & ! is.na (V2b), V2b, V2a))" > > V3 <- ((xfunc (ORD) - V1)/V1)*100 > > V4 <- ifelse (! is.na (((xfunc (ORD)-V1)/V1)*100), ifelse > > (((xfunc (ORD)-V1)/V1)*100 > 0, "1&qu...
2023 Aug 12
1
Expresión en un objeto
...;1", "0"), NA) > > > > > > Hay alguna forma de almacenar la expresión "(ifelse (is.na (V2a) & ! > > > is.na (V2b), V2b, V2a))" en un objeto y utilizar el nombre del objeto > > > en las ordenes (por ejemplo, con una hipotética función xfunc ()). Por > > > ejemplo: > > > > > > ORD <- "(ifelse (is.na (V2a) & ! is.na (V2b), V2b, V2a))" > > > V3 <- ((xfunc (ORD) - V1)/V1)*100 > > > V4 <- ifelse (! is.na (((xfunc (ORD)-V1)/V1)*100), ifelse > > > (((xfunc (ORD)-...
2011 Jan 12
2
[LLVMdev] Wrong assembly is written for x86_64 target in JIT without optimization?
...I see that the local value 0xffffffffffffffe0(%rbp) is used without being ever initialized (see my comment in asm). Same code on i386 works fine, with and w/out optimization. My guess is that this is a bug in LLVM. Yuri --- llvm --- %struct.mystruct = type { i32, i8, i8, i8, i8 } define i32 @xfunc(%struct.mystruct* %a1, %struct.mystruct* %a2) { br label %lbl1 lbl1: %v1 = call i32 @yfunc(i32 1, i32 0, i32 0) %v2 = bitcast %struct.mystruct* %a1 to i8* %v3 = getelementptr i8* %v2, i32 %v1 %v4 = bitcast i8* %v3 to i32* %v5 = load i32* %v4 %v6 = call i32 @yfunc(i32 1, i32 4,...
2004 Oct 18
1
xapian-bindings compile creates 34mb xapian_wrap.o file?
Questions are threaded into the output: ******************** #./configure --without-python checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking
2011 Jan 12
0
[LLVMdev] Wrong assembly is written for x86_64 target in JIT without optimization?
...nitialized load is there in the llc version as well (16(%rsp)). It looks like it's been erroneously moved ahead of the spill to that slot. Please file a PR. (I can see this on Darwin with llc -O0). > --- llvm --- > %struct.mystruct = type { i32, i8, i8, i8, i8 } > > define i32 @xfunc(%struct.mystruct* %a1, %struct.mystruct* %a2) { > br label %lbl1 > lbl1: > %v1 = call i32 @yfunc(i32 1, i32 0, i32 0) > %v2 = bitcast %struct.mystruct* %a1 to i8* > %v3 = getelementptr i8* %v2, i32 %v1 > %v4 = bitcast i8* %v3 to i32* > %v5 = load i32* %v4 > %v6...