function x = iatom2sym(c,pat,tp)
% iatom2sym.m - inverse transform of wave atom orthnormal basis, symmetric version
%
% input:
%   y:    N-by-1 array containing all wave atom coefficients
%   pat:  type of frequency partition which satsifies parabolic scaling relationship
%         equal to 'p' or 'q'
%   tp:   1-by-2, tp(1) and tp(2) denote the type of transform to use in x and y dimension respectively
%         1: standard version
%         -1: Hilbert transformed version
%         [default set to [1 1]]
%
% output:
%   x:    N-by-1 array
%
% Written by M.J. Fadili, 2007

x = double(iatom1sym_mex(single(c),pat,tp));
