axiom-math
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-math] if-expression and variables


From: Ralf Hemmecke
Subject: Re: [Axiom-math] if-expression and variables
Date: Fri, 10 Jun 2011 20:54:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10

On 06/10/2011 07:56 PM, Stefan Karrmann wrote:
Dear all,

we can help ourselves in some cases by:

sign x == (abs x)/x
H x == (1 + sign x)/2
step (a,b,x) == (H(x-a)) * (H(b-x))

The drawback is that we get a 'Division by zero'.

Show a short program that demonstrates this error message. Only then is somebody able to help.

Ralf

PS: "sign" is already built-in. Try out

)display op sign

.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]