Displaying 1 result from an estimated 1 matches for "myiim".
Did you mean:
myim
2002 Jun 13
0
Verbatim text to file
...this would be very
helpful to supply stand-alone examples.
Till now I have been using something like the following,
but I would like to be able to paste the Java-code into
the R-script directly.
Thanks in advance,
Anders.
####R-snip
prog.string<-paste(
"public class myiim implements IIModel{",
" public double[] drift(double[] val, double dt){return(new
double[]{0,0,dt});}",
" public double[] noise(double[] val, double dt){",
" return(new double[]{Math.sqrt(dt)*.1,Math.sqrt(dt)*.1, 0});",
" }",
&q...