Displaying 3 results from an estimated 3 matches for "wapper".
Did you mean:
wrapper
2009 Sep 11
1
call Fortran from R
...is (this is only a toy model, my
working model is far more complex, but input/output is similar)
DOUBLE PRECISION FUNCTION model(times, alfa, beta)
DOUBLE PRECISION alfa, beta, times
model=beta*sin(times)+alfa*cos(times)
END FUNCTION
which is saved as model.f.
I wrote a wapper like this (saved as wrapper.f)
SUBROUTINE model_wrapper(times, alfa, beta, answer)
DOUBLE PRECISION times, alfa, beta, answer
EXTERNAL model
answer = model(times, alfa, beta)
END SUBROUTINE
Then I compiled all this stuff
g77 -fno-second-underscore -c -fPIC mode...
2005 Jun 29
1
sshd_config parameter to deal with multiple failed logins
...sshd the ability to block
further login attempts from a particular IP address/block after a set
number of failed logins? I'm sure lots of other admins have seen their
system logs full of attempts by hackers probing with lists of sample
usernames. I know there is a Python script which uses TCP wappers to
achieve this by editing /etc/hosts.{allow,deny}. This seems a little
ugly. Please could responders CC me since I'm not on the mailing list.
Thanks
Tom Crane.
2009 Sep 11
3
For sending my R package as part of R-project
...his (this is only a toy model, my
working model is far more complex, but input/output is similar)
DOUBLE PRECISION FUNCTION model(times, alfa, beta)
DOUBLE PRECISION alfa, beta, times
model=beta*sin(times)+alfa*cos(times)
END FUNCTION
which is saved as model.f.
I wrote a wapper like this (saved as wrapper.f)
SUBROUTINE model_wrapper(times, alfa, beta, answer)
DOUBLE PRECISION times, alfa, beta, answer
EXTERNAL model
answer = model(times, alfa, beta)
END SUBROUTINE
Then I compiled all this stuff
g77 -fno-second-underscore -c -fPIC mode...