Commit a4adcac3 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

add missing method

parent 2ce453c2
Pipeline #21446 passed with stage
in 4 minutes and 21 seconds
......@@ -94,6 +94,12 @@ class data_object(object):
def imag(self):
return data_object(self._shape, self._data.imag, self._distaxis)
def conj(self):
return data_object(self._shape, self._data.conj(), self._distaxis)
def conjugate(self):
return data_object(self._shape, self._data.conjugate(), self._distaxis)
def _contraction_helper(self, op, mpiop, axis):
if axis is not None:
if len(axis) == len(self._data.shape):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment