我看到了基于Delphi的SRL6 Simba脚本语言的代码
dist:= hypot(xs - xe, ys - ye);
wind:= minE(wind, dist);
if (dist < 1) then
dist := 1;
PDist := (dist/TDist);和
if (getSystemTime() > t) then
break;
dist:= hypot(xs - xe, ys - ye);
wind:= minE(wind, dist);实际上,我们关注的是最后一个片段的底线--minE(.)。这个功能意味着什么?我知道这是数学问题,是的,我已经在谷歌上搜索了一个小时,但没有结果!谢谢你的帮助
发布于 2014-06-22 04:58:42
MinE只是扩展值的包装器。如本例所示:
function ps_MinE(a, b : extended) : extended; extdecl;
begin
result := min(a,b);
end;https://stackoverflow.com/questions/20660308
复制相似问题