Documented utilities.

This commit is contained in:
Rowan Cockett
2013-10-03 15:31:08 -07:00
parent fb69446cfb
commit 65f129e7a8
6 changed files with 61 additions and 30 deletions
+2 -2
View File
@@ -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])