math icon indicating copy to clipboard operation
math copied to clipboard

Library providing mathematical basics in Rust. The library is based on FLINT.

Results math issues
Sort by recently updated
recently updated
newest added

**Description** This PR implements... - [x] the randomized rounding algorithm to integers for `Q` and `MatQ`. **Testing** - [x] I added basic working examples (possibly in doc-comment) - [x] I...

enhancement📈

**Description** This PR implements... - [x] continuous Gaussian sampling for rational numbers **Testing** - [x] I added basic working examples (possibly in doc-comment) - [x] I triggered all possible errors...

enhancement📈

**Description** This PR implements the Cholesky decomposition as a placeholder until we can use the function directly in FLINT through the FFI (not yet supported by FFI). This implementation gives...

enhancement📈

**Description** This PR implements... - [x] continuous Gaussian sampling for `MatQ`. Here, each entry is sampled using `Q::sample_gauss`. **Testing** - [x] I added basic working examples (possibly in doc-comment) -...

enhancement📈

**Description** This PR implements... - [x] the functionality to round MatQ's entrywise - [x] floor - [x] ceil - [x] round **Testing** - [x] I added basic working examples (possibly...

enhancement📈

Why does this work? Why is it possible to init a `PolyOverZ` with a string that contains `mod`? _Originally posted by @MoogSven in https://github.com/qfall/math/pull/255#discussion_r1211919509_

bug🐛

**Description** This PR refactors the documentation of the math crate. **Testing** **Checklist:** - [x] I have performed a self-review of my own code - [x] The code provides good readability...

documentation📖

**Description** This PR implements... - [x] from_utf8 - [x] to_utf8 for `Zq`. **Testing** - [x] I added basic working examples (possibly in doc-comment) - [x] I triggered all possible errors...

enhancement📈

**Description** Since we currently can not get a coefficient from a ModulusPolyRingZq: This PR implements... - [x] GetCoefficient for ModulusPolyRingZq. **Testing** - [x] I added basic working examples (possibly in...

enhancement📈

**Description** This PR implements... - [x] padding for UTF8-encoded strings to ensure that no problems happen along the way of decoding (including major progress for MatZq already) - [x] from_utf8...

enhancement📈