ProductSpaceElement¶
- class odl.space.pspace.ProductSpaceElement(space, parts)[source]¶
Bases:
LinearSpaceElementElements of a
ProductSpace.- Attributes:
TThis element's transpose, i.e.
dtypeThe data type of the space of this element.
imagImaginary part of the element.
nbytesTotal number of bytes in memory used by this element.
ndimNumber axes in
self, computed recursively.partsParts of this product space element.
realReal part of the element.
shapeNumber of values per axis in
self, computed recursively.sizeTotal number of involved spaces, computed recursively.
spaceSpace to which this element belongs.
ufuncsProductSpaceUfuncs, access to Numpy style ufuncs.
Methods
asarray([out])Extract the data of this vector as a numpy array.
assign(other)Assign the values of
othertoself.conj()Complex conjugate of the element.
copy()Create an identical (deep) copy of self.
dist(other)Return the distance of
selftoother.divide(other[, out])Return
out = self / other.inner(other)Return the inner product of
selfandother.lincomb(a, x1[, b, x2])Implement
self[:] = a * x1 + b * x2.multiply(other[, out])Return
out = self * other.norm()Return the norm of this element.
set_zero()Set this element to zero.
show([title, indices])Display the parts of this product space element graphically.