"Fossies" - the Fresh Open Source Software Archive

Member "getdp-3.1.0-source/Numeric/Legendre.h" (23 Feb 2019, 734 Bytes) of package /linux/privat/getdp-3.1.0-source.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "Legendre.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 3.0.4_vs_3.1.0.

    1 // GetDP - Copyright (C) 1997-2019 P. Dular and C. Geuzaine, University of Liege
    2 //
    3 // See the LICENSE.txt file for license information. Please report all
    4 // issues on https://gitlab.onelab.info/getdp/getdp/issues.
    5 
    6 #ifndef LEGENDRE_H
    7 #define LEGENDRE_H
    8 
    9 double Factorial(double n) ;
   10 
   11 double BinomialCoef( double n, double m ) ;
   12 
   13 double Legendre(int l, int m, double x) ;
   14 void LegendreRecursive(int l, int m, double x, double P[]) ;
   15 void LegendreRecursiveM(int l, double x, double P[]) ;
   16 
   17 double dLegendre (int l, int m, double x) ;
   18 double dLegendreFinDif (int l, int m, double x) ;
   19 
   20 void PrintLegendre(int l, int m, double x, char * FileName);
   21 
   22 void SphericalHarmonics(int l, int m, double Theta, double Phi, double Yl_m[]);
   23 
   24 #endif