Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
6
Task/Roots-of-unity/PascalABC.NET/roots-of-unity.pas
Normal file
6
Task/Roots-of-unity/PascalABC.NET/roots-of-unity.pas
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
function RootsOfUnity(n: integer)
|
||||
:= (0..n-1).Select(x -> Complex.FromPolarCoordinates(1, 2 * PI * x / n));
|
||||
|
||||
begin
|
||||
RootsOfUnity(3).PrintLines
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue