mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-15 12:54:52 +08:00
Documented utilities.
This commit is contained in:
@@ -4,7 +4,7 @@ import numpy as np
|
||||
def mkvc(x, numDims=1):
|
||||
"""Creates a vector with the number of dimension specified
|
||||
|
||||
e.g.:
|
||||
e.g.::
|
||||
|
||||
a = np.array([1, 2, 3])
|
||||
|
||||
@@ -43,7 +43,7 @@ def ndgrid(*args, **kwargs):
|
||||
|
||||
The inputs can be a list or separate arguments.
|
||||
|
||||
e.g.
|
||||
e.g.::
|
||||
|
||||
a = np.array([1, 2, 3])
|
||||
b = np.array([1, 2])
|
||||
|
||||
Reference in New Issue
Block a user