BestApproximation

Very small Julia package to find the best exponential approximation of a given number

https://github.com/jakewilliami/bestapproximation.jl

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

approximation approximation-algorithms base exponent julia julia-language julia-package julialang
Last synced: 6 months ago · JSON representation ·

Repository

Very small Julia package to find the best exponential approximation of a given number

Basic Info
  • Host: GitHub
  • Owner: jakewilliami
  • License: mit
  • Language: Julia
  • Default Branch: master
  • Homepage:
  • Size: 99.6 KB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
approximation approximation-algorithms base exponent julia julia-language julia-package julialang
Created about 5 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

BestApproximation.jl

Dev CI Code Style: Blue Project Status

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

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 Email 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

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 9.9%
Average: 38.8%
Dependent packages count: 38.9%
Stargazers count: 52.9%
Forks count: 53.5%
Last synced: 6 months ago

Dependencies

.github/workflows/CI.yml actions
  • 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
.github/workflows/CompatHelper.yml actions
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite