search for: mmval

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

Did you mean: immval
2006 Feb 24
1
help with optimize statement
Can some help me spot what I'm doing wrong here. I have two equations, one a michalis-menton eqn and one a straight line. I need to work out where they cross. I created the function: solveEqn<-function(x,vals){ Vmax<-vals[1] Ks<-vals[2] m<-vals[3] c<-vals[4] diff<-0 mmVal<-exp(Vmax+x/(Ks+x)) slVal<-x*m+c diff<-mmVal-slVal return(diff) } > optim(c(200,500),solveEqn,vals=c(2.4591201,-0.4015233,5.924e-5,3.437)) Error in optim(c(200, 500), solveEqn, vals = c(2.4591201, -0.4015233, : objective function in optim evaluates to length 2 not...
2011 Nov 30
0
[PATCH 4/4] x86/emulator: cleanup
...x = {}; unsigned int op_bytes, def_op_bytes, ad_bytes, def_ad_bytes; -#define REPE_PREFIX 1 -#define REPNE_PREFIX 2 - unsigned int lock_prefix = 0, rep_prefix = 0; + bool_t lock_prefix = 0; int override_seg = -1, rc = X86EMUL_OKAY; struct operand src, dst; DECLARE_ALIGNED(mmval_t, mmval); @@ -1359,7 +1361,8 @@ x86_emulate( { case 0x66: /* operand-size override */ op_bytes = def_op_bytes ^ 6; - vex.pfx = vex_66; + if ( !vex.pfx ) + vex.pfx = vex_66; break; case 0x67: /* address-size o...