1页(5条)
sum over range is terribly slow - 消息
debug.sm (12.2 KiB)已下载 1185 次。
While doing a sum on a floating-point range I have realized simple SUM(4) cannot be directly used
It requires translation of FP range into the integer range, which is basically a hack.
Doing a sum over the FP range in a loop is terribly slow - any ideas why?

While doing a sum on a floating-point range I have realized simple SUM(4) cannot be directly used
It requires translation of FP range into the integer range, which is basically a hack.
Doing a sum over the FP range in a loop is terribly slow - any ideas why?

Use Optimization --> Numeric on the function.
(R/Click on the function, select Optimization ---> Numeric.
(R/Click on the function, select Optimization ---> Numeric.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
WroteUse Optimization --> Numeric on the function.
(R/Click on the function, select Optimization ---> Numeric.
That worked. Thanks!
WroteDoing a sum over the FP range in a loop is terribly slow - any ideas why?
I don't see that here. "for loop" is always the winner. deeper @ kernel level.
debug [doctored].sm (12.28 KiB)已下载 1006 次。
WroteWroteDoing a sum over the FP range in a loop is terribly slow - any ideas why?
I don't see that here. "for loop" is always the winner. deeper @ kernel level.
debug [doctored].sm (12.28 KiB)已下载 1006 次。
AS NTDMA has suggested, Numeric Optimization did the trick. Its was purely to do with my incompetence.
1页(5条)
- 有新帖
- 无新帖