Displaying 4 results from an estimated 4 matches for "_vectors_".
Did you mean:
_vector_
2011 Feb 14
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 13
On Mon, Feb 14, 2011 at 3:49 PM, Peter Lawrence
<peterl95124 at sbcglobal.net> wrote:
> Andrew,
> your response highlights a naming problem in LLVM,
> which is that "array" and "vector"
> mean the same thing in normal computer language and compiler theory
> usage, so it is
> inconvenient and misleading within LLVM to give one a very
2007 Sep 25
5
Am I misunderstanding the ifelse construction?
I have a function like this:
changedir <- function(dataframe) {
dir <- dataframe$dir
gc_content <- dataframe$gc_content
d <- ifelse(dir == "-",
gc_content <- -gc_content,gc_content <- gc_content)
return(d)
}
The goal of this function is to be able to input a data frame like this:
> lala
dir gc_content
1 + 0.5
2 - 0.5
3 +
2011 Jul 29
2
Different result on using apply.
Dear R-helpers,
In the following example I compute ret and returns the SAME way. In ret I
use compute returns for EACH column and in returns I do it for the whole
data frame. Could someone please tell me why I see a lagged result,by which
I mean ret and returns are different by one lag.
getSymbols("GOOG",src="yahoo")
ret<-apply(GOOG,2,function(x) diff(log(x)) / lag(x,1) )
2011 Feb 14
8
[LLVMdev] LLVMdev Digest, Vol 80, Issue 13
Andrew,
your response highlights a naming problem in LLVM,
which is that "array" and "vector"
mean the same thing in normal computer language and compiler theory
usage, so it is
inconvenient and misleading within LLVM to give one a very specific
meaning that is different
from the other....
to the LLVM developers I would suggest using the term