Package: fracture 0.2.1
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.1.tar.gz
fracture_0.2.1.zip(r-4.5)fracture_0.2.1.zip(r-4.4)fracture_0.2.1.zip(r-4.3)
fracture_0.2.1.tgz(r-4.4-x86_64)fracture_0.2.1.tgz(r-4.4-arm64)fracture_0.2.1.tgz(r-4.3-x86_64)fracture_0.2.1.tgz(r-4.3-arm64)
fracture_0.2.1.tar.gz(r-4.5-noble)fracture_0.2.1.tar.gz(r-4.4-noble)
fracture_0.2.1.tgz(r-4.4-emscripten)fracture_0.2.1.tgz(r-4.3-emscripten)
fracture.pdf |fracture.html✨
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
Last updated 3 years agofrom:b0e7925c81. Checks:OK: 1 NOTE: 8. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 06 2024 |
R-4.5-win-x86_64 | NOTE | Nov 06 2024 |
R-4.5-linux-x86_64 | NOTE | Nov 06 2024 |
R-4.4-win-x86_64 | NOTE | Nov 06 2024 |
R-4.4-mac-x86_64 | NOTE | Nov 06 2024 |
R-4.4-mac-aarch64 | NOTE | Nov 06 2024 |
R-4.3-win-x86_64 | NOTE | Nov 06 2024 |
R-4.3-mac-x86_64 | NOTE | Nov 06 2024 |
R-4.3-mac-aarch64 | NOTE | Nov 06 2024 |
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 |