Skip to content
Snippets Groups Projects
Commit cb784322 authored by Matthias Diener's avatar Matthias Diener Committed by Andreas Klöckner
Browse files

Numpy actx: add arange, linspace

parent 3a5d2522
No related branches found
No related tags found
No related merge requests found
......@@ -140,4 +140,10 @@ class NumpyFakeNumpyNamespace(BaseFakeNumpyNamespace):
np.logical_and),
self.array_equal, a, b)
def arange(self, *args, **kwargs):
return np.arange(*args, **kwargs)
def linspace(self, *args, **kwargs):
return np.linspace(*args, **kwargs)
# vim: fdm=marker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment