summaryrefslogtreecommitdiffstats
path: root/Help/guide/importing-exporting/MathFunctions/MathFunctions.cxx
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2020-08-03 21:25:12 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-11 12:50:52 (GMT)
commit3310801aabbdcd32f82433fbd04237a1ab1744d4 (patch)
tree976a72a5cabaf12d5f74be29f4b1e5df229dbab5 /Help/guide/importing-exporting/MathFunctions/MathFunctions.cxx
parent5b3644fba6b3a9eb56070d8ba8f3b9b6281ba62b (diff)
downloadCMake-3310801aabbdcd32f82433fbd04237a1ab1744d4.zip
CMake-3310801aabbdcd32f82433fbd04237a1ab1744d4.tar.gz
CMake-3310801aabbdcd32f82433fbd04237a1ab1744d4.tar.bz2
Help: Add Importing and Exporting Guide
Diffstat (limited to 'Help/guide/importing-exporting/MathFunctions/MathFunctions.cxx')
-rw-r--r--Help/guide/importing-exporting/MathFunctions/MathFunctions.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/guide/importing-exporting/MathFunctions/MathFunctions.cxx b/Help/guide/importing-exporting/MathFunctions/MathFunctions.cxx
new file mode 100644
index 0000000..e75fe74
--- /dev/null
+++ b/Help/guide/importing-exporting/MathFunctions/MathFunctions.cxx
@@ -0,0 +1,10 @@
+#include "MathFunctions.h"
+
+#include <cmath>
+
+namespace MathFunctions {
+double sqrt(double x)
+{
+ return std::sqrt(x);
+}
+}