{
  "_id": "6a0ffeeeacfb0bcc41c7a466",
  "Type": "Package",
  "Package": "cyclotomic",
  "Title": "The Field of Cyclotomic Numbers",
  "Version": "1.3.0",
  "Authors@R": "c(\nperson(\"Stéphane\", \"Laurent\", , \"laurent_step@outlook.fr\", role = c(\"aut\", \"cre\")),\nperson(\"Scott N.\", \"Walck\", role = \"cph\",\ncomment = \"author of the Haskell library 'cyclotomic'\")\n)",
  "Maintainer": "Stéphane Laurent <laurent_step@outlook.fr>",
  "Description": "The cyclotomic numbers are complex numbers that can be\nthought of as the rational numbers extended with the roots of\nunity. They are represented exactly, enabling exact\ncomputations. They contain the Gaussian rationals (complex\nnumbers with rational real and imaginary parts) as well as the\nsquare roots of all rational numbers. They also contain the\nsine and cosine of all rational multiples of pi. The algorithms\nimplemented in this package are taken from the 'Haskell'\npackage 'cyclotomic', whose algorithms are adapted from code by\nMartin Schoenert and Thomas Breuer in the 'GAP' project\n(<https://www.gap-system.org/>). Cyclotomic numbers have\napplications in number theory, algebraic geometry, algebraic\nnumber theory, coding theory, and in the theory of graphs and\ncombinatorics. They have connections to the theory of modular\nfunctions and modular curves.",
  "License": "GPL-3",
  "URL": "https://github.com/stla/cyclotomic",
  "BugReports": "https://github.com/stla/cyclotomic/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Collate": "'Cyclotomic.R' 'arithmetic.R' 'conjugate.R' 'imports.R' 'is.R'\n'maputils.R' 'mkCyclotomic.R' 'polar.R' 'rational.R'\n'showCyclotomic.R' 'sqrt.R' 'trigonometry.R' 'zzz.R'",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://stla.r-universe.dev",
  "Date/Publication": "2023-11-02 18:25:59 UTC",
  "RemoteUrl": "https://github.com/stla/cyclotomic",
  "RemoteRef": "HEAD",
  "RemoteSha": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 06:56:24 UTC",
    "User": "root"
  },
  "Author": "Stéphane Laurent [aut, cre],\nScott N. Walck [cph] (author of the Haskell library 'cyclotomic')",
  "MD5sum": "0e17a5ada2a4c287e6d3d17f701848ac",
  "_user": "stla",
  "_type": "src",
  "_file": "cyclotomic_1.3.0.tar.gz",
  "_fileid": "371cb1583ee4f2126979c5ead0349704fdb6e63e73a9aba592107a829bb53917",
  "_filesize": 139295,
  "_sha256": "371cb1583ee4f2126979c5ead0349704fdb6e63e73a9aba592107a829bb53917",
  "_created": "2026-05-22T06:56:24.000Z",
  "_published": "2026-05-22T06:59:58.285Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77331383842,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7154600410"
    },
    {
      "job": 77331383828,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154601004"
    },
    {
      "job": 77331383818,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7154598380"
    },
    {
      "job": 77331383840,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154609439"
    },
    {
      "job": 77330984568,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154563302"
    },
    {
      "job": 77331383808,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154594462"
    },
    {
      "job": 77331383862,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7154593005"
    },
    {
      "job": 77331383838,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7154592512"
    },
    {
      "job": 77331383846,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154588294"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stla/cyclotomic",
  "_commit": {
    "id": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
    "author": "stla <laurent_step@yahoo.fr>",
    "committer": "stla <laurent_step@yahoo.fr>",
    "message": "use 'numbers' instead of 'primes'\n",
    "time": 1698949559
  },
  "_maintainer": {
    "name": "Stéphane Laurent",
    "email": "laurent_step@outlook.fr",
    "login": "laustep",
    "description": "",
    "uuid": 29288085
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "intmap",
      "role": "Imports"
    },
    {
      "package": "gmp",
      "role": "Imports"
    },
    {
      "package": "maybe",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "numbers",
      "role": "Imports"
    },
    {
      "package": "VeryLargeIntegers",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "stla",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "arithmetic",
    "cyclotomic-numbers"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "stla",
      "count": 83,
      "uuid": 4466543
    }
  ],
  "_userbio": {
    "uuid": 4466543,
    "type": "user",
    "name": "stla"
  },
  "_downloads": {
    "count": 225,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cyclotomic"
  },
  "_devurl": "https://github.com/stla/cyclotomic",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cyclotomic.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stla/cyclotomic",
  "_realowner": "stla",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-04-18"
    },
    {
      "version": "1.1.0",
      "date": "2023-05-10"
    },
    {
      "version": "1.2.0",
      "date": "2023-07-15"
    },
    {
      "version": "1.3.0",
      "date": "2023-11-02"
    }
  ],
  "_exports": [
    "as.cyclotomic",
    "asComplex",
    "conjugate",
    "cosDeg",
    "cosRev",
    "cycSqrt",
    "from_just",
    "imaginaryPart",
    "isGaussianRational",
    "isRational",
    "isReal",
    "maybeRational",
    "polarDeg",
    "polarRev",
    "quadraticRoots",
    "realPart",
    "sinDeg",
    "sinRev",
    "zeta"
  ],
  "_help": [
    {
      "page": "as.cyclotomic",
      "title": "Coercion to a 'cyclotomic' object",
      "topics": [
        "as.cyclotomic",
        "as.cyclotomic,bigq-method",
        "as.cyclotomic,bigz-method",
        "as.cyclotomic,character-method",
        "as.cyclotomic,cyclotomic-method",
        "as.cyclotomic,numeric-method"
      ]
    },
    {
      "page": "asComplex",
      "title": "Convert cyclotomic number to complex number",
      "topics": [
        "asComplex"
      ]
    },
    {
      "page": "conjugate",
      "title": "Conjugate cyclotomic number",
      "topics": [
        "conjugate"
      ]
    },
    {
      "page": "cyclotomic-imports",
      "title": "Extract value from a 'Just' value",
      "topics": [
        "cyclotomic-imports",
        "from_just"
      ]
    },
    {
      "page": "cyclotomic-unary",
      "title": "Unary operators for cyclotomic objects",
      "topics": [
        "+,cyclotomic,missing-method",
        "-,cyclotomic,missing-method",
        "cyclotomic-unary"
      ]
    },
    {
      "page": "cycSqrt",
      "title": "Square root as a cyclotomic number",
      "topics": [
        "cycSqrt"
      ]
    },
    {
      "page": "imaginaryPart",
      "title": "Imaginary part of cyclotomic number.",
      "topics": [
        "imaginaryPart"
      ]
    },
    {
      "page": "isGaussianRational",
      "title": "Is the cyclotomic a Gaussian rational?",
      "topics": [
        "isGaussianRational"
      ]
    },
    {
      "page": "isRational",
      "title": "Is the cyclotomic a rational number?",
      "topics": [
        "isRational"
      ]
    },
    {
      "page": "isReal",
      "title": "Is the cyclotomic a real number?",
      "topics": [
        "isReal"
      ]
    },
    {
      "page": "maybeRational",
      "title": "Cyclotomic as exact rational number if possible",
      "topics": [
        "maybeRational"
      ]
    },
    {
      "page": "polar",
      "title": "Polar complex number with rational magnitude and angle",
      "topics": [
        "polar",
        "polarDeg",
        "polarRev"
      ]
    },
    {
      "page": "quadraticRoots",
      "title": "Roots of quadratic polynomial",
      "topics": [
        "quadraticRoots"
      ]
    },
    {
      "page": "realPart",
      "title": "Real part of cyclotomic number.",
      "topics": [
        "realPart"
      ]
    },
    {
      "page": "trigonometry",
      "title": "Cosine and sine of a rational number",
      "topics": [
        "cosDeg",
        "cosRev",
        "sinDeg",
        "sinRev",
        "trigonometry"
      ]
    },
    {
      "page": "zeta",
      "title": "The primitive n-th root of unity.",
      "topics": [
        "zeta"
      ]
    }
  ],
  "_readme": "https://github.com/stla/cyclotomic/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cachem",
    "fastmap",
    "gmp",
    "intmap",
    "magrittr",
    "maybe",
    "memoise",
    "numbers",
    "R6",
    "Rcpp",
    "rlang",
    "VeryLargeIntegers"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "cyclotomic",
  "_universes": [
    "stla",
    "laustep"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-05-22T06:58:43.000Z",
      "distro": "noble",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "553fe3d6e8faad614cad76c128af5a9979c353a52cb2d924bf61dd905caac6f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-05-22T06:58:46.000Z",
      "distro": "noble",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "fe2ac0d82af761e16cb6dc1e30a1902ba8c72537de3c4c1beed2a9d16e099fbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-05-22T06:58:41.000Z",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "78f1766f10c5d09c75e6e379ca24c1359101492b977399b6a814509678262182",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-05-22T06:59:22.000Z",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "5bf693e884db188b345711f47fea17a762339e5dc6251939ac5de4c9b7a7259a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-05-22T06:58:41.000Z",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "4b699eecdad372177bd5e2fe9ae9637acec1024a7c073b1db61c486c3be0b152",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-05-22T06:58:02.000Z",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "3bdab59bf8fc13d13fd7c23576107d5640a10a2d451ebb8ee0d20e0a1d0b58c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-05-22T06:58:07.000Z",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "a58c01c8fd3dacd31c62a83e5abc9434fee915926cedd5a5d5b799098184d943",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-05-22T06:57:51.000Z",
      "commit": "66c1ec23520cd0b9742c41cd7055e7fa722ab9c7",
      "fileid": "13d8f4ab996510dc514e2195245a1d8b544ed375f3573a01885732c38b0a6c91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stla/actions/runs/26273120699"
    }
  ]
}