You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firedrake/randomfunctiongen.py
+5-5
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@
3
3
========
4
4
5
5
This module wraps `numpy.random <https://numpy.org/doc/stable/reference/random/index.html>`__,
6
-
and enables users to generate a randomised :class:`.Function` from a :class:`.FunctionSpace`.
6
+
and enables users to generate a randomised :class:`.Function` from a :class:`.WithGeometry` or :class:`.FiredrakeDualSpace`.
7
7
This module inherits almost all attributes from `numpy.random <https://numpy.org/doc/stable/reference/random/index.html>`__ with the following changes:
8
8
9
9
Generator
10
10
---------
11
11
12
12
A :class:`.Generator` wraps `numpy.random.Generator <https://numpy.org/doc/stable/reference/random/generator.html>`__.
13
13
:class:`.Generator` inherits almost all distribution methods from `numpy.random.Generator <https://numpy.org/doc/stable/reference/random/generator.html>`__,
14
-
and they can be used to generate a randomised :class:`.Function` by passing a :class:`.FunctionSpace` as the first argument.
14
+
and they can be used to generate a randomised :class:`.Function` by passing a :class:`.WithGeometry` or :class:`.FiredrakeDualSpace` as the first argument.
0 commit comments