summaryrefslogtreecommitdiff
path: root/gsl-1.9/doc/specfunc-elementary.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gsl-1.9/doc/specfunc-elementary.texi')
-rw-r--r--gsl-1.9/doc/specfunc-elementary.texi23
1 files changed, 23 insertions, 0 deletions
diff --git a/gsl-1.9/doc/specfunc-elementary.texi b/gsl-1.9/doc/specfunc-elementary.texi
new file mode 100644
index 0000000..6d6f92a
--- /dev/null
+++ b/gsl-1.9/doc/specfunc-elementary.texi
@@ -0,0 +1,23 @@
+@cindex elementary operations
+@cindex multiplication
+
+The following functions allow for the propagation of errors when
+combining quantities by multiplication. The functions are declared in
+the header file @file{gsl_sf_elementary.h}.
+
+@comment @deftypefun double gsl_sf_multiply (double @var{x}, double @var{y})
+@deftypefun int gsl_sf_multiply_e (double @var{x}, double @var{y}, gsl_sf_result * @var{result})
+This function multiplies @var{x} and @var{y} storing the product and its
+associated error in @var{result}.
+@comment Exceptional Return Values: GSL_EOVRFLW, GSL_EUNDRFLW
+@end deftypefun
+
+
+@deftypefun int gsl_sf_multiply_err_e (double @var{x}, double @var{dx}, double @var{y}, double @var{dy}, gsl_sf_result * @var{result})
+This function multiplies @var{x} and @var{y} with associated absolute
+errors @var{dx} and @var{dy}. The product
+@c{$xy \pm xy \sqrt{(dx/x)^2 +(dy/y)^2}$}
+@math{xy +/- xy \sqrt((dx/x)^2 +(dy/y)^2)}
+is stored in @var{result}.
+@comment Exceptional Return Values: GSL_EOVRFLW, GSL_EUNDRFLW
+@end deftypefun