Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.
| Version: | 0.2.1 |
| Depends: | R (≥ 2.10) |
| Imports: | Rcpp |
| LinkingTo: | Rcpp |
| Suggests: | covr, testthat (≥ 3.0.0), withr |
| Published: | 2022-05-21 |
| DOI: | 10.32614/CRAN.package.fracture |
| Author: | Alexander Rossell Hayes
|
| Maintainer: | Alexander Rossell Hayes <alexander at rossellhayes.com> |
| BugReports: | https://github.com/rossellhayes/fracture/issues |
| License: | MIT + file LICENSE |
| URL: | https://fracture.rossellhayes.com/, https://github.com/rossellhayes/fracture |
| NeedsCompilation: | yes |
| SystemRequirements: | C++11 |
| Materials: | README, NEWS |
| CRAN checks: | fracture results |
| Reference manual: | fracture.html , fracture.pdf |
| Package source: | fracture_0.2.1.tar.gz |
| Windows binaries: | r-devel: fracture_0.2.1.zip, r-release: fracture_0.2.1.zip, r-oldrel: fracture_0.2.1.zip |
| macOS binaries: | r-release (arm64): fracture_0.2.1.tgz, r-oldrel (arm64): fracture_0.2.1.tgz, r-release (x86_64): fracture_0.2.1.tgz, r-oldrel (x86_64): fracture_0.2.1.tgz |
| Old sources: | fracture archive |
| Reverse imports: | nombre |
| Reverse suggests: | plu |
Please use the canonical form https://CRAN.R-project.org/package=fracture to link to this page.