similar to: [Rcpp-devel] Find number of elements less than some number: Elegant/fastsolution needed

Displaying 20 results from an estimated 700 matches similar to: "[Rcpp-devel] Find number of elements less than some number: Elegant/fastsolution needed"

2012 Jan 15
0
patching ?merge to allow the user to keep the order of one of the two data.frame objects merged
Hello dear R-devel list members. Following an old (2002) thread from R-help (and having myself needing to solve the same question): https://stat.ethz.ch/pipermail/r-help/2002-October/026249.html I patched the {base} function "merge.data.frame" to have it work with a new parameter called "keep_order", and I hope you might consider including this patch (or some variation of it)
2006 Jun 13
1
calleridname.agi patch to only overwrite name if it is missing
I edited the calleridname.agi patch to only overwrite the name if it is missing. The asteridex option still overwrites the name since it is our master list for known numbers. -- Steven calleridname.agi.patch: --- C:\Documents and Settings\steveb\Desktop\calleridname.agi-orig Tue Jun 13 14:37:09 2006 +++ C:\Documents and Settings\steveb\Desktop\calleridname.agi Tue Jun 13 14:37:09 2006 @@ -16,6
2014 May 12
2
Realtime Pattern Matching
Hello All, Looking for a little guidance on Real Time Pattern Matching. We are attempting to block outbound 411 via when someone dials NXX-555-XXXX, The must common being NXX-555-1212. However, We have some outbound providers that consider any call to NXX-555-XXXX a directory assistance call. So simply making my pattern _NXX5551212 doesn't work. So as you can see from the lines
2010 Aug 09
2
Correct Caller-ID
I've seen caller-id come through from carriers as: NPA-NXX-xxxx, 1-NPA-NXX-xxxx, and +1-NPA-NXX-xxxx My question is: what is the correct way to send Caller-ID by set standards? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100809/1866d18a/attachment.htm
2007 Jul 23
3
Dialplan
Hi, What dialplan option do I need to send a call out like this: NPA-NXX-xxxx local calls 1-NPA-NXX-xxxx - long distance Won't 'national' send it out NPA-NXX-xxxx no matter if it's long distance or not?
2005 Mar 27
6
NPA NXX
Does anyone have the NPA NXX list for North America in comma delimited file? Only looking for: NPA, NXX, City, State Just seems it should be available free somewhere? Then comes the next step, the setting callerid name based on the NPANXX to city, state -Mark -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.3 - Release Date:
2004 Jun 30
1
Null Pointer Reference h225_1.cxx
Hi, I get this error when trying to dial an outbound extension from a sip phone: -- snip -- -- Executing Dial("SIP/2003-02d1", "OH323/3215435249@h323gk|20") in new stack -- H.323 call to 3215435249@h323gk with codec ALAW -- Called 3215435249@h323gk 0:33.283 H225 Caller:8143908 PWLib Assertion fail: Null pointer reference, file
2005 Sep 19
1
Complete NPA-NXX list for USA/Canada npanxx,
> > On a related note, I wanted our phones to display "city, st" for the > > caller-ID name in the event that none was provided. > > Interesting code. What sort of memory does * take up when you load up > all those CLID values? > > Nathan > I am a little late to this thread, but the answer is WAY TO MUCH. With 150,000 "pattern" match
2005 Jan 27
1
OT: iax.cc/sixTel local DID question
When you choose to add an unlimited local DID to your account from their control panel, do you get to pick the prefix/NXX, or just the area code? Their isn't any indication of whether or not clicking the Add button will immediately add a number to my account or take me to another screen to pick a NXX. (I don't want to click the 910 area code to find out they giving me a Wilmington or
2011 Dec 05
1
RcppArmadillo compilation error: R CMD SHLIB returns status 1
Dear all, running the example by D. Eddebuettel (http://dirk.eddelbuettel.com/blog/2011/04/23/) I get an error message. Specifically, the R code I was taking from the above example is ### BEGIN EXAMPLE ### suppressMessages(require(RcppArmadillo)) suppressMessages(require(Rcpp)) suppressMessages(require(inline)) code <- ' arma::mat coeff = Rcpp::as<arma::mat>(a); arma::mat
2014 Jan 15
1
rbinom in RcppArmadillo?
What is the RcppArmadillo way to make binomial draws from a vector of probs, similar to what rbinom does in R? Thanx! -- View this message in context: http://r.789695.n4.nabble.com/rbinom-in-RcppArmadillo-tp4683593.html Sent from the R devel mailing list archive at Nabble.com.
2005 Apr 09
3
CallerID name lookup AGI script
Hi all, My VoIP provider (race.com) doesn't send name info with CallerID, so I wrote an AGI script that does the following: 1) If it's a toll free number (800|888|877|866), set the CallerID name to "TollFree Caller" 2) Use curl to look up the number in Google phonebook 3) If a business listing, set the CallerID name to business name, as is. 4) If it's a residential
2004 Dec 17
8
NPA NXX data
HI all - I know, slightly off list, but.. I'm looking for a NPA NXX database with City and State. Actually it's for an Asterisk routing app I'm working on. I see several vendors that want a few bucks to those that want an arm and leg. I expect this is published somewhere by some government agency, but Google hasn't got me to it yet. Jon -------------- next part --------------
2010 May 18
2
NPA NXX Database
Has anyone had good results with an on-line database that returns a LATA based on NPA NXX? --Don Don Kelly PCF Corp People Come First 651 842-1000 888 Don Kell(y) 651 842-1001 fax -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100518/d77d09b3/attachment.htm
2004 Dec 29
1
RFI: Creating a database of DID providers
Cross posted from asterisk-biz: > > Is anyone willing to host/manage a website that people > > can simply browse that lists all current DID providers > > and their coverage areas? > It's a good idea and probably not too hard to implement, > it's just a case of deciding how far you want to go.. are > areacodes good enough? or do you need to go to NPA-NXX >
2010 Jul 26
1
O/T good c/c++ code for LU decomposition
Dear R People: Could someone recommend a good c/c++ code (or Fortran) for LU decomposition, please? Sorry to bother about this. I'm trying to do some "non-R" work that requires a matrix inversion. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
2007 Feb 07
1
Large number of prefixes in a route to a trunk
We're beginning to test MultiTech's CallFinder CDMA Units, one for Sprint PCS and one for Alltel. They sell both. Our intent is to use them as a backup line for our main office (which has a PRI) and a backup/911 line for our remote offices which are all connected via * over a VPN with no local trunks at any of them. In the interest of maximizing use of the lines, I'm putting
2002 May 29
1
merge.data.frame can coerce character vectors to factor in some circumstances (PR#1608)
If the following two conditions are met: 1) all.x is TRUE 2) at least 1 row in y does not have a match in x then any character vectors in y will be coerced to be factors. Here is a simple example (previously provided on r-devel): > x <- data.frame(a = 1:4) > y <- data.frame(b = LETTERS[1:3]) > y$b <- as.character(y$b) > z <- merge(x, y, by = 0, all.x = TRUE) > z
2004 Sep 23
5
Billing Fun - anybody know where to get a NPA/NXX db?
Hello; I've been playing with a nifty Open Source java based report writer called Datavision (datavision.sourceforge.net) and I've managed to write enough logic to calculate phone bills at different rates from the MySQL cdr's. (cdr_addon_mysql) Eventually I want to have sets of rate structures for each user of the system - so I can bill client A at 3 cents a minute and client B at 2
2008 Aug 15
3
AstDB/Berkely DB - Hash function? Balanced-Tree? b-Tree? Linked List?
Does anyone know enough about the implementation of AstDB to know whether the data structure is a Hash function, a Balanced-Tree, a b-Tree, or a Linked List? I'm trying to estimate the lookup 'cost' of a AstDB with around 160,000 keys? Obviously I already know that it WILL WORK, but the question is whether the data structure is optimal in the Berkeley DB AS IMPLEMENTED in Asterisk.