similar to: search algorithm

Displaying 20 results from an estimated 90 matches similar to: "search algorithm"

2006 Feb 14
3
Inf values in a matrix
Hello, I have some Inf values in a matrix, but I don't want to replace them with some value but rather remove the rows that contain the Inf values. Also I would like to record the rows which were removed. Is there an easy way to do this instead of writing loops over the matrix? Thanks. Ita Cirovic Donev
2005 Dec 23
2
for loop error
I have the following code and I am not sure what's wrong or how to make it work. B <- matrix(1,nrow=50,ncol=2) for (i in 1:length(size.out)){ # length(size.out=2) these are the two variables X <- var.range[i,1] # min Y <- var.range[i,1] # min ratio <- size.out[,i] for (j in 1:groups)
2008 Nov 09
2
Delete rows from matrix having at least one zero value
Hi, I have a further question about matrix manipulation. Imagine the following two matrices: > test [,1] [,2] [,3] [,4] [1,] 1 0 6 4 [2,] 2 5 7 5 [3,] 3 6 8 6 [4,] 4 0 0 0 > matrix(is.element(test,0), ncol=4) [,1] [,2] [,3] [,4] [1,] FALSE TRUE FALSE FALSE [2,] FALSE FALSE FALSE FALSE [3,] FALSE FALSE FALSE FALSE [4,] FALSE
2005 Oct 07
6
Applying a function to each element of an array
Hi, I have a 7000x7000 matrix, and each element is an integer. For each element, I want to apply the function : wt <- 0 for(q in 1:count){ wt <- wt + 0.5^(q-1) } I get the value of 'count' from the elements in the matrix , and want to store the corresponding 'wt' value for that element. I suppose I could loop through the matrix, and apply the function to each
2008 Mar 06
2
Cool New Website
Cool New Website For everyone to see! I think they are using a specially programmed version of Asterisk to do this. www.dialaway4free.com
2006 Jan 10
1
GrandSTream 488/Asterisk
Has anyone tested a grandstream 488 FXO gateway on an Asterisk machine? I read that the 488 has a FXO port on it, can I use the grandstream 488 to pass traffic to the pstn from Asterisk. I would use this at home to pass traffic into a foreign country's PSTN over the internet. Thanks.
2007 Jul 04
1
Asterisk Support Question
I am thinking of building an Asterisk PBX, and had a question on a piece of hardware support. I want to include a 4 port PCI 10/100 Switch router card. For those not familiar it's a PCI card that acts as a switch. My question is would I be able to configure those 4 ports to support sip phones plugged in directly to the asterisk box instead of a switch. Thanks in advance
2008 Mar 13
1
Hardware Platform
We are in the process of building out www.dialaway4free.com, a free world wide calling service. I am writing RFQ's for hardware, since we are going to use asterisk as our call processor. I was wondering what is the best server platform to use that will support digium cards and handle sip termination for both clients and service providers. Also should I go with the open source of asterisk as
2004 Jun 28
4
zaptel compile error
have just updated the sources from cvs when i compile zaptel i get following error can help me ? nicolas snip.... zaptel.c: In function `zt_ctl_ioctl': zaptel.c:3042: warning: assignment from incompatible pointer type zaptel.c:3044: warning: assignment from incompatible pointer type zaptel.c:3052: error: structure has no member named `close' zaptel.c:3053: error: structure has no
2006 Jan 26
1
Asterisk Setup Question -- Please Help
I have a question on Asterisk and whether it will work with the following design. Install ASTERISK on the external side of the Network. Purchase an AudioCodes 4/8 port Analog Fx0 gateway. So far everything seems straight forward. Here is the twist. The company currently has Cisco Call Manager 3.3 which does not support SIP Trunking. But it does have a VG248. I would like to place 4 lines
2008 Jun 05
1
Smooth Spline
Hi, I have three original curves as follows, n<-seq(20,200,by=10) t<-c(0.1138, 0.1639, 0.2051, 0.2473, 0.2890, 0.3304, 0.3827, 0.4075, 0.4618, 0.4944, 0.5209, 0.5562, 0.5935, 0.6197, 0.6523, 0.6771, 0.6984, 0.7209, 0.7453) es<-c(0.3682, 0.4268, 0.5585, 0.6095, 0.7023, 0.7534, 0.8225, 0.8471, 0.8964, 0.9098, 0.9371, 0.9514, 0.9685, 0.9747, 0.9812, 0.9859, 0.9905, 0.9923, 0.9940)
2009 Feb 23
1
Follow-up to Reply: Overdispersion with binomial distribution
THANKS so very much for your help (previous and future!). I have a two follow-up questions. 1) You say that dispersion = 1 by definition ....dispersion changes from 1 to 13.5 when I go from binomial to quasibinomial....does this suggest that I should use the binomial? i.e., is the dispersion factor more important that the 2) Is there a cutoff for too much overdispersion - mine seems to be
2012 Dec 08
4
read.table()
Hi List, I have spent more than 30 minutes, but failed to read in this file using the read.table() function. I could not figure out how to fix the following error. Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 6 elements Any help would be be appreciated. Thanks, Pradip Muhuri ####### below is the reproducible example xd1 <-
2014 Aug 12
4
[LLVMdev] Explicit template instantiations in libc++
Most of libc++ doesn't have explicit template instantiations, which leads to a pretty significant build time and code size cost when using libc++, since a large number of common templates will be emitted by the compiler and coalesced by the linker. Notably, in include/__config, we have: #ifndef _LIBCPP_EXTERN_TEMPLATE #define _LIBCPP_EXTERN_TEMPLATE(...) #endif whereas before
2008 Jan 15
3
How to interrupt a loop by pressing a key?
Hello, Does anyone know a way of interrupting a loop by pressing a key (besides ctrl-c)? My problem is the following: I have a machine acquiring data and saving text files into a directory. I have an R script that read those files, process them and plots the results. What I would like to do is: process the data as the files appear in the folder (I've done that do with a loop that checks
2005 Mar 10
2
E1 LED not lighting up....
Hi all, Having an issue in getting our first asterisk server recognising the channels on our E1. At the moment, when we start up the machine, everything goes well, but the light on our single span TE110P card flashes red (slowly). I imagine that I'm supposed to get a green light when a connection has been made. (lol - else I'm not sure what it's there for :P) Can anyone
2006 Nov 20
2
push-pop ordering error found in memdisk
H. Peter Anvin, The following problem came to my attention with memdisk. I cannot claim the credit, but wanted to be sure the information made it back into the program for the benefit of all users... In file memdisk.asm, in respect of the operation of the raw and bigraw options, the order of pop instructions does not correspond to the order registers are pushed;
2005 Jan 03
2
agent with queues remain unavailable during transferred call
Hi, I'm seeing something I'd like suggestions on: I have a queue with agents that log in using agentcallbacklogin. The extension that is logged in with is a Local channel. Now, if a call comes in to the queue and is handled by an agent (in our case using Cisco 7960 SIP phones) and transferred (attended) to another extension, the agent remains unavailable during the remains of the call.
2005 Mar 22
6
IRQ headaches
Excuse my ignorance here, but I am desperately trying to isolate the IRQ for my TE110P card (shown below as t1xxp) Ive gone into my bios and disabled all usb , parallel, serial and some other devices, those that I needed to keep, I have moved off of IRQ 10 and onto IRQ 5, but everytime I boot up, I get usb-uhci and ehci_hcd using IRQ 10 as well as my Digium card. Does anybody know what these are
2005 Mar 12
1
RE: Asterisk-Users Digest, Vol 8, Issue 88
These allow and disallow work with NuFone for me disallow=all allow=ulaw allow=alaw allow=gsm Jeff Message: 11 Date: Fri, 11 Mar 2005 11:15:51 +0100 From: "Edward Banfa" <edward@radform.com> Subject: [Asterisk-Users] NuFone Configuration [problem] To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com>