Complex number type composed of two double-precision floating-point numbers, compatible with Python complex.
Inherits From: inexact
tf.experimental.numpy.complex128(
*args, **kwargs
)
:Character code: 'D' :Canonical name: numpy.cdouble :Alias: numpy.cfloat :Alias: numpy.complex_ :Alias on this platform (Linux x86_64): numpy.complex128: Complex number type composed of 2 64-bit-precision floating-point numbers.
| Attributes | |
|---|---|
T | Scalar attribute identical to the corresponding array attribute. Please see |
base | Scalar attribute identical to the corresponding array attribute. Please see |
data | Pointer to start of data. |
dtype | Get array data-descriptor. |
flags | The integer value of flags. |
flat | A 1-D view of the scalar. |
imag | The imaginary part of the scalar. |
itemsize | The length of one element in bytes. |
nbytes | The length of the scalar in bytes. |
ndim | The number of array dimensions. |
real | The real part of the scalar. |
shape | Tuple of array dimensions. |
size | The number of elements in the gentype. |
strides | Tuple of bytes steps in each dimension. |
allall()
Scalar method identical to the corresponding array attribute.
Please see ndarray.all.
anyany()
Scalar method identical to the corresponding array attribute.
Please see ndarray.any.
argmaxargmax()
Scalar method identical to the corresponding array attribute.
Please see ndarray.argmax.
argminargmin()
Scalar method identical to the corresponding array attribute.
Please see ndarray.argmin.
argsortargsort()
Scalar method identical to the corresponding array attribute.
Please see ndarray.argsort.
astypeastype()
Scalar method identical to the corresponding array attribute.
Please see ndarray.astype.
byteswapbyteswap()
Scalar method identical to the corresponding array attribute.
Please see ndarray.byteswap.
choosechoose()
Scalar method identical to the corresponding array attribute.
Please see ndarray.choose.
clipclip()
Scalar method identical to the corresponding array attribute.
Please see ndarray.clip.
compresscompress()
Scalar method identical to the corresponding array attribute.
Please see ndarray.compress.
conjconj()
conjugateconjugate()
Scalar method identical to the corresponding array attribute.
Please see ndarray.conjugate.
copycopy()
Scalar method identical to the corresponding array attribute.
Please see ndarray.copy.
cumprodcumprod()
Scalar method identical to the corresponding array attribute.
Please see ndarray.cumprod.
cumsumcumsum()
Scalar method identical to the corresponding array attribute.
Please see ndarray.cumsum.
diagonaldiagonal()
Scalar method identical to the corresponding array attribute.
Please see ndarray.diagonal.
dumpdump()
Scalar method identical to the corresponding array attribute.
Please see ndarray.dump.
dumpsdumps()
Scalar method identical to the corresponding array attribute.
Please see ndarray.dumps.
fillfill()
Scalar method identical to the corresponding array attribute.
Please see ndarray.fill.
flattenflatten()
Scalar method identical to the corresponding array attribute.
Please see ndarray.flatten.
getfieldgetfield()
Scalar method identical to the corresponding array attribute.
Please see ndarray.getfield.
itemitem()
Scalar method identical to the corresponding array attribute.
Please see ndarray.item.
itemsetitemset()
Scalar method identical to the corresponding array attribute.
Please see ndarray.itemset.
maxmax()
Scalar method identical to the corresponding array attribute.
Please see ndarray.max.
meanmean()
Scalar method identical to the corresponding array attribute.
Please see ndarray.mean.
minmin()
Scalar method identical to the corresponding array attribute.
Please see ndarray.min.
newbyteordernewbyteorder()
newbyteorder(new_order='S', /)
Return a new dtype with a different byte order.
Changes are also made in all fields and sub-arrays of the data type.
The new_order code can be any from the following:
new_order : str, optional Byte order to force; a value from the byte order specifications above. The default value ('S') results in swapping the current byte order.
new_dtype : dtype New dtype object with the given change to the byte order.
nonzerononzero()
Scalar method identical to the corresponding array attribute.
Please see ndarray.nonzero.
prodprod()
Scalar method identical to the corresponding array attribute.
Please see ndarray.prod.
ptpptp()
Scalar method identical to the corresponding array attribute.
Please see ndarray.ptp.
putput()
Scalar method identical to the corresponding array attribute.
Please see ndarray.put.
ravelravel()
Scalar method identical to the corresponding array attribute.
Please see ndarray.ravel.
repeatrepeat()
Scalar method identical to the corresponding array attribute.
Please see ndarray.repeat.
reshapereshape()
Scalar method identical to the corresponding array attribute.
Please see ndarray.reshape.
resizeresize()
Scalar method identical to the corresponding array attribute.
Please see ndarray.resize.
roundround()
Scalar method identical to the corresponding array attribute.
Please see ndarray.round.
searchsortedsearchsorted()
Scalar method identical to the corresponding array attribute.
Please see ndarray.searchsorted.
setfieldsetfield()
Scalar method identical to the corresponding array attribute.
Please see ndarray.setfield.
setflagssetflags()
Scalar method identical to the corresponding array attribute.
Please see ndarray.setflags.
sortsort()
Scalar method identical to the corresponding array attribute.
Please see ndarray.sort.
squeezesqueeze()
Scalar method identical to the corresponding array attribute.
Please see ndarray.squeeze.
stdstd()
Scalar method identical to the corresponding array attribute.
Please see ndarray.std.
sumsum()
Scalar method identical to the corresponding array attribute.
Please see ndarray.sum.
swapaxesswapaxes()
Scalar method identical to the corresponding array attribute.
Please see ndarray.swapaxes.
taketake()
Scalar method identical to the corresponding array attribute.
Please see ndarray.take.
tobytestobytes()
tofiletofile()
Scalar method identical to the corresponding array attribute.
Please see ndarray.tofile.
tolisttolist()
Scalar method identical to the corresponding array attribute.
Please see ndarray.tolist.
tostringtostring()
Scalar method identical to the corresponding array attribute.
Please see ndarray.tostring.
tracetrace()
Scalar method identical to the corresponding array attribute.
Please see ndarray.trace.
transposetranspose()
Scalar method identical to the corresponding array attribute.
Please see ndarray.transpose.
varvar()
Scalar method identical to the corresponding array attribute.
Please see ndarray.var.
viewview()
Scalar method identical to the corresponding array attribute.
Please see ndarray.view.
__abs____abs__()
abs(self)
__add____add__(
value, /
)
Return self+value.
__and____and__(
value, /
)
Return self&value.
__array____array__()
sc.array(dtype) return 0-dim array from scalar with specified dtype
__bool____bool__()
True if self else False
__eq____eq__(
value, /
)
Return self==value.
__floordiv____floordiv__(
value, /
)
Return self//value.
__ge____ge__(
value, /
)
Return self>=value.
__getitem____getitem__(
key, /
)
Return self[key].
__gt____gt__(
value, /
)
Return self>value.
__invert____invert__()
~self
__le____le__(
value, /
)
Return self<=value.
__lshift____lshift__(
value, /
)
Return self<<value.
__lt____lt__(
value, /
)
Return self<value.
__mod____mod__(
value, /
)
Return self%value.
__mul____mul__(
value, /
)
Return self*value.
__ne____ne__(
value, /
)
Return self!=value.
__neg____neg__()
-self
__or____or__(
value, /
)
Return self|value.
__pos____pos__()
+self
__pow____pow__(
value, mod, /
)
Return pow(self, value, mod).
__radd____radd__(
value, /
)
Return value+self.
__rand____rand__(
value, /
)
Return value&self.
__rfloordiv____rfloordiv__(
value, /
)
Return value//self.
__rlshift____rlshift__(
value, /
)
Return value<<self.
__rmod____rmod__(
value, /
)
Return value%self.
__rmul____rmul__(
value, /
)
Return value*self.
__ror____ror__(
value, /
)
Return value|self.
__rpow____rpow__(
value, mod, /
)
Return pow(value, self, mod).
__rrshift____rrshift__(
value, /
)
Return value>>self.
__rshift____rshift__(
value, /
)
Return self>>value.
__rsub____rsub__(
value, /
)
Return value-self.
__rtruediv____rtruediv__(
value, /
)
Return value/self.
__rxor____rxor__(
value, /
)
Return value^self.
__sub____sub__(
value, /
)
Return self-value.
__truediv____truediv__(
value, /
)
Return self/value.
__xor____xor__(
value, /
)
Return self^value.
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/experimental/numpy/complex128