fast_walsh_transform

Function fast_walsh_transform 

Source
pub fn fast_walsh_transform(
    input: &ArrayView1<'_, f64>,
    inverse: bool,
) -> LinalgResult<Array1<f64>>
Expand description

Fast Walsh Transform (FWT) for Boolean functions

This transform is particularly useful in Boolean function analysis, cryptography, and coding theory.

§Arguments

  • input - Input sequence representing truth table values
  • inverse - Whether to compute the inverse transform

§Returns

  • Walsh coefficients