p3_mds

Module util

Source

Functions§

  • Given the first row circ_matrix of an NxN circulant matrix, say C, return the product C*input.
  • Use the convolution theorem to calculate the product of the given circulant matrix and the given vector.
  • This will throw an error if N = 0 but it’s hard to imagine this case coming up.
  • Given the first row of a circulant matrix, return the first column.