summaryrefslogtreecommitdiffstats
path: root/man/GHquad.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/GHquad.Rd')
-rw-r--r--man/GHquad.Rd4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/GHquad.Rd b/man/GHquad.Rd
index a72a1f2..1d62281 100644
--- a/man/GHquad.Rd
+++ b/man/GHquad.Rd
@@ -19,7 +19,7 @@ A list with two components:
Gaussian distribution.
}
\details{
-if f is a function, then with(GHquad(100), crossprod(f(Z), w))
-will compute \eqn{\frac{1}{\sqrt{2\pi}}\int_-\infty^\infty f(x)e^{-\frac{x^2}{2}}\,dx}.
+if f is a function, then \eqn{\sum_{i=1}^n f(Z_i)w_i \approx
+\frac{1}{\sqrt{2\pi}} \int_{-\infty}^\infty f(x)e^{-\frac{x^2}{2}}\,dx}.
}