search for: devfunc

Displaying 4 results from an estimated 4 matches for "devfunc".

2010 Apr 06
1
estimating the starting value within a ODE using nls and lsoda
...fit.rk4 <- nls(noisy ~ rk4(p4, time, minmod, parms=c(p1,p2,p3)) However, my goal is to not only estimate p1, p2 and p3, but also to estimate the starting value p4 from the data. I am currently using the following procedure using optim to accomplish this: step 1 (define a DevFun to optimize): DevFunc <- function(p4) { fit.rk4 <- nls(noisy ~ rk4(p4, time, ODE.model, params) r <- deviance(fit.rk4) r } step 2 (optimize with optim): fit <- optim(inits, DevFunc, method="L-BFGS-B", hessian=T, lower=lower, upper=upper) I have explored this via simulation and with real data a...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...hdr_type = %x, class = %x\n", + vendor_id, hdr_type, class); assign_alt_irq (cur_func, class_code); if ((rc = configure_device (cur_func)) < 0) { /* We need to do this in case some other BARs were properly inserted */ - err ("was not able to configure devfunc %x on bus %x.\n", - cur_func->device, cur_func->busno); + pr_err("was not able to configure devfunc %x on bus %x.\n", + cur_func->device, + cur_func->busno); cleanup_count = 6; goto error; } @@ -159,14 +167,15 @@...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...hdr_type = %x, class = %x\n", + vendor_id, hdr_type, class); assign_alt_irq (cur_func, class_code); if ((rc = configure_device (cur_func)) < 0) { /* We need to do this in case some other BARs were properly inserted */ - err ("was not able to configure devfunc %x on bus %x.\n", - cur_func->device, cur_func->busno); + pr_err("was not able to configure devfunc %x on bus %x.\n", + cur_func->device, + cur_func->busno); cleanup_count = 6; goto error; } @@ -159,14 +167,15 @@...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...hdr_type = %x, class = %x\n", + vendor_id, hdr_type, class); assign_alt_irq (cur_func, class_code); if ((rc = configure_device (cur_func)) < 0) { /* We need to do this in case some other BARs were properly inserted */ - err ("was not able to configure devfunc %x on bus %x.\n", - cur_func->device, cur_func->busno); + pr_err("was not able to configure devfunc %x on bus %x.\n", + cur_func->device, + cur_func->busno); cleanup_count = 6; goto error; } @@ -159,14 +167,15 @@...