Difference between revisions of "Hash unique.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Fix lead description from MATLAB header (folding/hyphenation pass))
(Normalise sequential blank lines)
Line 29: Line 29:
 
* [[tikhol1n.m]]
 
* [[tikhol1n.m]]
 
* [[Kernel_utilities]]
 
* [[Kernel_utilities]]
−
 
−
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 11:31, 25 April 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