You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(#~#^) should be A B^T and vice versa for (#~^#). The documentation and function is above anb below the wrong type signature in each one respectively. Solution is to swap type signatures.
Wrong:
-- | Sparsifying A^T B
(#~#^) :: (MatrixRing (SpMatrix a), Epsilon a) =>
SpMatrix a -> SpMatrix a -> SpMatrix a
a #~^# b = transpose a #~# b
-- | Sparsifying A B^T
(#~^#) :: (MatrixRing (SpMatrix a), Epsilon a) =>
SpMatrix a -> SpMatrix a -> SpMatrix a
a #~#^ b = a #~# transpose b
Right:
-- | Sparsifying A^T B
(#~^#) :: (MatrixRing (SpMatrix a), Epsilon a) =>
SpMatrix a -> SpMatrix a -> SpMatrix a
a #~^# b = transpose a #~# b
-- | Sparsifying A B^T
(#~#^) :: (MatrixRing (SpMatrix a), Epsilon a) =>
SpMatrix a -> SpMatrix a -> SpMatrix a
a #~#^ b = a #~# transpose b
The text was updated successfully, but these errors were encountered:
(#~#^)
should be A B^T and vice versa for(#~^#)
. The documentation and function is above anb below the wrong type signature in each one respectively. Solution is to swap type signatures.Wrong:
Right:
The text was updated successfully, but these errors were encountered: