Displaying 2 results from an estimated 2 matches for "ihat".
Did you mean:
hat
2007 Jun 06
3
Using odesolve to produce non-negative solutions
...y has negative quantities (shouldn't have), then reset to reasonable values for computing meaningful derivatives
for (i in 1:length(y)) {
if (y[i]<0) {
y[i] <- 0
}
}
S <- y[1]
I <- y[2]
R <- y[3]
N <- y[4]
shat <- (birth*(1-vax)) - (death*S) - (beta*S*I/N)
ihat <- (beta*S*I/N) - (death*I) - (recover*I)
rhat <- (birth*(vax)) + (recover*I) - (death*R)
## Do we overshoot into negative space, if so shrink derivative to bring state to 0
## then rescale the components that take the derivative negative
if (shat+S<0) {
shat_old <- shat
shat &...
2010 Jun 30
5
tinc on macosx
Hi,
I have macosx 10.5.8 and Tunnelblick (openvpn) installed before.
I have installed tinc using port and got version 1.0.11 (Jun 29 2010
15:10:51)
now I have 2 problems:
1) the interface variable from the tinc.conf is not used, instead I have a
tun0 interface (or tap0).
2) the tinc-up script seems to be fired too early as I get an
error: ifconfig: interface /dev/tap0 does not exist
when I run