similar to: [LLVMdev] [Patch] Fix code-gen typo in VariadicFunction.h

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] [Patch] Fix code-gen typo in VariadicFunction.h"

2012 Jul 23
1
[LLVMdev] Fw: Fix for forward-declare-class.cpp in debuginfo-tests
Hi, Please could someone kindly review this patch for me? Many thanks Andy On Wednesday, July 18, 2012 9:15 AM, Andy Gibbs wrote: > Hi, > > I'm not sure where to post this since it relates to the "debuginfo-tests" > repository, so please tell me where to forward it if this is the wrong > place! > > I've fixed the forward-declare-class.cpp test-case in
2012 Jul 31
2
[LLVMdev] [lld] Patch to incorporate lld test-suite into "make check-all"
Hi again, Any interest in this patch to incorporate lld testing into "make check-all" when lld built as part of llvm? Is this the best place to post patches for lld? I've attached it again here to include a missing dependency. Cheers Andy On Thursday, July 26, 2012 1:45 PM, Andy Gibbs wrote: > Hi, > > Attached is a patch which incorporates the lld test-suite into
2011 Apr 11
1
rtmvt
I have been using the rtmvt function in the {tmvtnorm} package i'm getting the warning: "Acceptance rate is very low and rejection sampling becomes inefficient. Consider using Gibbs sampling." but i AM specifying the gibbs algorithm!!: rtmvt(M, mean=q[,,i,j], sigma=((u[i,j] + nu[i])/(p+nu[i]))*delta[,,i], df=ceiling(nu[i]+p), lower=c(0,0), algorithm="gibbs") Any
2009 Aug 17
1
Bayesian data analysis - help with sampler function
I have downloaded the Umacs (Universal Markov chain sampler) and submitted the following sample code from Kerman and Gelman.   s <-Sampler( J=8, sigma.y  =c(15,10,16,11,9,11,10,18),           y  =c(28, 8,-3,7,-1,1,18,12),      theta =Gibbs(theta.update,theta.init),           V =Gibbs(V.update,mu.init),         mu =Gibbs(mu.update,mu.init),         tau =Gibbs(tau.update,tau.init),       
2012 Aug 01
0
[LLVMdev] Broken tests following r160899
On Tuesday, July 31, 2012 7:19 PM, Andy Gibbs wrote: > I'm afraid it looks like commit r160899 has broken two test-cases > which are part of the "debuginfo-tests" repository. I believe I > have narrowed it down to the correct commit... Erm, but I didn't post the details (obviously too much in a rush to get home last night! My apologies!) So here it is: The tests that
2004 Mar 19
1
R_qsort_int_I() error
Hi, I want to use R_qsort_int_I() in my C function, but getting the following error. It looks like there is a conflict between Rmath.h, which I use to generate random numbers, and R_ext/Boolean.h I would appreciate any help to fix this problem. gcc -ansi -g -o Gibbs gibbs.c subroutines.o rand.o vector.o -lm -lRmath -llapack -lblas -lfrtbegin -lg2c -lm -shared-libgcc In file included from
2006 Aug 11
2
about MCMC pack again...
Hello, thank you very much for your previous answers about the C++ code. I am interested in the application of the Gibbs Sampler in the IRT models, so in the function MCMCirt1d and MCMCirtkd. I've found the C++ source codes, as you suggested, but I cannot find anything about the Gibbs Sampler. All the files are for the Metropolis algorithm. Maybe I am not able to read them very well, by the
2011 Feb 07
1
Question about checkTmvArgs function in rtmvnorm (package tmvtnorm)
Hello! I was wondering if it's possible to see the actual code of checkTmvArgs function that is part of the code for rtmvnorm (which is below - I just typed "rtmvnorm" on the prompt). I get an error: Error in checkTmvArgs(mean, sigma, lower, upper) : sigma must be a symmetric matrix At the same time I am pretty sure that the matrix I am passing as sigma is a var-covar matrix
2010 Oct 11
2
topicmodels error
I try to fit a LDA model to a TermDocumentMatrix with the topicmodels package... but R says: > Error in LDA(TDM, k = k, method = "Gibbs", control = list(seed = SEED, : > x is of class ?TermDocumentMatrix??simple_triplet_matrix? > class(TDM) > [1] "TermDocumentMatrix" "simple_triplet_matrix" I try to use a matrix... but don't work: > MAT
2011 Nov 07
3
Correction in error
Hello R community, following is my code and it shows error, can some one fix this error and explain why this occurs? gibbs <-function(m,n, theta = 0, lambda = 1){ alpha <- 1.5 beta <- 1.5 gamma <- 1.5 x<- array(0,c(m+1, 3)) x[1,1] <- theta x[1,2] <- lambda x[1,3]<- n for(t in 2:m+1){ x[t,1] <- rbinom(x[t-1,3], 1, x[t-1,1])
2008 Nov 01
2
sampling from Laplace-Normal
Hi, I have to draw samples from an asymmetric-Laplace-Normal distribution: f(u|y, x, beta, phi, sigma, tau) \propto exp( - sum( ( abs(lo) + (2*tau-1)*lo )/(2*sigma) ) - 0.5/phi*u^2), where lo = (y - x*beta) and y=(y_1, ..., y_n), x=(x_1, ..., x_n) -- sorry for this huge formula -- A WinBUGS Gibbs sampler and the HI package arms sampler were used with the same initial data for all parameters. I
2005 Jul 19
1
initial points for arms in package HI
Dear R-users I have a problem choosing initial points for the function arms() in the package HI I intend to implement a Gibbs sampler and one of my conditional distributions is nonstandard and not logconcave. Therefore I'd like to use arms. But there seem to be a strong influence of the initial point y.start. To show the effect I constructed a demonstration example. It is reproducible
2011 Nov 10
1
Gibbs sampler
I have the following code, gibbs <-function(m,theta = 0.25, lambda =0.55, n =1){ alpha <- 1.5 beta <- 1.5 gamma <- 1.5 x<- array(0,c(m+1, 3)) x[1,1] <- theta x[1,2] <- lambda x[1,3]<- n for(t in 2:(m+1)){ x[t,1] <- rbinom(1, x[t-1,3], x[t-1,1]) x[t,2]<-rbeta(1, x[t-1,1] + alpha, x[t-1,3] - x[t-1,1] + beta) x[t,3]
2008 May 09
1
Have you ever experienced this problem with REAL in a C code
Dear all, I'm currently experiencing big troubles with my C code called by .Call in a R function. I know this may not be the right place for such things but these errors are driving me crazy. And I hope other people may have already experienced these problems so that they could give me good suggestions. Sorry if I'm completely out of topic. Well let's go... I'm writing a
2009 Jan 25
1
Gibbs sampler...did it work?
I am writing a Gibbs sampler. I think it is outputting some of what I want, in that I am getting vector of several thousand values (but not 10,000) in a txt file at the end. My question is, is the error message (see below) telling me that it can't output 10,000 values (draws) because of a limitation in my memory, file size, shape etc, or that there is an error in the sampler itself? >
2012 Aug 30
2
Which BUGS should one use?
Hello ALL! Some times ago I started to learn and play with Bayesian stuffs. Many advice use of WinBUGS for Bayesian inference Using Gibbs Sampler. However, WinBUGS is discontinued, and now, development is under OpenBUGS. I wasn't lazy, so I installed both and tried out. In more than 90% of cases they give comparable outcome. But in few cases I got substantial differences. Recently, I read nice
2007 Jan 18
1
RE: Polycom buddies question
A follow up (late better than never) Finally had time to sit down and look at this sip.cfg <keys key.scrolling.timeout="1" key.IP_500.31.function.prim="BuddyStatus"/> This turns the Services key which I never use on a 501 into the Buddy Status. It even works while on a call. One touch! Bill ________________________________ From: Bill Gibbs
2007 Oct 23
1
multivariate Stochastic Volatility and GARCH
Dear everyone, i`m a german economics student, writing my master´s thesis about "Multivariate Volatility Models". After having read about theoretical aspects of Multivariate GARCH ans Stochastic Volatility Models, I would like to compare DCC-GARCH and DC-SV with help of an empirical application. I figuered out that one has to use MCMC-simulation-methods for that. Some days ago I
2012 Jul 29
3
[LLVMdev] rotate
> *NOTE* IIRC compiling this with -O0 on x86-64 can yield the wrong result > since clang will emit shifts and on intel shifts are mod the register > size [...snip...] I remember finding the same thing (although I haven't tried it on a recent clang version) and what I wondered was whether there was mileage in having an explicit intrinsic for rotation (like there is for bit counting,
2006 Jul 29
2
deflexion exercise?
I read the Ed Gibbs blog posting on BDD, and there was a reference to implementing the game Deflexions as a way of learning about expectations... I''d like to do this exercise, can you provide me with the details (starting points, objectives, etc...) Thanks! Dominique ------------------------------------------------------------- dom.website = http://www.binaryshift.com