Difference between revisions of "Hash unique.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Rename Arguments section heading to Parameters)
(Update function spelling after rename; preserve all page content)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:unihash.m}} __NOTOC__
+
{{DISPLAYTITLE:hash_unique.m}} __NOTOC__
 
Hash table based stable duplicate row eliminator, for use with large sparse matrices where Matlab's unique(...,'rows') is too slow.
 
Hash table based stable duplicate row eliminator, for use with large sparse matrices where Matlab's unique(...,'rows') is too slow.
  
 
==Syntax==
 
==Syntax==
  
−
                       A=unihash(A)
+
                       A=hash_unique(A)
  
 
==Parameters==
 
==Parameters==
Line 23: Line 23:
  
 
==See also==
 
==See also==
−
* [[min_int_type.m]]
+
[[min_int_type.m]], [[repcols.m]], [[reprows.m]], [[prune_subgraphs.m]], [[tikhol1n.m]], [[autoexec.m]], [[bos_product_table.m]], [[fft_freq_axis.m]], [[fwhm2rlx.m]], [[icm2hz.m]], [[ifft_time_axis.m]], [[intrep.m]], [[istraceless.m]], [[kq2lin.m]], [[kronm.m]], [[lcurve.m]], [[lin2kq.m]], [[redfield_integral_async.m]], [[redfield_integral_serial.m]], [[serpentine.m]], [[st_product_table.m]], [[which_subst.m]], [[xyz2hfc.m]], [[Kernel_utilities]]
−
* [[repcols.m]]
 
−
* [[reprows.m]]
 
−
* [[prune_subgraphs.m]]
 
−
* [[tikhol1n.m]]
 
−
* [[Kernel_utilities]]
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Latest revision as of 16:17, 11 October 2026

Hash table based stable duplicate row eliminator, for use with large sparse matrices where Matlab's unique(...,'rows') is too slow.

Syntax

                      A=hash_unique(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

min_int_type.m, repcols.m, reprows.m, prune_subgraphs.m, tikhol1n.m, autoexec.m, bos_product_table.m, fft_freq_axis.m, fwhm2rlx.m, icm2hz.m, ifft_time_axis.m, intrep.m, istraceless.m, kq2lin.m, kronm.m, lcurve.m, lin2kq.m, redfield_integral_async.m, redfield_integral_serial.m, serpentine.m, st_product_table.m, which_subst.m, xyz2hfc.m, Kernel_utilities

Version 2.11, authors: Ilya Kuprov