pallas/pallas-math
Santiago Carmuega 5d00e2c992
Release 0.29.0
pallas@0.29.0
pallas-addresses@0.29.0
pallas-applying@0.29.0
pallas-codec@0.29.0
pallas-configs@0.29.0
pallas-crypto@0.29.0
pallas-hardano@0.29.0
pallas-math@0.29.0
pallas-network@0.29.0
pallas-primitives@0.29.0
pallas-rolldb@0.29.0
pallas-traverse@0.29.0
pallas-txbuilder@0.29.0
pallas-utxorpc@0.29.0
pallas-wallet@0.29.0

Generated by cargo-workspaces
2024-07-15 22:31:37 -03:00
..
src chore(math): initialize pallas-math crate (#474) 2024-06-29 17:43:06 -03:00
Cargo.toml Release 0.29.0 2024-07-15 22:31:37 -03:00
README.md chore(math): initialize pallas-math crate (#474) 2024-06-29 17:43:06 -03:00

Pallas Math

Crate with all the mathematics functions to support Cardano protocol:

  • [] lncf - Approximate ln(1+x) for x in 0..infinty.
  • [] cf - Compute continued fraction using max steps or bounded list of a/b factors.
  • [] bound - Simple way to find integer powers that bound x.
  • [] contract - Bisect bounds to find the smallest integer power such that factor^n<=x<factor^(n+1).
  • [] find_e - find n with e^n<=x<e^(n+1).
  • [] ln - Compute natural logarithm via continued fraction, first splitting integral part and then using continued fractions approximation for ln(1+x).
  • [] taylor_exp - Compute exp(x) using Taylor expansion.
  • [] taylor_exp_cmp - Efficient way to compare the result of the Taylor expansion of the exponential function to a threshold value.
  • ...
  • ...