![]() |
Checks if the tensor's elements are all near zero.
cirq.linalg.all_near_zero(
a: Union[float, complex, Iterable[float], np.ndarray],
*,
atol: float = 1e-08
) -> bool
Args | |
---|---|
a
|
Tensor of elements that could all be near zero. |
atol
|
Absolute tolerance. |