shape_check checks whether X is a matrix representing
a column vector (i.e., a matrix with 1 column). If not, shape_check attempts
to coerce the user provided X to a matrix with 1 column. If this cannot be done,
an error is raised.
Usage
shape_check(X)
Value
An (N x 1) matrix
Arguments
X
Object to check and (if possible) coerce to a single column matrix
Details
This is a utility function written to check the input X for the
functions atrous_dwt and mo_dwt.