| Line 1... |
Line 1... |
/*
|
/*
|
poly.h
|
* poly.h
|
|
*
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
* Include file for poly.c.
|
|
*
|
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
*
|
*
|
* Part of: A program using polynomial fits
|
* This file part of: AstrOmatic WCS library
|
*
|
*
|
* Author: E.BERTIN (IAP)
|
* Copyright: (C) 1998-2010 IAP/CNRS/UPMC
|
*
|
*
|
* Contents: Include for poly.c
|
* Author: Emmanuel Bertin (IAP)
|
*
|
*
|
* Last modify: 03/03/2004
|
* License: GNU General Public License
|
*
|
*
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
* AstrOmatic software is free software: you can redistribute it and/or
|
*/
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
* AstrOmatic software is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with AstrOmatic software.
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* Last modified: 10/10/2010
|
|
*
|
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|
|
|
#ifndef _POLY_H_
|
#ifndef _POLY_H_
|
#define _POLY_H_
|
#define _POLY_H_
|
|
|
/*--------------------------------- constants -------------------------------*/
|
/*--------------------------------- constants -------------------------------*/
|
| Line 48... |
Line 63... |
|
|
extern void poly_addcste(polystruct *poly, double *cste),
|
extern void poly_addcste(polystruct *poly, double *cste),
|
poly_end(polystruct *poly),
|
poly_end(polystruct *poly),
|
poly_fit(polystruct *poly, double *x, double *y,
|
poly_fit(polystruct *poly, double *x, double *y,
|
double *w, int ndata, double *extbasis),
|
double *w, int ndata, double *extbasis),
|
poly_solve(double *a, double *b, int n),
|
poly_solve(double *a, double *b, int n);
|
svdsolve(double *a, double *b, int m, int n,
|
|
double *vmat, double *wmat);
|
|
|
|
#endif
|
#endif
|
|
|
|
|
No newline at end of file
|
No newline at end of file
|