inertia-core

Crates.ioinertia-core
lib.rsinertia-core
version0.4.0
sourcesrc
created_at2022-03-13 22:54:12.39026
updated_at2023-01-01 07:25:24.207469
descriptionCore functionality of the Inertia crate with high level wrappers for FLINT, Arb, and Antic.
homepagehttps://github.com/wjyoumans/inertia-core
repositoryhttps://github.com/wjyoumans/inertia-core
max_upload_size
id549489
size513,135
(wjyoumans)

documentation

README

inertia-core

This is a work in progress!

inertia-core contains the core functionality of the Inertia crate, providing high-level wrappers for the FLINT, Arb, and Antic C libraries.

TODO:

  • better name distancing it from inertia
  • split into features or workspace (maybe make workspace with flint, arb, antic crates with individual features?)
  • add LGPL
  • rand - see Rug/gmp-mpfr-sys
  • tons of boilerplate, docs, TODO/FIXME comments
  • rest of Flint, Arb, Antic types
  • serde
  • TryFrom conversions
  • borrows for FFI types
  • improve op guards to avoid seg faults in C
  • improved constructors - New/NewCtx may be suboptimal in some situations
  • better polynomial/matrix pretty printing
  • (unsafe?) shallow copies could avoid unnecessary allocations in some contexts, like some hash impls
  • combine From/Assign impl macros, maybe derive From from Assign impls?
  • macros could use general improvements, proc macro crate for op and From impls in inertia-generic and inertia-core might be ideal
Commit count: 80

cargo fmt