A function to calculate wave number.
waveNumL(f, h)
A numeric vector of wave frequencies
A numeric vector of water depths (usually in units of meters)
The wave number.
Modified from MATLAB function by Urs Neumeier: http://neumeier.perso.ch/matlab/waves.html Based on polynomial approximation from Hunt, J. N. 1979. <U+201C>Direct Solution of Wave Dispersion Equation,<U+201D> ASCE Journal of the Waterway, Port, Coastal and Ocean Division., Vol 105, pp 457-459 suggested by George Voulgaris, University of South Carolina