CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
ClebschGordanCoefficientSet.cc File Reference
#include "CLHEP/GenericFunctions/ClebschGordanCoefficientSet.hh"
#include <iostream>
#include <cmath>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  Genfun
 

Functions

double factorial (int N)
 

Function Documentation

◆ factorial()

double factorial ( int  N)
inline

Definition at line 5 of file ClebschGordanCoefficientSet.cc.

5 {
6 double retVal(1.0);
7 for (int i=2;i<=N;i++) retVal*=i;
8 return retVal;
9}