Re: ratio approximation algorithm



"Mark Maglana" <mmaglana@xxxxxxxxx> wrote in message
news:1124181130.920740.314610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I also got the same response from another mailing list I posted to. A
> minor correction though. The method of comparison should probably be
>
> -t.b.d < b.d.x - a.c < t.b.d

Is the tolerance relative or absolute?

If it is absolute, the comparison should be: -t <= bdx - ac <= t
If it is relative, then I think you need: -bdtx <= bdx - ac <= bdtx

In either case though, it is probably better to compute the range of
acceptable values of ac.

> I was wondering if it would be better to have the B*D products computed
> in advance and saved inside of a database.

If that is appropriate, you may as well compute every possible value of x in
advance.

Alex


.



Relevant Pages

  • Re: ratio approximation algorithm
    ... I also got the same response from another mailing list I posted to. ... minor correction though. ... in advance and saved inside of a database. ... Prev by Date: ...
    (comp.programming)
  • Re: Cannot delete *.tmp
    ... My reply is at the bottom of your sent message: ... > Thanks for your response. ... Rest well Alex and we'll see you on the other side. ... Prev by Date: ...
    (microsoft.public.windowsxp.basics)
  • PING: Alex Yeckley
    ... Alex, ... I have sent many emails and no response. ... Prev by Date: ...
    (rec.games.video.arcade.collecting)
  • Re: home network
    ... >>>retrieved from master ALEX. ... There are 3 servers in domain MSHOME on ... >> Paranoia is not a problem - it's a normal response from experience. ...
    (microsoft.public.windowsxp.network_web)
  • Re: I WANT MY FP2000 BACK
    ... "it's your fault" response. ... What other applications do I have. ... There IS a cavalier attitude here. ... Alex ...
    (microsoft.public.frontpage.client)