source: roaraudio/include/libroardsp/poly.h @ 3029:816a2dba7285

Last change on this file since 3029:816a2dba7285 was 2442:2750ac386c39, checked in by phi, 15 years ago

added roar_math_cvpoly()

File size: 1.9 KB
Line 
1//poly.h:
2
3// was math.h
4
5/*
6 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008, 2009
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, 675 Mass Ave, Cambridge, MA 02139, USA.
24 *
25 *  NOTE for everyone want's to change something and send patches:
26 *  read README and HACKING! There a addition information on
27 *  the license of this document you need to read before you send
28 *  any patches.
29 *
30 *  NOTE for uses of non-GPL (LGPL,...) software using libesd, libartsc
31 *  or libpulse*:
32 *  The libs libroaresd, libroararts and libroarpulse link this lib
33 *  and are therefore GPL. Because of this it may be illigal to use
34 *  them with any software that uses libesd, libartsc or libpulse*.
35 */
36
37#ifndef _LIBROARMATH_H_
38#define _LIBROARMATH_H_
39
40#include "libroardsp.h"
41
42int roar_math_mkpoly (float * poly, float * data, int len);
43
44int roar_math_mkpoly_2x2 (float * poly, float * data);
45int roar_math_mkpoly_3x3 (float * poly, float * data);
46int roar_math_mkpoly_4x4 (float * poly, float * data);
47int roar_math_mkpoly_5x5 (float * poly, float * data);
48
49float roar_math_cvpoly     (float * poly, float t, int len);
50float roar_math_cvpoly_4x4 (float * poly, float t);
51
52#endif
53
54//ll
Note: See TracBrowser for help on using the repository browser.