Displaying 2 results from an estimated 2 matches for "tindex".
Did you mean:
index
2011 Jul 09
1
[LLVMdev] getting and setting array indices c interface
I really can't figure out how to get and set array indices from the c
interface.
so to get an element I'm calling
tindex = *fn\SymbolTable(*index\name)
index = LLVMBuildLoad(builder,tindex,"index")
arr = *fn\SymbolTable(*array\name)
arrptr = LLVMBuildLoad(Builder,arr,"arrayptr")
tmp = LLVMBuildGEP(Builder,arrptr,index,0,"ptr")
ptr = llvmBuildload(Builder,tmp,"ele")
and t...
2010 Mar 28
0
Preserving both yearmon and numeric data in an xls object
...6; each element
is a vector, but they themselves are of different length
> #... fix the 6 vectors to have equal length
> mylist[1:2] <- lapply(mylist[1:2], as.yearmon) # Convert
the first two elements into yearmon class
> #... Now try one of the following; tindex is the time index in
yearmon format
> myxts <- as.xts(as.data.frame(mylist), order.by=tindex) # this
makes columns 3-6 of myxts all have class = character
> myxts <- as.xts(matrix(unlist(mylist), ncol=6), order.by=tindex)
# this makes myxts entirely numeric...