Unverified Commit d8370299 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

try again. (#5141)


Co-authored-by: default avatarSteve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
parent e032de58
......@@ -13,7 +13,8 @@ def add(
) -> Union[DiagMatrix, SparseMatrix]:
"""Elementwise additions for `DiagMatrix` and `SparseMatrix`.
The supported combinations are shown as follow.
The supported combinations are shown as follows.
+--------------+------------+--------------+--------+
| A \ B | DiagMatrix | SparseMatrix | scalar |
+--------------+------------+--------------+--------+
......@@ -56,7 +57,8 @@ def add(
def sub(A: Union[DiagMatrix], B: Union[DiagMatrix]) -> Union[DiagMatrix]:
"""Elementwise subtraction for `DiagMatrix` and `SparseMatrix`.
The supported combinations are shown as follow.
The supported combinations are shown as follows.
+--------------+------------+--------------+--------+
| A \ B | DiagMatrix | SparseMatrix | scalar |
+--------------+------------+--------------+--------+
......@@ -95,7 +97,8 @@ def power(
) -> Union[SparseMatrix, DiagMatrix]:
"""Elementwise exponentiation for `DiagMatrix` and `SparseMatrix`.
The supported combinations are shown as follow.
The supported combinations are shown as follows.
+--------------+------------+--------------+--------+
| A \ B | DiagMatrix | SparseMatrix | scalar |
+--------------+------------+--------------+--------+
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment