On 1 March 2014 at 16:12, Matt D. wrote:
| On 2/27/2014 21:02, Dirk Eddelbuettel wrote:
| >
| > Last time I neeed a 1-d solver, I just quicky coded one up, based on another
| > implementation of Brent's method. That was a one-off and at work, but it
| > really isn't that involved.
|
| For 1-D so
On 2/27/2014 21:02, Dirk Eddelbuettel wrote:
Last time I neeed a 1-d solver, I just quicky coded one up, based on another
implementation of Brent's method. That was a one-off and at work, but it
really isn't that involved.
For 1-D solvers (gradient-based & derivative-free root-finding, as wel
boun...@r-forge.wu-wien.ac.at
[mailto:rcpp-devel-boun...@r-forge.wu-wien.ac.at] On Behalf Of Dirk Eddelbuettel
Sent: Friday, February 28, 2014 7:14 AM
To: Gregor Kastner
Cc: rcpp-de...@r-forge.wu-wien.ac.at
Subject: Re: [Rcpp-devel] Rcpp syntactic sugar equivalent for R's optimize()
function
On
Le 28 févr. 2014 à 11:52, Gregor Kastner a écrit :
> Hi Hideyoshi,
>
>> Is there a way I can just call that function in Rcpp rather than having to
>> install new libraries or create my own? (I presume that there is probably a
>> “C_do_fmin.c” file somewhere that I can use?)
>
> This questions
On 28 February 2014 at 11:52, Gregor Kastner wrote:
| Hi Hideyoshi,
|
| > Is there a way I can just call that function in Rcpp rather than having to
| > install new libraries or create my own? (I presume that there is probably a
| > “C_do_fmin.c” file somewhere that I can use?)
|
| This question
Hi Hideyoshi,
> Is there a way I can just call that function in Rcpp rather than having to
> install new libraries or create my own? (I presume that there is probably a
> “C_do_fmin.c” file somewhere that I can use?)
This questions has been discussed in this list about a month ago:
http://r.7896
I have just noticed that optimize() is already a C function, as is suggested
below:
> stats::optimize
function (f, interval, ..., lower = min(interval), upper = max(interval),
maximum = FALSE, tol = .Machine$double.eps^0.25)
{
if (maximum) {
val <- .External2(C_do_fmin, function
Last time I neeed a 1-d solver, I just quicky coded one up, based on another
implementation of Brent's method. That was a one-off and at work, but it
really isn't that involved.
Otherwise, please do look around at CRAN. There are now 176 packages using
Rcpp, and quite a few use, or implement, op
syntactic sugar equivalent for R's optimize()
function
Hi Rcpp-devel list,
I was wondering if there was a Rcpp equivalent function for R's optimise()
function thats in the stats package?
If not, since Its a single vector optimisation are there some existing
libraries i can use withi
Hi Rcpp-devel list,
I was wondering if there was a Rcpp equivalent function for R’s optimise()
function thats in the stats package?
If not, since Its a single vector optimisation are there some existing
libraries i can use within Rcpp that someone can point me to?
Regards,
HLM
___
10 matches
Mail list logo