qlat_utils.CoordinateD¶
- class qlat_utils.CoordinateD(x=None)¶
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)copy(self, Bool is_copying_data=True)from_list(self, x)set value based on a list composed of the 4 components of the coordinate.
sqr(self)Return the square sum of all the components as
cc.Long.to_list(self)Return a list composed of the 4 components of the coordinate.
to_numpy(self)Return a np.ndarray composed of the 4 components of the coordinate.
to_tuple(self)Return a tuple composed of the 4 components of the coordinate.