- foxes.constants.DTYPE(numpy.floating, float)
Default data type for floats
Public members¶
- foxes.constants.DTYPE(**kwargs)
Create and return a new object. See help(type) for accurate signature.
- foxes.constants.__repr__()
Return repr(self).
- foxes.constants.__hash__()
Return hash(self).
- foxes.constants.__str__()
Return str(self).
- foxes.constants.__lt__(value, /)
Return self<value.
- foxes.constants.__le__(value, /)
Return self<=value.
- foxes.constants.__eq__(value, /)
Return self==value.
- foxes.constants.__ne__(value, /)
Return self!=value.
- foxes.constants.__gt__(value, /)
Return self>value.
- foxes.constants.__ge__(value, /)
Return self>=value.
- foxes.constants.__add__(value, /)
Return self+value.
- foxes.constants.__radd__(value, /)
Return value+self.
- foxes.constants.__sub__(value, /)
Return self-value.
- foxes.constants.__rsub__(value, /)
Return value-self.
- foxes.constants.__mul__(value, /)
Return self*value.
- foxes.constants.__rmul__(value, /)
Return value*self.
- foxes.constants.__mod__(value, /)
Return self%value.
- foxes.constants.__rmod__(value, /)
Return value%self.
- foxes.constants.__divmod__(value, /)
Return divmod(self, value).
- foxes.constants.__rdivmod__(value, /)
Return divmod(value, self).
-
foxes.constants.__pow__(value, mod=
None
, /) Return pow(self, value, mod).
-
foxes.constants.__rpow__(value, mod=
None
, /) Return pow(value, self, mod).
- foxes.constants.__neg__()
-self
- foxes.constants.__pos__()
+self
- foxes.constants.__abs__()
abs(self)
- foxes.constants.__bool__()
True if self else False
- foxes.constants.__int__()
int(self)
- foxes.constants.__float__()
float(self)
- foxes.constants.__floordiv__(value, /)
Return self//value.
- foxes.constants.__rfloordiv__(value, /)
Return value//self.
- foxes.constants.__truediv__(value, /)
Return self/value.
- foxes.constants.__rtruediv__(value, /)
Return value/self.
- foxes.constants.as_integer_ratio()
Return a pair of integers, whose ratio is exactly equal to the original floating point number, and with a positive denominator. Raise OverflowError on infinities and a ValueError on NaNs.
- foxes.constants.is_integer() bool
Return
True
if the floating point number is finite with integral value, andFalse
otherwise.
- foxes.constants.DTYPE[item, /]
Return a parametrized wrapper around the ~numpy.number type.
- foxes.constants.__invert__()
~self
- foxes.constants.__lshift__(value, /)
Return self<<value.
- foxes.constants.__rlshift__(value, /)
Return value<<self.
- foxes.constants.__rshift__(value, /)
Return self>>value.
- foxes.constants.__rrshift__(value, /)
Return value>>self.
- foxes.constants.__and__(value, /)
Return self&value.
- foxes.constants.__rand__(value, /)
Return value&self.
- foxes.constants.__xor__(value, /)
Return self^value.
- foxes.constants.__rxor__(value, /)
Return value^self.
- foxes.constants.__or__(value, /)
Return self|value.
- foxes.constants.__ror__(value, /)
Return value|self.
- foxes.constants.__getitem__(key, /)
Return self[key].
- foxes.constants.tolist()
Scalar method identical to the corresponding array attribute.
- foxes.constants.item()
Scalar method identical to the corresponding array attribute.
- foxes.constants.itemset()
Scalar method identical to the corresponding array attribute.
- foxes.constants.tobytes()
- foxes.constants.tofile()
Scalar method identical to the corresponding array attribute.
- foxes.constants.tostring()
Scalar method identical to the corresponding array attribute.
- foxes.constants.byteswap()
Scalar method identical to the corresponding array attribute.
- foxes.constants.astype()
Scalar method identical to the corresponding array attribute.
- foxes.constants.getfield()
Scalar method identical to the corresponding array attribute.
- foxes.constants.setfield()
Scalar method identical to the corresponding array attribute.
- foxes.constants.copy()
Scalar method identical to the corresponding array attribute.
- foxes.constants.resize()
Scalar method identical to the corresponding array attribute.
- foxes.constants.__array__()
sc.__array__(dtype) return 0-dim array from scalar with specified dtype
- foxes.constants.__array_wrap__()
sc.__array_wrap__(obj) return scalar from array
- foxes.constants.__sizeof__()
Size of object in memory, in bytes.
- foxes.constants.__reduce__()
Helper for pickle.
- foxes.constants.dumps()
Scalar method identical to the corresponding array attribute.
- foxes.constants.dump()
Scalar method identical to the corresponding array attribute.
- foxes.constants.fill()
Scalar method identical to the corresponding array attribute.
- foxes.constants.transpose()
Scalar method identical to the corresponding array attribute.
- foxes.constants.take()
Scalar method identical to the corresponding array attribute.
- foxes.constants.put()
Scalar method identical to the corresponding array attribute.
- foxes.constants.repeat()
Scalar method identical to the corresponding array attribute.
- foxes.constants.choose()
Scalar method identical to the corresponding array attribute.
- foxes.constants.sort()
Scalar method identical to the corresponding array attribute.
- foxes.constants.argsort()
Scalar method identical to the corresponding array attribute.
- foxes.constants.searchsorted()
Scalar method identical to the corresponding array attribute.
- foxes.constants.argmax()
Scalar method identical to the corresponding array attribute.
- foxes.constants.argmin()
Scalar method identical to the corresponding array attribute.
- foxes.constants.reshape()
Scalar method identical to the corresponding array attribute.
- foxes.constants.squeeze()
Scalar method identical to the corresponding array attribute.
- foxes.constants.view()
Scalar method identical to the corresponding array attribute.
- foxes.constants.swapaxes()
Scalar method identical to the corresponding array attribute.
- foxes.constants.max()
Scalar method identical to the corresponding array attribute.
- foxes.constants.min()
Scalar method identical to the corresponding array attribute.
- foxes.constants.ptp()
Scalar method identical to the corresponding array attribute.
- foxes.constants.mean()
Scalar method identical to the corresponding array attribute.
- foxes.constants.trace()
Scalar method identical to the corresponding array attribute.
- foxes.constants.diagonal()
Scalar method identical to the corresponding array attribute.
- foxes.constants.clip()
Scalar method identical to the corresponding array attribute.
- foxes.constants.conj()
- foxes.constants.conjugate()
Scalar method identical to the corresponding array attribute.
- foxes.constants.nonzero()
Scalar method identical to the corresponding array attribute.
- foxes.constants.std()
Scalar method identical to the corresponding array attribute.
- foxes.constants.var()
Scalar method identical to the corresponding array attribute.
- foxes.constants.sum()
Scalar method identical to the corresponding array attribute.
- foxes.constants.cumsum()
Scalar method identical to the corresponding array attribute.
- foxes.constants.prod()
Scalar method identical to the corresponding array attribute.
- foxes.constants.cumprod()
Scalar method identical to the corresponding array attribute.
- foxes.constants.all()
Scalar method identical to the corresponding array attribute.
- foxes.constants.any()
Scalar method identical to the corresponding array attribute.
- foxes.constants.compress()
Scalar method identical to the corresponding array attribute.
- foxes.constants.flatten()
Scalar method identical to the corresponding array attribute.
- foxes.constants.ravel()
Scalar method identical to the corresponding array attribute.
- foxes.constants.round()
Scalar method identical to the corresponding array attribute.
- foxes.constants.__format__()
NumPy array scalar formatter
- foxes.constants.setflags()
Scalar method identical to the corresponding array attribute.
-
foxes.constants.newbyteorder(new_order=
'S'
, /) Return a new dtype with a different byte order.
- foxes.constants.ndim
The number of array dimensions.
- foxes.constants.flags
The integer value of flags.
- foxes.constants.shape
Tuple of array dimensions.
- foxes.constants.strides
Tuple of bytes steps in each dimension.
- foxes.constants.data
Pointer to start of data.
- foxes.constants.itemsize
The length of one element in bytes.
- foxes.constants.size
The number of elements in the gentype.
- foxes.constants.nbytes
The length of the scalar in bytes.
- foxes.constants.base
Scalar attribute identical to the corresponding array attribute.
- foxes.constants.dtype
Get array data-descriptor.
- foxes.constants.real
The real part of the scalar.
- foxes.constants.imag
The imaginary part of the scalar.
- foxes.constants.flat
A 1-D view of the scalar.
- foxes.constants.T
Scalar attribute identical to the corresponding array attribute.
- foxes.constants.__array_interface__
Array protocol: Python side
- foxes.constants.__array_struct__
Array protocol: struct
- foxes.constants.__array_priority__
Array priority.