Mercurial > hg > svcore
diff base/Window.h @ 822:54829c1e155e tonioni
Merge from the default branch
author | Chris Cannam |
---|---|
date | Fri, 12 Jul 2013 13:10:28 +0100 |
parents | 97741fe16205 |
children | 6a94bb528e9d |
line wrap: on
line diff
--- a/base/Window.h Thu Jun 20 13:47:35 2013 +0100 +++ b/base/Window.h Fri Jul 12 13:10:28 2013 +0100 @@ -41,7 +41,11 @@ { public: /** - * Construct a windower of the given type. + * Construct a windower of the given type and size. + * + * Note that the cosine windows are periodic by design, rather + * than symmetrical. (A window of size N is equivalent to a + * symmetrical window of size N+1 with the final element missing.) */ Window(WindowType type, size_t size) : m_type(type), m_size(size) { encache(); } Window(const Window &w) : m_type(w.m_type), m_size(w.m_size) { encache(); }