|
![](/i/fill.gif) |
andrel wrote:
> On 18-11-2009 22:52, Orchid XP v8 wrote:
>>>> Similarly, this fragment can appear inside a statement, such as
>>>> "f(x) = 3 if x = sqrt(y/z), otherwise 9". In that case, the "x =
>>>> sqrt(y/z)" part is clearly a conditional test.
>>>
>>> I don't remember 'if' being part of my maths course. Yet yhere must
>>> be specialized subfields where it is defined.
>>
>> How about
>>
>> sinc(x) = if x = 0 then 1 else sin(x) / x
>>
> nope, never seen that
I've seen it as
sinc(x) = 1 if x = 0
sinc(x) = sin(x)/x if x /= 0
I've never seen it written with an else.
--
Darren New, San Diego CA, USA (PST)
Is God willing to prevent phrogams, but not able?
Then he is not omnipotent.
Is he able, but not willing, to prevent phrogams?
Then he is malevolent.
Post a reply to this message
|
![](/i/fill.gif) |