Skip to content

Commit

Permalink
resolve: ordering: Mention that inverse of permutation matrix is tran…
Browse files Browse the repository at this point in the history
…spose.
  • Loading branch information
stefanv committed Feb 19, 2010
1 parent 3a1abb5 commit 3f43124
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions supreme/resolve/ordering.py
Expand Up @@ -21,6 +21,11 @@ def special_form(A):
P : sparse matrix
Permutation matrix such that PA is in special form.
Notes
-----
The permutation matrix is orthogonal, and as such its
inverse is simply ``P.T``.
"""
if not sparse.issparse(A):
A = sparse.csr_matrix(A)
Expand Down

0 comments on commit 3f43124

Please sign in to comment.