Author Topic: Bugs with script  (Read 6782 times)

Offline MrMage

  • Administrator
  • *****
  • Posts: 475
  • Karma: 7
Re: Bugs with script
« Reply #15 on: September 23, 2008, 11:54:31 AM »
I don't know how to replace abs. But at least you can execute them after the approx() command to save a lot of time.

Maybe do something like replacing abs(x) with sqrt(x^2) for non-complex numbers, or try arg(x) (complex argument of x).

Offline Belaidi

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Bugs with script
« Reply #16 on: September 24, 2008, 08:01:23 AM »
I replaced function abs(x) by sqrt(x^2) but it either takes longer time (>30 sec) or got runtime error..

WM6 200 MHz PDA

Belaidi

Offline MrMage

  • Administrator
  • *****
  • Posts: 475
  • Karma: 7
Re: Bugs with script
« Reply #17 on: September 24, 2008, 03:56:16 PM »
I got no idea then. I guess you will have to stick with abs() and wait...