Package: fracture 0.2.2

fracture: Convert Decimals to Fractions
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.
Authors:
fracture_0.2.2.tar.gz
fracture_0.2.2.zip(r-4.7)fracture_0.2.2.zip(r-4.6)fracture_0.2.2.zip(r-4.5)
fracture_0.2.2.tgz(r-4.6-x86_64)fracture_0.2.2.tgz(r-4.6-arm64)fracture_0.2.2.tgz(r-4.5-x86_64)fracture_0.2.2.tgz(r-4.5-arm64)
fracture_0.2.2.tar.gz(r-4.7-arm64)fracture_0.2.2.tar.gz(r-4.7-x86_64)fracture_0.2.2.tar.gz(r-4.6-arm64)fracture_0.2.2.tar.gz(r-4.6-x86_64)
fracture_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fracture/json (API)
NEWS
| # Install 'fracture' in R: |
| install.packages('fracture', repos = c('https://rossellhayes.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rossellhayes/fracture/issues
Pkgdown/docs site:https://fracture.rossellhayes.com
Last updated from:2b652703b8. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 124 | ||
| linux-devel-x86_64 | OK | 117 | ||
| source / vignettes | OK | 169 | ||
| linux-release-arm64 | OK | 130 | ||
| linux-release-x86_64 | OK | 111 | ||
| macos-release-arm64 | OK | 113 | ||
| macos-release-x86_64 | OK | 189 | ||
| macos-oldrel-arm64 | OK | 103 | ||
| macos-oldrel-x86_64 | OK | 244 | ||
| windows-devel | OK | 158 | ||
| windows-release | OK | 93 | ||
| windows-oldrel | OK | 89 | ||
| wasm-release | OK | 87 |
Exports:as.frac_matas.fracturefrac_gcdfrac_lcmfrac_matfrac_stylefractureis.frac_matis.fracture
Dependencies:Rcpp
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Least common multiple and greatest common divisor | frac_gcd frac_lcm |
| Convert decimals to a matrix of numerators and denominators | as.frac_mat frac_mat is.frac_mat |
| Style a fracture with superscripts and subscripts | frac_style |
| Convert decimals to a character vector of fractions | as.fracture fracture is.fracture |
