Roots of unity: Difference between revisions
Content deleted Content added
jq |
m Julia heading |
||
Line 617:
user 0m0.004s
sys 0m0.004s
</lang
=={{header|Julia}}==
<lang julia>nthroots(n::Integer) = [ cospi(2k/n)+sinpi(2k/n)im for k = 0:n-1 ]</lang>
|