Method smodel/sum
SUM adds all the elements of smodel objects arrays.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: SUM adds all the elements of smodel objects arrays.
CALL: obj = sum(mdl_mat)
obj = mdl_mat.sum()
obj = sum(mdl_mat, dim) % Not yet implemented!
obj = mdl_mat.sum(plist('dim', dim)) % Not yet implemented!
Parameters Description
VERSION: $Id: sum.m,v 1.6 2011/04/08 08:56:30 hewitson Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details |
|
| Access |
public |
| Defining Class |
smodel |
| Sealed |
0 |
| Static |
0 |
Parameter Description
| Sets for this method … |
| Default |
Default |
| no description |
| Key |
Default Value |
Options |
Description |
| DIM |
[] |
none |
|
back to top
| Some information of the method smodel/sum are listed below: |
| Class name |
smodel |
| Method name |
sum |
| Category |
Operator |
| CVS Version |
$Id: sum.m,v 1.6 2011/04/08 08:56:30 hewitson Exp $ |
| Min input args |
2 |
| Max input args |
-1 |
| Min output args |
1 |
| Max output args |
-1 |
|
Method: smodel/simplify |
|
Method: smodel/ztrans |
 |
©LTP Team