cyclotomic: The Field of Cyclotomic Numbers

The cyclotomic numbers are complex numbers that can be thought of as the rational numbers extended with the roots of unity. They are represented exactly, enabling exact computations. They contain the Gaussian rationals (complex numbers with rational real and imaginary parts) as well as the square roots of all rational numbers. They also contain the sine and cosine of all rational multiples of pi. The algorithms implemented in this package are taken from the 'Haskell' package 'cyclotomic', whose algorithms are adapted from code by Martin Schoenert and Thomas Breuer in the 'GAP' project (<https://www.gap-system.org/>). Cyclotomic numbers have applications in number theory, algebraic geometry, algebraic number theory, coding theory, and in the theory of graphs and combinatorics. They have connections to the theory of modular functions and modular curves.

Getting started

Package details

AuthorStéphane Laurent [aut, cre], Scott N. Walck [cph] (author of the Haskell library 'cyclotomic')
MaintainerStéphane Laurent <laurent_step@outlook.fr>
LicenseGPL-3
Version1.3.0
URL https://github.com/stla/cyclotomic
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("cyclotomic")

Try the cyclotomic package in your browser

Any scripts or data that you put into this service are public.

cyclotomic documentation built on Nov. 3, 2023, 1:13 a.m.