The problem:
(1 _10)H.(_10)2
_
The solution:
(1 _10)H.(_10+1e_7)2
2047
Thanks!
Bo.
Den 16:35 lørdag den 18. juni 2016 skrev 'Bo Jacoby' via Programming
<[email protected]>:
I was given this hint on how to compute a hypergeometric sum
Wikipedia:Reference desk/Mathematics - Wikipedia, the free encyclopedia
| |
| | | | | | | |
| Wikipedia:Reference desk/Mathematics - Wikipedia, the fr...The Wikipedia
Reference Desk covering the topic of mathematics. Mathematics #eee #f5f5f5 #eee
#aaa #aaa #aaa #00f #36b #000 #00f mathematics Wikipedia:Refe... |
| |
| Se på en.wikipedia.org | Forhåndsvis efter Yahoo |
| |
| |
F =. 3 : '+/(2^i)*|:(!/~)|.i=.i.>:y'
S =. 4 : '(y!x)*(1,-y)H.(-x)2'
G =. 3 : '>y(S&.>)i.>:y'
F 10
1 12 67 232 562 1024 1486 1816 1981 2036 2047
G 10
1 12 67 232 562 1024 1486 1816 1981 2036 _
wa=. 4 : '((x=y)*<:2^>:x)+(-.x=y)*x S y' NB. work around
H =. 3 : '>y(wa&.>)i.>:y'
H 10
1 12 67 232 562 1024 1486 1816 1981 2036 2047
Question: Is it a bug that (1 _10)H.(_10)2 evaluates to infinity?
Thanks! Bo.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm