search for: worbis

Displaying 2 results from an estimated 2 matches for "worbis".

Did you mean: vorbis
2012 Jun 09
0
R-devel Digest, Vol 112, Issue 8
...nd Rvmmin. Rather than directly use the optim() routines in C, you may want to use some more modern ones, but the choice may be dependent on your problem. JN On 06/09/2012 06:00 AM, r-devel-request at r-project.org wrote: > Message: 2 > Date: Fri, 8 Jun 2012 09:40:17 -0400 > From: Edward Worbis <eworbspam at gmail.com> > To: r-devel at R-project.org > Subject: [Rd] Working with optim in C > Message-ID: > <CADL3ysNS+pD1ohJVA=gXJ6LXMJ-ZFsFSTxT0ab7g=RAXdpBghg at mail.gmail.com> > Content-Type: text/plain > > I've searched to find examples of how to wor...
2012 Jun 08
0
Working with optim in C
I've searched to find examples of how to work with the C versions of optim. I've separated out the function just to test on it alone, and currently I'm attempting to use fmmin as follows: !~~CODE ~~! double optimfn(int n, double *par, void *ex) { double * lambda = (double*)malloc(sizeof(double)*n); double sum = 0; for(int i =0; i < n; i++) { lambda[i] =