Difference between revisions of "Unihash.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
                       A=unihash(A)
 
                       A=unihash(A)
  
==Arguments==
+
==Parameters==
  
 
           A - a large and sparse matrix
 
           A - a large and sparse matrix

Revision as of 18:53, 5 June 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)

Parameters

         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