def norm_inv(self, eps=0): """Return the inverse of the matrix/vector `norm`. For `norm`: please see :func:`~taichi.lang.matrix.Matrix.norm`. Args: eps (Number): a safe-guard value for sqrt, usually 0. Returns: The inverse of the matrix/vector `norm`. """ return ops_mod.rsqrt(self.norm_sqr() + eps)
def norm_inv(self, eps=0): return ops_mod.rsqrt(self.norm_sqr() + eps)