Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sample1.cc File Reference
#include "sample1.h"
+ Include dependency graph for sample1.cc:

Go to the source code of this file.

Functions

int Factorial (int n)
 
bool IsPrime (int n)
 

Function Documentation

int Factorial ( int  n)

Definition at line 37 of file sample1.cc.

View newest version in sPHENIX GitHub at line 37 of file sample1.cc

References i, and n.

Referenced by TEST(), and TEST_F().

+ Here is the caller graph for this function:

bool IsPrime ( int  n)

Definition at line 47 of file sample1.cc.

View newest version in sPHENIX GitHub at line 47 of file sample1.cc

References i.

Referenced by TEST(), and TEST_F().

+ Here is the caller graph for this function: