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
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class smodel
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
sum
DIM [] none

Example

plist('DIM', [[]])

back to top back to top

Some information of the method smodel/sum are listed below:
Class name smodel
Method name sum
Category Operator
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 2
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 0
Supported numeric types {'double'}




©LTP Team