C C Copyright (c) 1997 Silvano Bonazzola C C This file is part of LORENE. C C LORENE is free software; you can redistribute it and/or modify C it under the terms of the GNU General Public License as published by C the Free Software Foundation; either version 2 of the License, or C (at your option) any later version. C C LORENE is distributed in the hope that it will be useful, C but WITHOUT ANY WARRANTY; without even the implied warranty of C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the C GNU General Public License for more details. C C You should have received a copy of the GNU General Public License C along with LORENE; if not, write to the Free Software C Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA C C SUBROUTINE CERARS(N,INDEX,F,CS,CC) implicit double precision (a-h,o-z) C C ROUTINE POUR LE CALCUL DES COEFFICIENTS DE C TCHEBYTCHEV D'UNE FONCTION AVEC ECHANTILLONAGE C RAREFIE' A L'ORIGINE. L'ECHANTILLONAGE EST EFFECTUE' C DANS LES POINTS XL=-DCOS((L-1)*PI/(N*N)+PI/2) DE L'IN- C TERVALLE 0