bmcfee / CDL

Convolutional dictionary learning and (sparse) coding
8 stars 4 forks source link

unit tests #1

Closed bmcfee closed 11 years ago

bmcfee commented 11 years ago

The following functions should be inverses of each-other. Implement unit-tests to verify this in each direction.

  1. blockify <=> vectorize
  2. diagonalBlockRI <=> columnsFromDiags
  3. combineComplex <=> separateComplex