Rational Numbers
3 posts
• Page 1 of 1
Rational Numbers
I'm a new Dyalog user and using it to help my kids with math and problem solving concepts.
I noticed that at Dyalog'11, Roger Hui gave a talk about experimental support of rational numbers.
Are there any plans to fully implement this as you have done with complex numbers?
I noticed that at Dyalog'11, Roger Hui gave a talk about experimental support of rational numbers.
Are there any plans to fully implement this as you have done with complex numbers?
- mwr0707
- Posts: 17
- Joined: Wed Oct 28, 2015 9:49 am
Re: Rational Numbers
Proper integration of rational numbers into Dyalog APL is an ongoing research project.
In the meantime check out operator rats in dfns.dws: http://dfns.dyalog.com/n_rats.htm.
In the meantime check out operator rats in dfns.dws: http://dfns.dyalog.com/n_rats.htm.
- JohnS|Dyalog
Re: Rational Numbers
Hi All,
what Beautiful subject !
for PrQ with P greater than Q
example : J give me 1285290289249r409120605684 (special number)
how many k inside ?
P = K×Q + X
so i write naturally after simplifying K + XrQ
in my case, it is 3.... but it is not spontaneous
egyptian fraction is like 1rN
how extract simply the lower N to reduce PrQ with 1rN
in my case, i find 1r7... not really spontaneous
for the case 1285290289249r409120605684, the result is
3 + 1r7 + 517328615r409120605684
or 3 + 1r7 + 0.00126449
what is the next N ?
i think it is a good way. we found approximation of Pi with 22r7 in the Rhind papyrus. approximatively 16e century BC.
a geometric application for PrQ
https://www.youtube.com/watch?v=sG_6nlMZ8f4
(thanks to J for is x:o.1)
Regards,
Yves
what Beautiful subject !
for PrQ with P greater than Q
example : J give me 1285290289249r409120605684 (special number)
how many k inside ?
P = K×Q + X
so i write naturally after simplifying K + XrQ
in my case, it is 3.... but it is not spontaneous
egyptian fraction is like 1rN
how extract simply the lower N to reduce PrQ with 1rN
in my case, i find 1r7... not really spontaneous
for the case 1285290289249r409120605684, the result is
3 + 1r7 + 517328615r409120605684
or 3 + 1r7 + 0.00126449
what is the next N ?
i think it is a good way. we found approximation of Pi with 22r7 in the Rhind papyrus. approximatively 16e century BC.
a geometric application for PrQ
https://www.youtube.com/watch?v=sG_6nlMZ8f4
(thanks to J for is x:o.1)
Regards,
Yves
- Yves
- Posts: 39
- Joined: Mon Nov 30, 2015 11:33 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group