Search

Filter

  • Advanced Filters:

  • to
  • Specific Data Sources:

    All Edit

    Select All  |  Select None

Reset filters

Roots of Unity L.J. Dickey At the recent conference, APL89, held in New York, a brief notice was posted on the bulletin board which stated that the first algorithm in ,eLL Quote Quad was one that calculates the N roots of unity, such as the 2 square roots of 1, the 3 cube roots of 1, and so on. The N roots of unity may be thought of as N equally spaced points on a circle of radius 1 whose center is (0, 0), and one of the N points on the circle is the point (1, 0). The notice said that this algorithm appeared in Quote Quad 4/1969 and was submitted by W . J . J o n e s o f Syracuse University: V R R002'3 ~I ROOffS 7 .623~9 .78183 -.22252 .97~93 -.90097 .q3388 -.90097 -.q3388 -.22252 -.97;93 .623;9 -.TB183 1 0 BOOTS 11 .8q125 .5q06~ .g15q2 .90963 -.1;231 .9B982 -.65q86 .75575 -.95999 .28173 -.959~9 -.28173 -.65q86 -.75575 -.1~231 -.98982 .~15~2 [1] V R + 2 1 e.OO2 JV tJV The same algorithm, presented in the newer, and to my eyes preferable, direct definition form, is: ,ROOTS: 2 1 o.O02 w tm .09125 1 -.90963 -.5q06~ and example of it's use is: -.5 ROOTS 3 -.5 2 .B6603 - 86603 0 This algorithm uses 1S0 Standard APL, and should produce the same results on any system. My personal preference for this function is that it should present its results in two columns. This way, whether you choose to think of the result as complex numbers or as pairs of real numbers giving points in the xy-plane, each row of the resulting table represents each point or complex number. I would have written the function this way: ROOT,R: ~ 2 1 = . o 0 2 = t = BOOTS 3 .86603 -.86603 0 -.5 -.5 1 Some recent APL implementations have included complex numbers for the benefit of their users, and it appears likely that complex numbers will be an optional feature in "Extended APL", which is the current work item of the ISO APL working group and various national APL working groups. So, a natural question is, how would this algorithm be presented, making use of complex numbers in APL? Here some further exam~es that use the function BOOTS. APL Quote Ouad 20 1 September 1989

Page 1 of 1

Page 1 of 1

Toggle back to continuous viewing mode

/lp/association-for-computing-machinery/roots-of-unity-AuxH0gfgPA
Welcome to DeepDyve! Rent Premier Research Articles and Save Up to 90%

Learn more

Free Article

Bookmark

Roots of unity

Dickey, Leroy J.
ACM SIGAPL APL Quote Quad , Volume 20 (1)
Association for Computing MachinerySep 1, 1989

More Info

More Like This Article

View All dataSource[]=actageo&dataSource[]=aspet&dataSource[]=aaos&dataSource[]=aacc&dataSource[]=aacr&dataSource[]=aea&dataSource[]=aip&dataSource[]=ajnr&dataSource[]=ams&dataSource[]=aps_physical&dataSource[]=appi_book&dataSource[]=appi_journal&dataSource[]=apha&dataSource[]=asip&dataSource[]=asm&dataSource[]=asn&dataSource[]=aspb&dataSource[]=avs&dataSource[]=annual_reviews&dataSource[]=arxiv&dataSource[]=acm&dataSource[]=berghahn&dataSource[]=cabi&dataSource[]=clinical_trials&dataSource[]=dailymed&dataSource[]=degruyter&dataSource[]=du_press&dataSource[]=esa&dataSource[]=eu_press&dataSource[]=elsevier&dataSource[]=emerald&dataSource[]=ejtr&dataSource[]=emea&dataSource[]=epo&dataSource[]=faseb&dataSource[]=gsa&dataSource[]=health_affairs&dataSource[]=hindawi&dataSource[]=imanager&dataSource[]=imedpub&dataSource[]=informa_healthcare&dataSource[]=informs&dataSource[]=iop&dataSource[]=iucr&dataSource[]=iospress&dataSource[]=jbjs&dataSource[]=leftcoast&dataSource[]=lu_press&dataSource[]=mesharpe&dataSource[]=mary_ann_liebert&dataSource[]=medline&dataSource[]=mit_press&dataSource[]=nature&dataSource[]=oxford&dataSource[]=pier_professional&dataSource[]=pnas&dataSource[]=portlandpress&dataSource[]=psyc_articles&dataSource[]=psyc_books&dataSource[]=psyc_critiques&dataSource[]=plos_journal&dataSource[]=pubmed_central&dataSource[]=rsna&dataSource[]=rockefeller&dataSource[]=rcn&dataSource[]=ria&dataSource[]=rsc&dataSource[]=sage&dataSource[]=spie&dataSource[]=springer_journal&dataSource[]=springer&dataSource[]=taylor_francis&dataSource[]=aps&dataSource[]=the_scientist&dataSource[]=uc_press&dataSource[]=uspto_abstract&dataSource[]=wiley&dataSource[]=pct

Browse: Subject Areas | Journals | Publishers

Sign Up for a DeepDyve Account

Bookmark an Article

To bookmark an article, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK

Subscribe to Journal Email Alerts

To subscribe to email alerts, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK

Thank you for renting with DeepDyve

Your PayPal account has been charged $2.99. You now have access to the full text of this article. A rental receipt has also been sent to your email address.

Your credit card has been charged $2.99. You now have access to the full text of this article. A rental receipt has also been sent to your email address.

OK

New! You can now keep track of new articles from ACM SIGAPL APL Quote Quad on your personalized homepage! Learn more

PDF Download — Not Available

Thanks for your interest in purchasing the PDF. Your request has been noted and we will work with our publisher partner to discuss enabling this feature.

In the meantime, you can get the PDF by visiting the publisher site.

Thank you for purchasing with DeepDyve

Your PayPal account has been charged $.

Your credit card has been charged $.

You can now download this article. A purchase receipt has also been sent to your email address.

Download This Article or I'm done with my download

Print Page — Not Available

Thanks for your interest in printing individual pages. Your request has been noted and we will work with our publisher partner to discuss enabling this feature.

In the meantime, you can get the PDF by visiting the publisher site.

Thank you for printing with DeepDyve

Your PayPal account has been charged $0.

Your credit card has been charged $0.

You can now print this article. A purchase receipt has also been sent to your email address.

Print the Selected Pages or I'm done with my printing

Please refresh to generate a new download link

Your article download link has expired. Please refresh this page to obtain a new download link and try again.

Follow a Journal

To get new article updates from a journal on your personalized homepage, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK