BestApproximation
Very small Julia package to find the best exponential approximation of a given number
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.1%) to scientific vocabulary
Keywords
Repository
Very small Julia package to find the best exponential approximation of a given number
Basic Info
Statistics
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Topics
Metadata Files
README.md
BestApproximation.jl
Given a potentially very large number, it is sometimes nice to approximate this. To find the "best", or "nicest" approximation, usually we restrict the base of an exponent, so that your given number n is approximately b^x. The idea is that b^x is nicer looking than your input.
This is a very small package exporting a function to find b and x, given a range b can be in.
Quick Start
```julia-repl julia> using BestApproximation
julia> best_approx(123, 20) # The second parameter is the maximum number for the base (i.e., it returns 11^2, with 11 < 20). You can also specify the range of the exponent, but this variant is much slower. (11, 2)
julia> ^(best_approx(123, 20)...) # Notice how 11^2 approximates to 121---only 2 numbers off the given number. 121 ```
Citation
If your research depends on BestApproximation.jl, please consider giving us a formal citation: citation.bib.
Owner
- Name: Jake Ireland
- Login: jakewilliami
- Kind: user
- Location: ///scary.zealous.twin
- Website: https://jakewilliami.github.io/
- Twitter: JakeWIreland
- Repositories: 17
- Profile: https://github.com/jakewilliami
Citation (citation.bib)
@software{ireland2024bestapproximation,
title={{BestApproximation.jl}: A very small {Julia} package to find the best exponential approximation of a given number},
author={Ireland, Jake W},
year={2024},
howpublished={\url{https://github.com/jakewilliami/BestApproximation.jl}},
note={{Julia} package version 0.1.1}
}
GitHub Events
Total
Last Year
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 7
- Total Committers: 1
- Avg Commits per committer: 7.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| Jake W. Ireland | j****i@i****m | 7 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 1
- Total pull requests: 1
- Average time to close issues: less than a minute
- Average time to close pull requests: less than a minute
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 2.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- JuliaTagBot (1)
Pull Request Authors
- jakewilliami (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
juliahub.com: BestApproximation
Very small Julia package to find the best exponential approximation of a given number
- Documentation: https://docs.juliahub.com/General/BestApproximation/stable/
- License: MIT
-
Latest release: 0.1.1
published over 1 year ago
Rankings
Dependencies
- actions/cache v1 composite
- actions/checkout v2 composite
- julia-actions/julia-buildpkg latest composite
- julia-actions/julia-runtest latest composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite