-  3.39.23
Static Public Member Functions | List of all members
pyfaust.demo.hadamard Class Reference

The demo for the hierarchical factorization of Hadamard matrices. More...

Static Public Member Functions

def run_fact (output_dir=DEFT_RESULTS_DIR)
 This demo hierarchically factorizes the Hadamard dictionary and then plots the results. More...
 
def fig_fact (input_dir=DEFT_RESULTS_DIR, output_dir=DEFT_FIG_DIR)
 Renders in file the figure for the results produced by hadamard.run_fact. More...
 
def run_speedup_hadamard (output_dir=DEFT_RESULTS_DIR)
 This demo makes some time comparison between (Hadamard matrix)-vector multiplication and (Hadamard factorisation i.e a FAuST)-vector multiplication for Hadamard matrices of different sizes. More...
 
def fig_speedup_hadamard (output_dir=DEFT_FIG_DIR, input_dir=DEFT_RESULTS_DIR)
 Renders in file the figure for the results produced by hadamard.run_speedup_hadamard. More...
 
def run_norm_hadamard (output_dir=DEFT_RESULTS_DIR)
 This demo makes some time comparison between the 2-norm of the Hadamard matrix and its Faust representation for differents sizes of the Hadamard matrix. More...
 
def fig_norm_hadamard (input_dir=DEFT_RESULTS_DIR, output_dir=DEFT_FIG_DIR)
 Renders in file the figure for the results produced by hadamard.run_norm_hadamard. More...
 
def figs (input_dir=DEFT_RESULTS_DIR, output_dir=DEFT_FIG_DIR)
 Calls all hadamard.fig_* functions in a row. More...
 

Detailed Description

The demo for the hierarchical factorization of Hadamard matrices.

Member Function Documentation

◆ fig_fact()

def pyfaust.demo.hadamard.fig_fact (   input_dir = DEFT_RESULTS_DIR,
  output_dir = DEFT_FIG_DIR 
)
static

Renders in file the figure for the results produced by hadamard.run_fact.

◆ fig_norm_hadamard()

def pyfaust.demo.hadamard.fig_norm_hadamard (   input_dir = DEFT_RESULTS_DIR,
  output_dir = DEFT_FIG_DIR 
)
static

Renders in file the figure for the results produced by hadamard.run_norm_hadamard.

◆ fig_speedup_hadamard()

def pyfaust.demo.hadamard.fig_speedup_hadamard (   output_dir = DEFT_FIG_DIR,
  input_dir = DEFT_RESULTS_DIR 
)
static

Renders in file the figure for the results produced by hadamard.run_speedup_hadamard.

◆ figs()

def pyfaust.demo.hadamard.figs (   input_dir = DEFT_RESULTS_DIR,
  output_dir = DEFT_FIG_DIR 
)
static

Calls all hadamard.fig_* functions in a row.

◆ run_fact()

def pyfaust.demo.hadamard.run_fact (   output_dir = DEFT_RESULTS_DIR)
static

This demo hierarchically factorizes the Hadamard dictionary and then plots the results.

This essentially reproduces figure 2 from [1].

[1] Le Magoarou L. and Gribonval R., "Flexible multi-layer sparse approximations of matrices and applications", Journal of Selected Topics in Signal Processing, 2016.

◆ run_norm_hadamard()

def pyfaust.demo.hadamard.run_norm_hadamard (   output_dir = DEFT_RESULTS_DIR)
static

This demo makes some time comparison between the 2-norm of the Hadamard matrix and its Faust representation for differents sizes of the Hadamard matrix.

◆ run_speedup_hadamard()

def pyfaust.demo.hadamard.run_speedup_hadamard (   output_dir = DEFT_RESULTS_DIR)
static

This demo makes some time comparison between (Hadamard matrix)-vector multiplication and (Hadamard factorisation i.e a FAuST)-vector multiplication for Hadamard matrices of different sizes.


The documentation for this class was generated from the following file: