Difference between revisions of "Struct/plus.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
(Update function See also links and function index membership)
 
(One intermediate revision by the same user not shown)
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
Line 15: Line 15:
  
 
==See also==
 
==See also==
−
[[cell/plus.m]], [[ttclass/plus.m]], [[polyadic/plus.m]]
+
[[cell/plus.m]], [[ttclass/plus.m]], [[polyadic/plus.m]], [[struct/mtimes.m]], [[Appendix_H:_Matlab_object_overloads]]
−
 
 
−
[[Appendix_H:_Matlab_object_overloads|Matlab object overloads]]
 
  
 
''Version 2.9, authors: [[Ilya Kuprov]], [[Luke Edwards]]''
 
''Version 2.9, authors: [[Ilya Kuprov]], [[Luke Edwards]]''

Latest revision as of 19:42, 6 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, struct/mtimes.m, Appendix_H:_Matlab_object_overloads

Version 2.9, authors: Ilya Kuprov, Luke Edwards