similar to: Array Help

Displaying 20 results from an estimated 600 matches similar to: "Array Help"

2010 Apr 23
2
Matrix diagonal help
Hi Suppose I have a matrix (cohort are rows and years are columns) [2000] [2001] [2002] [2003] [C1] 0.01 0.03 0.02 0.09 [C2] 0.06 0.05 0.07 0.11 [C3] 0.1 0.5 0.4 0.98 [C4] 0.7 0.6 0.2 0.77 I want to extracts the diagonals to get a matrix which looks like this (C1 becomes C2 in 2002, C2 becomes C3 in 2003
2011 Oct 01
1
[LLVMdev] Tablegen: RegisterInfoEmitter.cpp
Hi, I understand the idea behind compare_numeric() is to compare strings containing digits in a special way: Do a normal string-compare up to the point where both string elemnts are numerical. Find then an outcome based on the number of consecutive digits in the strings while disregarding the value of the digits, eg a12b < a123. I guess then this order should hold: a12 == a22 < a1b, for
2011 Sep 30
0
[LLVMdev] Tablegen: RegisterInfoEmitter.cpp
On Sep 30, 2011, at 8:29 AM, Jonas Paulsson wrote: > The conclusion is that the StringRef::compare_numeric() is not deterministic Thanks for tracking this down. I believe we have a bug in compare_numeric() causing it to be non-transitive sometimes. It is supposed to provide a total ordering of strings. Can you find the bug? /jakob -------------- next part -------------- An HTML attachment
2011 Sep 30
3
[LLVMdev] Tablegen: RegisterInfoEmitter.cpp
Hi, I just bumped into a bug in this code. The problem was as follows: I have defined a set of registers with rather similar names including digits. The code section at RegisterInfoEmitter::run(){ ... // Process sub-register sets. runs and fills the RegisterAliases map. then, ... for (unsigned i = 0, e = Regs.size(); i != e; ++i) { RegNo[Regs[i].TheDef] = i; NumAliases +=
2005 Dec 22
3
snom Firmware 5.0.
Hi, Snom phones firmware 5.0 is now out. Try it if you like: http://www.snom.com/wiki/index.php/Main_Page. Regards, --------------------------------------------------------------------- Usman Tahir snom technology AG www.snom.com --------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Sep 23
6
Which codec?
Is there a guy somewhere on how much bandwidth each codec uses, along with the advantages and disadvantages of each one? Dan Journo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050923/3bee2776/attachment.htm
2009 Mar 02
1
xy-plot alb font size
I would appreciate any help for the following question. How to increase the font size of labels for the x and y axes in the following code? --------------------------------- xyplot(lbxglu~lbxgh|eth,reg.dat.5, panel = p, col = 1:2, par.strip.text = list(cex = 1.25,col="brown"), xlab="A1C",ylab="Fasting Plasma Glucose", main="FPG") p <- function(..., col)
2007 Apr 29
4
Too slow to execute!
Greetings, I have the following simple function but what worries me is that it takes about 5 or more minutes to execute. My machine runs on windows with 1.8GHz and 256 Ram. > Re=NULL > for(i in 1:100000){ + x=rnorm(20) + Re[i]=(x-2*10)/20 + Re + } I would appreciate any help on how to make it faster. Usman ___________________________________________________________ now.
2007 Aug 26
2
error message!
Dear R-users, Can some one help me out. I tried installing some packages in R_2.5.1 but I get an error message as shown below. This is unusual since I have been installing and updatings packages in the same version of R. > chooseCRANmirror() > update.packages(ask='graphics') Error in .readRDS(pfile) : unknown input format or > utils:::menuInstallPkgs() Error in .readRDS(pfile) :
2006 Nov 20
7
Snom 360 Multiple calls on hold help
Hi everyone, Ive just installed a bunch of Snom 360s, and now having a NIGHTMARE of problems! Ive got a receponist phone with a extra sidecar on it. And when she gets 2+ calls and puts them on hold, when she goes to transfer them out the calls on hold get merged together. Somehow the calls on hold get merged and not to the extension needed!! Any help on this would be great guys, that would be
2003 Aug 12
1
(no subject)
Dear R- Users, Please, what is wrong ? I am trying to run one sample Kolmogorov-Smirov test but I always get an error as shown below. > ks.test(A, "normal", 0,1) Error in get(x, envir, mode, inherits) : variable "normal" was not found > Thanks usman --------------------------------- Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
2010 May 24
1
finding the best cubic spline fitting
Hi, I am trying to fit cubic spline to a data on mortality rate by age and year (1900-2008). The data is noisy and hence I would like to smooth using spline and also extrapolate beyond 2008. Data from 1900 to 1948 are very unreliable while data from 1948 to 2008 are reliable. I would like to have a higher weight for data between 1948 to 2008. I am not sure how to do this. When I smooth data from
2012 Mar 24
1
Installing "rgl" package
I tried installing "rgl" package which is needed for Rcmdr to work properly but I always some problem. This is the error I get ......... checking for libpng-config... yes configure: using libpng-config configure: using libpng dynamic linkage checking for X... libraries , headers  checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking
2013 Dec 13
2
Multiple IAX2 Trunks Load balancing
Hi - I have 2 Asterisk servers connected using 05 IAX2 trunks. I want to load balance incoming calls over IAX2 trunks. If any trunk goes down the calls traffic will be shared with other available trunks. When it gets Up the script is supposed to perform as desired i.e in load balance mode. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2017 Aug 08
1
Discrete Uniform Distribution
Hey I want to generate a discrete uniform distribution as follows: For example: I want to get 278734 records each with a numbers between 7-10. And the sum of numbers in 278734 records to be equal to 2253712. Once this is done, I want to get that printed to an excel file such that Record Value 1 9 2 7 so on 278734 8 The
2008 Mar 13
2
SNOM on "Do Not Call" list????
Some light relief .... SNOM say "Please note that you will not be able to reach us by phone." http://www.theregister.co.uk/2008/03/13/dont_call_us/ regards, Drew -- Drew Gibson Systems Administrator OANDA Corporation www.oanda.com
2007 Jan 18
2
Snom has dialtone after putting a person on hold
Hi List, I cant seem to find the setting that changes this! You put a person on hold, they are on hold like normal, but after a few seconds the phone will then start having dialtone coming from the speakerphone, really weird!! Anyone know how to fix this? I see where it could be nice, but in this case, we just want them on hold is all, no dialtone! Any help would be great! Thanks! Ron
2010 May 12
1
Convert data.frame or matrix to list
Hi, i have the following data.frame : > Data[1:3,] dt amt geoTree merTree ref 1 0.71002484 3.334570 A2b B2b 0 2 0.49074936 2.544464 A2b B1a 0 3 0.06223433 3.617133 A1b B2a 0 i want to convert it to a list, like this: list(Data[1,],Data[2,],Data[3,]) [[1]] dt amt geoTree merTree ref 1 0.07333459 0.969585 A2a
2003 Jun 01
6
Call Transfer Problem
hi All, We are working on Soft-PBX using Asterisk. This relates to CALL TRANSFERRING aspects of Asterisk. We were able to do one type of call transfering, ie, the called person can transfer the original call to another person. but we were unable to do the other, that is, call initiator him/her self couldn't transfer the call. Eventhough the documentation for Dial application intructs to
2009 Aug 13
4
Snom Phones Registration/Failover Feature
Hello Mailinglist, i was reading a paper regarding a Asterisk clustering solution and they where pretty excited about a feature in polycom phones: You can add a registration to a primary asterisk server You can add a registration to a secondary asterisk server The polycom phones will talk to the primary server as long as all goes well, If they have a problem with an INVITE, they