[bug #54144] issorted("rows") support for sparse matrix input

Rik <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Update of bug #54144 (group octave):

                 Summary: Why can't issorted() work on sparse matrices? =>
issorted("rows") support for sparse matrix input

    _______________________________________________________

Follow-up Comment #4:

I think the documentation needs to be clarified that *issorted* does not work
for sparse matrices if the *"rows"* argument is present.

Example code:

issorted (sparse ([1 2 3]), "rows")
error: issorted: sparse matrices not yet supported


I made a small change to the documentation to note that.

Re-titling bug report to be about remaining issue.

Note, the Matlab function is quite different than Octave's and has support for
multi-dimensional arrays as well as a dimension input argument.  We could also
mark this as a compatibility issue and try to add those features.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54144>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZLzMQAKCRCqLAuaBUf3
TjDqAQDhR7L4Hi1f17iDA+1/eohfl51hgzNSku5bZpV02NBxcgD/XJFH3NpYj13P
Gm1ibvflDh+IMhtj3JyCPCAP7Se9MQ4=
=bUyt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.