Difference between revisions of "Unihash.m"
(Create documentation page from Spinach function header) |
|||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:unihash.m}} __NOTOC__ | {{DISPLAYTITLE:unihash.m}} __NOTOC__ | ||
| − | Hash table based stable duplicate row eliminator, for use with large sparse matrices where Matlab's | + | Hash table based stable duplicate row eliminator, for use with large sparse matrices where Matlab's unique(...,'rows') is too slow. |
==Syntax== | ==Syntax== | ||
Revision as of 21:19, 22 February 2026
Hash table based stable duplicate row eliminator, for use with large sparse matrices where Matlab's unique(...,'rows') is too slow.
Syntax
A=unihash(A)
Arguments
A - a large and sparse matrix
Outputs
A - same matrix with duplicate
rows deleted, keeping the
first occurrence of each
Examples
See examples in the Spinach distribution relevant to this function.
Notes
This page was generated from the function header in the Spinach repository.
See also
Version 2.11, authors: Ilya Kuprov