summaryrefslogtreecommitdiff
path: root/Yacs++/src/FACT.hxx
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /Yacs++/src/FACT.hxx
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Yacs++/src/FACT.hxx')
-rwxr-xr-xYacs++/src/FACT.hxx24
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