Skip to content

Commit

Permalink
Documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloquinte committed Jan 12, 2024
1 parent 9ff1939 commit aa3b2b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/static_lut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<const N: usize, const T: usize> {
table: [u64; T],
Expand Down

0 comments on commit aa3b2b7

Please sign in to comment.