search for: 10e5

Displaying 10 results from an estimated 10 matches for "10e5".

Did you mean: 105
2006 Apr 04
2
Return function from function with minimal environment
...elates to the question "How to set a former environment?" asked yesterday. What is the best way to to return a function with a minimal environment from a function? Here is a dummy example: foo <- function(huge) { scale <- mean(huge) function(x) { scale * x } } fcn <- foo(1:10e5) The problem with this approach is that the environment of 'fcn' does not only hold 'scale' but also the memory consuming object 'huge', i.e. env <- environment(fcn) ll(envir=env) # ll() from R.oo # member data.class dimension object.size # 1 huge numeric 1000...
2012 Mar 14
1
geom_plot creates Area Instead Of Lines
Hi, I have created a large (?) data frame. I have one variable to plot, lets call it X. further X has been observed under conditions Y, Z. And the observation took place at times T (0:10e5). Now my data frame D consists of x,y,z,t each corresponding to the combination of X, Y, Z and T. I would like to create different plots and use this: h <- ggplot(D, aes(y=x, x=t)) h + geom_line(data=subset(subset(D,y=someThing),z=thingSome)) +geom_line(data=subset(subset(D,y=someThingElse),z=...
2020 May 06
6
GeForce(R) GT 710 1GB PCIE x 1 on arm64
...t; > [ 6.479627] pci_bus 0000:00: root bus resource [mem 0x50100000-0x57ffffff] > > [ 6.479646] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref] > > [ 6.479668] pci_bus 0000:00: root bus resource [bus 00-ff] > > [ 6.479850] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400 > > [ 6.479887] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > [ 6.479916] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > [ 6.479993] pci_bus 00...
2020 May 06
0
GeForce(R) GT 710 1GB PCIE x 1 on arm64
...o 0x0000-0xffff] > [ 6.479627] pci_bus 0000:00: root bus resource [mem 0x50100000-0x57ffffff] > [ 6.479646] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref] > [ 6.479668] pci_bus 0000:00: root bus resource [bus 00-ff] > [ 6.479850] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400 > [ 6.479887] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > [ 6.479916] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > [ 6.479993] pci_bus 0000:00: 2-byte c...
2006 Apr 10
2
Suggestions to speed up median() and has.na()
...else if (any(is.na(x))) return(NA) n <- length(x) if (n == 0) return(NA) half <- (n + 1)/2 if (n%%2 == 1) { .Internal(psort(x, half))[half] } else { sum(.Internal(psort(x, c(half, half + 1)))[c(half, half + 1)])/2 } } x <- rnorm(10e5) K <- 10 t0 <- system.time({ for (kk in 1:K) y <- median(x); }) print(t0) # [1] 1.82 0.14 1.98 NA NA t1 <- system.time({ for (kk in 1:K) y <- median2(x, na.rm=NA); }) print(t1) # [1] 1.25 0.06 1.34 NA NA print(t0/t1) # [1] 1.456000 2.333333 1.477612 NA...
2020 May 06
0
GeForce(R) GT 710 1GB PCIE x 1 on arm64
...479627] pci_bus 0000:00: root bus resource [mem 0x50100000-0x57ffffff] > > > [ 6.479646] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref] > > > [ 6.479668] pci_bus 0000:00: root bus resource [bus 00-ff] > > > [ 6.479850] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400 > > > [ 6.479887] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > > [ 6.479916] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > > [ 6.479...
2020 May 08
0
GeForce(R) GT 710 1GB PCIE x 1 on arm64
...479627] pci_bus 0000:00: root bus resource [mem 0x50100000-0x57ffffff] > > > [ 6.479646] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref] > > > [ 6.479668] pci_bus 0000:00: root bus resource [bus 00-ff] > > > [ 6.479850] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400 > > > [ 6.479887] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > > [ 6.479916] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits > > > [ 6.479...
2020 May 06
4
GeForce(R) GT 710 1GB PCIE x 1 on arm64
Hi to all. I'm experimenting with running a https://www.zotac.com/us/product/graphics_card/geforce%C2%AE-gt-710-1gb-pcie-x-1 card on an Nvidia Jetson TX2 arm64 device. Possible? Linux kernel aarch64 5.6.10. Because Nvidia did not list drivers for this architecture, I'm experimenting with a nouveau driver. The Jetson TX2 has a default driver for the host1x framebuffer for output from the
2011 Aug 03
4
slow computation of functions over large datasets
Hello there, I’m computing the total value of an order from the price of the order items using a “for” loop and the “ifelse” function. I do this on a large dataframe (close to 1m lines). The computation of this function is painfully slow: in 1min only about 90 rows are calculated. The computation time taken for a given number of rows increases with the size of the dataset, see the example with
2020 May 06
0
Fwd: GeForce(R) GT 710 1GB PCIE x 1 on arm64
...root bus resource [io 0x0000-0xffff] [ 6.479627] pci_bus 0000:00: root bus resource [mem 0x50100000-0x57ffffff] [ 6.479646] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref] [ 6.479668] pci_bus 0000:00: root bus resource [bus 00-ff] [ 6.479850] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400 [ 6.479887] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits [ 6.479916] pci_bus 0000:00: 2-byte config write to 0000:00:01.0 offset 0x4 may corrupt adjacent RW1C bits [ 6.479993] pci_bus 0000:00: 2-byte config write to...