Mercurial > octave-nkf
diff src/ChangeLog @ 8968:91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Nothing terribly fancy in any of this. There probably is some
mechanism for using the permutation vectors and some assign or index
method in the sparse classes, but I've never understood all the
intricacies. I'm opting for a simple implementation at the cost of
possibly duplicating some functionality.
author | Jason Riedy <jason@acm.org> |
---|---|
date | Tue, 10 Mar 2009 21:54:44 -0400 |
parents | 1bba53c0a38d |
children | 3ecbc236e2e0 |
line wrap: on
line diff
--- a/src/ChangeLog Thu Mar 12 11:46:56 2009 +0100 +++ b/src/ChangeLog Tue Mar 10 21:54:44 2009 -0400 @@ -47,6 +47,25 @@ 2009-03-10 Jason Riedy <jason@acm.org> + * OPERATORS/op-pm-sm.cc (mul_pm_sm): New Octave binding for + perm * sparse. + (ldiv_pm_sm): New Octave binding for perm \ sparse. + (mul_sm_pm): New Octave binding for sparse * perm. + (div_sm_pm): New Octave binding for sparse / perm. + (install_pm_sm_ops): Install the above bindings. + + * OPERATORS/op-pm-scm.cc (mul_pm_scm): New Octave binding for + perm * sparse complex. + (ldiv_pm_scm): New Octave binding for perm \ sparse complex. + (mul_scm_pm): New Octave binding for sparse complex * perm. + (div_scm_pm): New Octave binding for sparse complex / perm. + (install_pm_scm_ops): Install the above bindings. + + * Makefile.in (PERM_OP_XSRC): Add op-pm-sm.cc and op-pm-scm.cc for + operations between permutations and sparse matrices. + +2009-03-10 Jason Riedy <jason@acm.org> + * DLD-FUNCTIONS/find.cc (find_nonzero_elem_idx): New override for find on PermMatrix. (find): Add a branch testing arg.is_perm_matrix () and calling the