From aa3b2b7e2a53cd8756426171855d906de1ef25f0 Mon Sep 17 00:00:00 2001 From: Gabriel Gouvine Date: Mon, 8 Jan 2024 11:10:35 +0000 Subject: [PATCH] Documentation improvements --- src/lut.rs | 2 +- src/static_lut.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lut.rs b/src/lut.rs index 98f2ba5..ad3c00b 100644 --- a/src/lut.rs +++ b/src/lut.rs @@ -13,7 +13,7 @@ use crate::canonization::*; use crate::decomposition::*; use crate::operations::*; -/// Arbitrary-size truth table +/// Arbitrary-size truth table, representing a N-input boolean function with 2^N bits, one for each input combination #[derive(Debug, Clone, Hash, PartialEq, Eq)] pub struct Lut { num_vars: usize, diff --git a/src/static_lut.rs b/src/static_lut.rs index fd9ce50..61ab654 100644 --- a/src/static_lut.rs +++ b/src/static_lut.rs @@ -14,7 +14,7 @@ use crate::decomposition::*; use crate::operations::*; use crate::Lut; -/// Fixed-size truth table +/// Fixed-size truth table representing a N-input boolean function with 2^N bits; more compact than [`Lut`](crate::Lut) when the size is known #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)] pub struct StaticLut { table: [u64; T],