mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
Reorganized other crates
This commit is contained in:
10
core/src/dist.rs
Normal file
10
core/src/dist.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub(crate) enum Distribution {
|
||||
TernaryFixed(usize), // Ternary with fixed Hamming weight
|
||||
TernaryProb(f64), // Ternary with probabilistic Hamming weight
|
||||
BinaryFixed(usize), // Binary with fixed Hamming weight
|
||||
BinaryProb(f64), // Binary with probabilistic Hamming weight
|
||||
BinaryBlock(usize), // Binary split in block of size 2^k
|
||||
ZERO, // Debug mod
|
||||
NONE, // Unitialized
|
||||
}
|
||||
Reference in New Issue
Block a user