提交 26167f3a authored 作者: James Bergstra's avatar James Bergstra

Added tensor.angle() function, which is just raising NotImplementedError

上级 171b86c3
......@@ -1628,6 +1628,11 @@ def imag(x):
else:
return zeros_like(x)
@constructor
def angle(x):
"""Return the angular component of complex-valued `x`"""
raise NotImplementedError()
##########################
# Misc
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论