Difference between revisions of "Struct/plus.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     str3=plus(str1,str2)
 
     str3=plus(str1,str2)
  
−
==Arguments==
+
==Parameters==
  
 
     str1, str2 - input structures, must have the same topology
 
     str1, str2 - input structures, must have the same topology

Revision as of 18:52, 5 June 2026

Adds corresponding fields of two structures. Nested structures are processed recursively.

Syntax

    str3=plus(str1,str2)

Parameters

    str1, str2 - input structures, must have the same topology

Outputs

    str3       - output structure

See also

cell/plus.m, ttclass/plus.m, polyadic/plus.m

Matlab object overloads

Version 2.9, authors: Ilya Kuprov, Luke Edwards