search for: nextdouble

Displaying 1 result from an estimated 1 matches for "nextdouble".

Did you mean: getdouble
2008 Sep 14
3
Please help me in Converting this from C# to R
...decimal B = 0.1m; decimal D = 0.05m; int nodes = graph.NodesCount; decimal[] E = new decimal[nodes]; decimal[] P = new decimal[nodes]; for (int i = 7; i <= 10; ++i) P[i] = (decimal)r.NextDouble(); for (int t = 0; t < 100; ++t) { // Writed(E, "E"); Writed(P, "P"); foreach (SimpleNode n in graph.Nodes) { int id = gra...