search for: xnum

Displaying 5 results from an estimated 5 matches for "xnum".

Did you mean: num
2010 May 13
1
cdplot() with 'POSIXct' x
...vels) @@ -79,10 +80,12 @@ if(is.null(yaxlabels)) yaxlabels <- levels(y) ## unconditional density of x - dx <- if(is.null(from) & is.null(to)) - stats::density(x, bw = bw, n = n, ...) - else - stats::density(x, bw = bw, from = from, to = to, n = n, ...) + xnum <- as.numeric(x) + dx <- if (is.null(from) & is.null(to)) { + stats::density(xnum, bw = bw, n = n, ...) + } else { + stats::density(xnum, bw = bw, from = from, to = to, n = n, ...) + } x1 <- dx$x ## setup conditional values @@ -94,7 +97,7 @@ rval...
2006 Dec 18
3
plot
Hello sir: a data with 2 columns: id x a 1 b 2 c 3 I wanna get such kind of plot: x: a b c y:1 2 3 But the plot command doesn't permit string character as x. How can I get it ? Thanks a lot ! My best
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...ndex 0000000..1d4ab23 --- /dev/null +++ b/usr/klibc/arch/cris/divide.c @@ -0,0 +1,99 @@ +#include <stdint.h> +#include <signal.h> + +#if BITS == 64 +typedef uint64_t unum; +typedef int64_t snum; +#else +typedef uint32_t unum; +typedef int32_t snum; +#endif + +#ifdef SIGNED +typedef snum xnum; +#else +typedef unum xnum; +#endif + +#ifdef __cris__ +static inline unum __attribute__ ((const))dstep(unum rs, unum rd) +{ + asm("dstep %1,%0": "+r"(rd):"r"(rs)); + return rd; +} + +static inline unum __attribute__ ((const))lz(unum rs) +{ + unum rd; + asm("lz %1...
2020 Apr 30
0
[klibc:master] arch: Remove cris port
...ex 1d4ab236..00000000 --- a/usr/klibc/arch/cris/divide.c +++ /dev/null @@ -1,99 +0,0 @@ -#include <stdint.h> -#include <signal.h> - -#if BITS == 64 -typedef uint64_t unum; -typedef int64_t snum; -#else -typedef uint32_t unum; -typedef int32_t snum; -#endif - -#ifdef SIGNED -typedef snum xnum; -#else -typedef unum xnum; -#endif - -#ifdef __cris__ -static inline unum __attribute__ ((const))dstep(unum rs, unum rd) -{ - asm("dstep %1,%0": "+r"(rd):"r"(rs)); - return rd; -} - -static inline unum __attribute__ ((const))lz(unum rs) -{ - unum rd; - asm("lz %1...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: