GIRAFFE Pipeline Reference Manual

gichebyshev.h
1 /* $Id$
2  *
3  * This file is part of the GIRAFFE Pipeline
4  * Copyright (C) 2002-2006 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /*
22  * $Author$
23  * $Date$
24  * $Revision$
25  * $Name$
26  */
27 
28 #ifndef GICHEBYSHEV_H
29 #define GICHEBYSHEV_H
30 
31 #include <cxtypes.h>
32 
33 #include <cpl_macros.h>
34 #include <cpl_matrix.h>
35 
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 
42 typedef struct GiChebyshev2D GiChebyshev2D;
43 
44 
45 GiChebyshev2D *giraffe_chebyshev2d_new(cxint xorder, cxint yorder);
46 GiChebyshev2D *giraffe_chebyshev2d_clone(const GiChebyshev2D *other);
47 void giraffe_chebyshev2d_delete(GiChebyshev2D *self);
48 
49 void giraffe_chebyshev2d_get_order(const GiChebyshev2D *self, cxint *xorder,
50  cxint *yorder);
51 void giraffe_chebyshev2d_get_range(const GiChebyshev2D *self, cxdouble *ax,
52  cxdouble *bx, cxdouble *ay, cxdouble *by);
53 
54 const cpl_matrix *giraffe_chebyshev2d_coeffs(const GiChebyshev2D *self);
55 
56 cxint giraffe_chebyshev2d_set(GiChebyshev2D *self, cxdouble ax, cxdouble bx,
57  cxdouble ay, cxdouble by, cpl_matrix *coeffs);
58 cxint giraffe_chebyshev2d_set_coeff(GiChebyshev2D *self, cxint i, cxint j,
59  cxdouble value);
60 
61 cxdouble giraffe_chebyshev2d_eval(const GiChebyshev2D *self, cxdouble x,
62  cxdouble y);
63 
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif /* GICHEBYSHEV_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.14.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Wed Mar 11 2015 13:19:41 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2004