search for: reducing

Displaying 20 results from an estimated 16054 matches for "reducing".

2010 Jul 12
1
How to use mpi.allreduce() in Rmpi?
Hi everybody! I have the next code which makes a reduction of the *a *variable in two slaves, using the Rmpi package. library(Rmpi) mpi.spawn.Rslaves(nslaves=2) reduc<-function(){ a<-mpi.comm.rank()+2 mpi.reduce(a,type=2, op="prod") return(paste("a=",a)) } mpi.bcast.Robj2slave(reduc) mpi.remote.exec(reduc()) cat("Product: ")
2010 Jul 12
1
How to use mpi.allreduce() in Rmpi?
Hi everybody! I have the next code which makes a reduction of the *a *variable in two slaves, using the Rmpi package. library(Rmpi) mpi.spawn.Rslaves(nslaves=2) reduc<-function(){ a<-mpi.comm.rank()+2 mpi.reduce(a,type=2, op="prod") return(paste("a=",a)) } mpi.bcast.Robj2slave(reduc) mpi.remote.exec(reduc()) cat("Product: ")
2011 Apr 19
1
Reducing dimension of a list object
Hi all, I generally use the Reduce() function to reduce the dimension of list object. However in my current session I have few objects which are actually list of list of list..(say n step). If I reduce their dimension then I have call Reduce() function many times. Therefore my question is, is there any 1-step way to reduce the dimension at the lowest level? Take this example: lis1 <-
2019 Jun 19
2
[Bug 1344] New: Segmentation fault in nft add rule ip ipv4table ipv4chain-1 tcp sport { 12345-54321 }
...e: pablo at netfilter.org Reporter: sbezverk at cisco.com According to documentation ` tcp sport { 12345-54321 }` should be supported but it fails with Segmentation Fault. See debug below: sudo nft --debug all add rule ip ipv4table ipv4chain-1 tcp sport { 12345-54321 } Entering state 0 Reducing stack by rule 1 (line 747): -> $$ = nterm input (: ) Stack now 0 Entering state 1 Reading a token: --accepting rule at line 275 ("add") Next token is token "add" (: ) Shifting token "add" (: ) Entering state 19 Reading a token: --accepting rule at line 631 (" &...
2012 Nov 01
7
Reduce(paste, x) question
I have a question about the Reduce function: x <- list() x[[1]] <- LETTERS[1:5] x[[2]] <- LETTERS[11:15] Reduce(paste, x) [1] "A K" "B L" "C M" "D N" "E O" How do I get this?: [1] "A" "K" [2] "B" "L" [3] "C" "M" [4] "D" "N" [5] "E" "O"
2018 Nov 11
2
Are there any tools to reduce the IR file that caused a problem?
Hi everyone, I want to test the passes in llvm, and I got some passes sequences that caused the crash of opt. Although I can use bugpoint to narrow down the source of problems, I can only get some reduced and simplified IR and passes to reproduce the problem. My question is how to get the reduced IR of the original IR file to reproduce the problem. For example, "opt a.bc -a -b -c -d (where
2007 Mar 19
2
sorting with criteria that are "out of order"
I try to sort this dataframe: [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] "CM" "BARBY" "INCREASED" " 0" " 2" " 0" " 1" " 1" [2,] "CM" "BARBY" "REDUCED" " 0" " 1" " 2" " 2" " 5" [3,] "CM"
2009 Jun 06
1
Reduce: extra args wishlist?
Is there a reason that Reduce() doesn't take a "..." argument that would allow arbitrary extra arguments to be passed through to the function? Here is a little example of how this would be convenient: z <- list( data.frame(state=c("California"), cases=0), data.frame(state=c("California","Massachusetts"),
2007 Sep 16
1
programming question
Dear list, I have a vector of numbers, let's say: myvec <- c(2, 8, 24, 26, 51, 57, 58, 78, 219) My task is to reduce this vector to non-reducible numbers; small numbers can cross-out some of the larger ones, based on a function let's say called reduce() If I apply the function to the first element 2, my vector gets shorted to: > (myvec <- reduce(myvec[1])) [1] 2 24 51
2011 Oct 19
1
gluster map/reduce performance..
Hi, all, i try to check the performance of Map/Reduce of Gluster File system. Mapper side speed is quite good and it is sometimes faster than hadoop's map job. But in the Reduce Side job is much slower than hadoop. i analyze the result and i found the primary reason of slow speed is bad performance in Merging stage. Would you have any suggestion for this issue FYI check the blog
2019 Apr 04
5
[RFC] Changes to llvm.experimental.vector.reduce intrinsics
Hi all, While working on a patch to improve codegen for fadd reductions on AArch64, I stumbled upon an outstanding issue with the experimental.vector.reduce.fadd/fmul intrinsics where the accumulator argument is ignored when fast-math is set on the intrinsic call. This behaviour is described in the LangRef (https://www.llvm.org/docs/LangRef.html#id1905) and is mentioned in
2010 Oct 01
1
Question about Reduce
Hello! In the example below the Reduce() function by default assigns "a" to be the last accumulated value and "b" to be the current value in "x". I could not find this documented anywhere as the default settings for the Reduce() function. Does any sort of documentation for this behavior exist? x <- c(0,0,0,0,0,1,0,0,0,5,0,0,0,7,0,0,0,8,5,10)
2009 Oct 25
2
Need help with reduced row echelon form
Hello I have a 3x3 matrix (A), which I would have to reduce to Reduced Row echelon form.  Besides, at every iteration k, the elementary row matrix Ek has to be printed and also print the product of sum Ei (i=1 to k) and A. Any ideas how to go about doing this. KS. [[alternative HTML version deleted]]
2015 Oct 23
7
Join a host PC without having to reduce the characters (NetBIOS).
Hello everybody.I'm in trouble the following problem: Our netbios name can be at most 15 chars long, "AD-CLIENT-CENTOS" is 17 chars longInvalid configuration. Exiting ....Failed to join domain: The format of the specified computer name is invalid. How could join Join a host PC without having to reduce the characters (NetBIOS).?
2002 May 10
4
How to reduce a bandwidth?
2012 Jul 20
2
[LLVMdev] Statistics for 'switch' instruction.
Hi all! I collected some statistics for SwitchInst, based on our test-suite. I found that efficiency is meaningful for parser-like applications only, about 15-20% of cases may be reduced (see top 10 items in Raw sheet of attached .xls file). Below some numbers. Total number of cases in all test-suite -- 11835. Clusters possible to make -- 503 Clusters with size (H - L) + 1
2019 Dec 30
3
Increasing address pool reuse/reducing .o file size in DWARFv5
...l bytes are equal: -O3 clang binary grows by 0.4%, -O0 clang binary shrinks by 0.1% Should we enable this strategy by default for DWARFv5, for DWARFv5+Split DWARF, or not by default at all/only under a flag? So, I've brought this up a few times before - that DWARFv5 does a pretty good job of reducing relocations (& reducing .o file size with Split DWARF) by allowing many uses of addresses to include some kind of address+offset (debug_rnglists and loclists allowing "base_address" then offset_pairs (an improvement over similar functionality in DWARFv4 because the offset pairs can be...
2003 Jan 20
2
Fortran linking problems
In a box running Mandrake 9 with R 1.6.2 I get problems when trying to install packages Matrix and Akima. It seems my gcc compiler and fortran do not talk to each other. Thanks in advance for any help, Gelu The errors are: * Installing *source* package 'Matrix' ... checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes
2005 Oct 11
5
The effects of queueing on delay
I have a router with 3 network interfaces like in the following ASCII diagram below. All interfaces are 100mbit. There is tcp traffic being sent from net1 to net3 and from net2 to net3 and the tcp connections consume as much bandwidth as possible. There is a pfifo queue on the egress interface eth0 of the core router with a limit of 10 packets. net1 --> (eth1) router (eth0) -> net3
2006 Jan 25
7
reducing learning curves?
Hi all, I am really new to the R language. I am a long time Matlab and C++ user and I was "forced" to learn R because I am taking a statistics class. I am seeking to reduce the learning curve to as smooth as possible. Are there any addon/plug-in features that can reduce the learning curve, for example, the following features can be very helpful for new learners: 1. Matlab-like