libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
xtandemhyperscorebis.cpp File Reference

Go to the source code of this file.

Functions

unsigned int factorial (unsigned int n)
 

Function Documentation

◆ factorial()

unsigned int factorial ( unsigned int n)

Definition at line 41 of file xtandemhyperscorebis.cpp.

42{
43 unsigned int retval = 1;
44 for(int i = n; i > 1; --i)
45 retval *= i;
46 return retval;
47}