search for: getparms

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

Did you mean: setparms
2003 Oct 23
2
OOP like handling of lists?
...p["k2"] * x[1] * x[2] list(c(dx1.dt, dx2.dt)) }, parms = c(k1=0.2, k2=0.2, k3=0.2), xstart = c(prey=0.5, predator=1) # and some more elements ... ) class(lvmodel) <- "odemodel" ## Getting and setting parameters ################################### getParms <- function(model) { model$parms } setParms <- function(model, parmlist) { for (i in 1:length(parmlist)) { model$parms[names(parmlist[i])] <- parmlist[[i]] } invisible(model) } ## Simulation ####################################################### simulate <- function...
2009 Mar 22
1
[PATCH] [memdisk] Additional comments in memdisk.inc and postprocess.pl
...cmp byte [es:0x475],1 ; BIOS variable for number of hard + ; disks jbe success .pass_on: @@ -354,7 +359,7 @@ EDDWrite: TRACER 'w' call edd_setup_regs - xchg esi,edi + xchg esi,edi ; Opposite direction of a Read! call bcopy xor ax,ax ret @@ -397,7 +402,8 @@ EDDGetParms: ret %endif ; EDD - ; Set up registers as for a "Read", and compares against disk size. + ; Set up registers as for a "Read", and compares against disk + ; size. ; WARNING: This fails immediately, even if we can transfer some ; sectors. This isn't really the...