Difference between revisions of "Struct/plus.m"
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:struct/plus.m}} __NOTOC__ | {{DISPLAYTITLE:struct/plus.m}} __NOTOC__ | ||
| − | + | Adds corresponding fields of two structures. Nested structures are processed recursively. | |
==Syntax== | ==Syntax== | ||
str3=plus(str1,str2) | str3=plus(str1,str2) | ||
| − | |||
| − | |||
| − | |||
==Arguments== | ==Arguments== | ||
Revision as of 16:35, 6 May 2024
Adds corresponding fields of two structures. Nested structures are processed recursively.
Syntax
str3=plus(str1,str2)
Arguments
str1, str2 - input structures, must have the same topology
Outputs
str3 - output structure
See also
cell/plus.m, ttclass/plus.m, polyadic/plus.m
Version 2.9, authors: Ilya Kuprov, Luke Edwards