#ifndef WMMPOL_H
#define WMMPOL_H

/*
 * WMM
 * Wave-matching method for mode analysis of dielectric waveguides
 * Manfred Lohmeyer 
 * University of Osnabrueck, Department of Physics
 * Barbarastrasse 7, D-49069 Osnabrueck, Germany
 * (1999)
 * Manfred Hammer
 * University of Twente, Faculty of Mathematical Sciences
 * P.O. Box 217, 7500AE Enschede, The Netherlands
 * (2002)
 */

/*
 * wmmpol.h
 * procedures to set up lsq-error and normalization matrices 
 */

/* normalization matrix for rectangle l, m */
int fillsnmat(int l, int m, double *nmat, int pen);

/* fill least squares error matrix */
void fillampmat();

/* free memory */
void closeampmat();

#endif // WMMPOL_H

