Skip to content

Commit 98aaaa2

Browse files
committed
Alphabetically ordered methods of the base NumpyTensorSpace and NumpyTensor classes.
1 parent 643e64c commit 98aaaa2

File tree

2 files changed

+648
-638
lines changed

2 files changed

+648
-638
lines changed

odl/space/base_tensors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def size(self):
294294
return (0 if self.shape == () else
295295
int(np.prod(self.shape, dtype='int64')))
296296

297+
########## public methods ##########
297298
def astype(self, dtype):
298299
"""Return a copy of this space with new ``dtype``.
299300

0 commit comments

Comments
 (0)