source: roaraudio/include/libroardsp/poly.h @ 5961:06e7fd9e4c25

Last change on this file since 5961:06e7fd9e4c25 was 5961:06e7fd9e4c25, checked in by phi, 10 years ago

Updates of copyright and license headers

File size: 2.1 KB
Line 
1//poly.h:
2
3// was math.h
4
5/*
6 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2014
7 *
8 *  This file is part of libroar a part of RoarAudio,
9 *  a cross-platform sound system for both, home and professional use.
10 *  See README for details.
11 *
12 *  This file is free software; you can redistribute it and/or modify
13 *  it under the terms of the GNU General Public License version 3
14 *  as published by the Free Software Foundation.
15 *
16 *  libroar is distributed in the hope that it will be useful,
17 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 *  GNU General Public License for more details.
20 *
21 *  You should have received a copy of the GNU General Public License
22 *  along with this software; see the file COPYING.  If not, write to
23 *  the Free Software Foundation, 51 Franklin Street, Fifth Floor,
24 *  Boston, MA 02110-1301, USA.
25 *
26 *  NOTE for everyone want's to change something and send patches:
27 *  read README and HACKING! There a addition information on
28 *  the license of this document you need to read before you send
29 *  any patches.
30 *
31 *  NOTE for uses of non-GPL (LGPL,...) software using libesd, libartsc
32 *  or libpulse*:
33 *  The libs libroaresd, libroararts and libroarpulse link this lib
34 *  and are therefore GPL. Because of this it may be illigal to use
35 *  them with any software that uses libesd, libartsc or libpulse*.
36 */
37
38#ifndef _LIBROARMATH_H_
39#define _LIBROARMATH_H_
40
41#include "libroardsp.h"
42
43int roar_math_mkpoly (float * poly, float * data, int len);
44
45int roar_math_mkpoly_2x2 (float * poly, float * data);
46int roar_math_mkpoly_3x3 (float * poly, float * data);
47int roar_math_mkpoly_4x4 (float * poly, float * data);
48int roar_math_mkpoly_5x5 (float * poly, float * data);
49
50float roar_math_cvpoly     (float * poly, float t, int len);
51float roar_math_cvpoly_4x4 (float * poly, float t);
52
53int roar_math_diffpoly(float * poly, int len);
54int roar_math_intpoly(float * poly, int len, float c);
55
56float roar_math_numintpoly(float * poly, int len, float st, float et);
57
58#endif
59
60//ll
Note: See TracBrowser for help on using the repository browser.