search for: max3

Displaying 6 results from an estimated 6 matches for "max3".

Did you mean: max
2012 Jan 23
3
How can I access information stored after I run a command in R?
Dear all, Supposed I run the following command: ############################### #install.packages("Rassoc", dependencies=TRUE) library("Rassoc") ca=c(139,249,112) co=c(136,244,120) a=rbind(ca,co) MAX3(a,"asy",1) ############################## I get: The MAX3 test using the asy method data: a statistic = 0.5993, p-value = 0.7933 How can one save the result 0.7933 into a file? say: foo <- 0.7933 write.table(foo, file ="/home/foo.txt", sep = " ", row.names...
2009 Dec 28
2
Modified R Code
Dear R helpers,   I have following input files. (Actually they are more than 10 rates but here i am considering only 2 rates to write my problem)   rate1.csv min1        max1            min2          max2          min3           max3 1.05        1.30               1.30          1.65             1.65          1.99   rate2.csv min1        max1            min2          max2          min3           max3 2.05        2.30               2.30          2.65             2.65          2.99      The simple R code I had used to read these...
2016 Nov 08
2
should we have IR intrinsics for integer min/max?
Thanks, Hal and Matt for the feedback. As usual, my instincts about canonicalization were probably wrong. :) I thought that @max1 vs. @max3 would be viewed as an unknowable trade-off between reducing the dependency chain and the pseudo-canonical min/max form, so we'd add intrinsics, and defer that decision to the backend. I'll wait to see if there are any other arguments presented. @max2 vs. @max3 is a straightforward commute...
2016 Nov 07
5
should we have IR intrinsics for integer min/max?
...b ret i32 %sel } ; ret = (x-y) < 0 ? 0 : x-y define i32 @max2(i32 %x, i32 %y) { %sub = sub nsw i32 %x, %y %cmp = icmp slt i32 %sub, 0 ; cmp depends on sub, but this looks more like a max? %sel = select i1 %cmp, i32 0, i32 %sub ret i32 %sel } ; ret = (x-y) > 0 ? x-y : 0 define i32 @max3(i32 %x, i32 %y) { %sub = sub nsw i32 %x, %y %cmp = icmp sgt i32 %sub, 0 ; canonicalize cmp+sel - looks even more like a max? %sel = select i1 %cmp, i32 %sub, i32 0 ret i32 %sel } define i32 @max4(i32 %x, i32 %y) { %sub = sub nsw i32 %x, %y %max = llvm.smax.i32(i32 %sub, i32 0) ; this i...
2006 Aug 30
4
Create a vector from another vector
Dear list Suppose I have the following vector: x <- c(3,4,2,5,6) Obviously, this sums to 20. Now, I want to have a second vector, call it x2, that sums to x where 5 <= x <= 20, but there are constraints. 1) The new vector must be same length as x 2) No element of the new vector can be 0 3) Element x2[i] of the new vector cannot be larger than element x[i] of the original vector 4)
2015 Dec 27
0
[ANNOUNCE] libdrm 2.4.66
...add new 'test' xf86drm: flex platform specifics into drmParsePciBusInfo xf86drm: move platform details to drmParsePciDeviceInfo() xf86drm: move the final linux specific bits out of drmGetDevices xf86drm: rename drmSameDevice to drmCompareBusInfo util_math: add MAX3 macro xf86drm: rework drmGetDevices() xf86drm: move ifdef __linux__ guards where needed xf86drm: warn on missing drmGetMinorNameForFD implementation xf86drm: split out drmProcessPciDevice and drmFoldDuplicatedDevices xf86drm: add drm{Get,Free}Device tests/drmdevi...