From 7dfcc480ba1e19bd3232349fc733caef94034292 Mon Sep 17 00:00:00 2001 From: stainer_t Date: Mon, 8 Sep 2025 13:48:49 +0200 Subject: Initial commit from Polytechnique Montreal --- Yacs++/src/FACT.hxx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 Yacs++/src/FACT.hxx (limited to 'Yacs++/src/FACT.hxx') 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. + *

+ * + * @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 -- cgit v1.2.3