Mercurial > hg > libxtract
comparison src/window.c @ 141:e4f704649c50
changed license from GPL to MIT. closes #6
author | Jamie Bullock <jamie@jamiebullock.com> |
---|---|
date | Mon, 07 Jan 2013 17:01:14 +0000 |
parents | 67f6b6e63d45 |
children | baaa9d8b4d10 |
comparison
equal
deleted
inserted
replaced
140:67f6b6e63d45 | 141:e4f704649c50 |
---|---|
1 /* libxtract feature extraction library | 1 /* |
2 * | 2 * Copyright (C) 2012 Jamie Bullock |
3 * Copyright (C) 2006 Jamie Bullock | 3 * |
4 * | 4 * Permission is hereby granted, free of charge, to any person obtaining a copy |
5 * This program is free software; you can redistribute it and/or modify | 5 * of this software and associated documentation files (the "Software"), to |
6 * it under the terms of the GNU General Public License as published by | 6 * deal in the Software without restriction, including without limitation the |
7 * the Free Software Foundation; either version 2 of the License, or | 7 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
8 * (at your option) any later version. | 8 * sell copies of the Software, and to permit persons to whom the Software is |
9 * | 9 * furnished to do so, subject to the following conditions: |
10 * This program is distributed in the hope that it will be useful, | 10 * |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * The above copyright notice and this permission notice shall be included in |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 * all copies or substantial portions of the Software. |
13 * GNU General Public License for more details. | 13 * |
14 * | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
15 * You should have received a copy of the GNU General Public License | 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
16 * along with this program; if not, write to the Free Software | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
18 * USA. | 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | |
20 * IN THE SOFTWARE. | |
21 * | |
19 */ | 22 */ |
20 | 23 |
21 /* window.c: defines window generation functions (formulae courtesy of Wikipedia (http://en.wikipedia.org/wiki/Window_function) */ | 24 /* window.c: defines window generation functions (formulae courtesy of Wikipedia (http://en.wikipedia.org/wiki/Window_function) */ |
22 | 25 |
23 #include <math.h> | 26 #include <math.h> |