diff options
Diffstat (limited to 'Yacs++/src/FACT.hxx')
| -rwxr-xr-x | Yacs++/src/FACT.hxx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Yacs++/src/FACT.hxx b/Yacs++/src/FACT.hxx new file mode 100755 index 0000000..6e497cc --- /dev/null +++ b/Yacs++/src/FACT.hxx @@ -0,0 +1,24 @@ +/** + * This class is a C++ wrapper for calling the FACT.c2m CLE-2000 + procedure from YACS. + * <P> + * + * @author Alain Hebert, Ecole Polytechnique de Montreal (2013) + */ +#ifndef __FACT_HXX__ +#define __FACT_HXX__ + +class FACT { +public: + /** use this constructor to create a new FACT object + */ + FACT(); + + /** use this method to execute the FACT object + * @param a input integer + * @param b output integer containing factorial of a + */ + void run(long a, long& b); +}; // class FACT + +#endif |
