|
 |
>>>> 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
>
> In our math classes we always wrote it just like that, but usually only
> the "sinc(x)" once and a curly bracket around the two options IIRC.
Indeed. But you can't really do that with ASCII, so I wrote the nearest
equivilent.
>> I've never seen it written with an else.
>
> Me neither, that sounds more like a programming language than math
> notation.
Well, technically the above *is* a valid Haskell function declaration...
[Or rather, it becomes so if you change "if x = " to "if x == 0" - which
probably proves Andrel's original point.]
Post a reply to this message
|
 |