Le 24/11/10 20:03, Andrew Redd a écrit :
OK that fixed that problem. Thanks.
but now I have another.
This is the defined model and function in question.
SEXP gpubayes::data3::stepP(Rcpp::NumericVector sd){
using namespace Rcpp;
RNGScope scope;
NumericVector rng = runif
Le 24/11/10 19:38, Andrew Redd a écrit :
I'm having a problem with sugar expressions that I can't figure out.
I have these two functions that are sampling and prior functions for
two different parameters of an MCMC model. BTW this is part of my big
CUDA project, so I pass these as pointers into
I'm having a problem with sugar expressions that I can't figure out.
I have these two functions that are sampling and prior functions for
two different parameters of an MCMC model. BTW this is part of my big
CUDA project, so I pass these as pointers into other functions.
---
numeric rb1(numeric a,