search for: dynare_substitute

Displaying 1 result from an estimated 1 matches for "dynare_substitute".

2006 Jul 24
2
persistent C++ objects
...the formulas, parses them and performs k-order symbolic expansions - the user calls a member of this object multiple times with parameter values (eg for MCMC), the object returns tensors An R interface could work this way: modeleq <- dynare_expand(... model description ...) result1 <- dynare_substitute(modeleq, par1) result2 <- dynare_substitute(modeleq, par2) etc. So the user needs to see something in R that corresponds to a C++ object that remains in the memory between calls. What is the proper way to do that? Pass a pointer? How do I handle that in the .C() calls, convert it to long int...