// Author: Aime' Fournier // E-mail: fournier@ucar.edu #include // for printf() ... #include "qf.h" void dwtai2( // 2D version of dwtai() real *u, // input/output array of size ia[0][0]*ia[1][0] real *s, // scratch array of size max(ia[0][0],ia[1][0]) int *iv[2], // v-space lengths from DWTAPartition() int *ia[2], // w-space starts from DWTAPartition() int lm, // maximum level const pqf *h, // low-pass filter const pqf *g) { // high-pass filter extern real l2norm(); // l2 norm int k,lx,ly; lx=ia[1][0]; // padded x-length (nu. columns) ly=ia[0][0]; // padded y-length (nu. rows) //printf("dwtai2: norm=%9.2e\n",l2norm(u,lx,iv[0][0],iv[1][0])); for( k=0; k