comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » matrix division
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: matrix division [message #60540 is a reply to message #60444] Fri, 23 May 2008 11:02 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On May 23, 12:23 pm, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
> Vince Hradil wrote:
>> On May 23, 11:41 am, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
>> wrote:
>>>> > c = a/(b + replacement_value*(abs(b) lt epsilon))
>>>> Ooooo, good one, Jean.
>>> on the other hand, doing this, when 'b' is 0, would lead to 'c = a /
>>> replacement_value'... so in 'c', you would get different results as 'a'
>>> varies..
>
>>> Jean
>
>> Ummm... isn't that the idea?
>
> or is it to flag the bad entries? ... though having "inf" would do so
> very well:) ... nevermind then (that Friday rain is playing on my brain.. :)
>
> Jean

I see what you mean. Yes, there are two issues here - do you want to
(quietly) avoid the divide-by-zero or do you want to flag them. Two
issues and two different solutions.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Solarsoft and idlwave?
Next Topic: On the Coyote Path

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 10:01:44 PDT 2025

Total time taken to generate the page: 1.34990 seconds