Method collection/lincom


  LINCOM make a linear combination of objects within the collection
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: LINCOM makes a linear combination of the objects within the
  collection.
  
  The method extracts the objects from the collection and calls the lincom
  method of the appropriate class. If no lincom method exists for the class
  of the inner objects, an error will result. Unpredicatable results will
  be achieved if the inner objects are of different classes.
 
  CALL:        b = lincom(collection, pest)
               b = lincom(c1, c2, ... , pest)
               b = lincom([c1 c2], plist)
 
 
               If no plist is specified, the last object should be:
                + an AO of type cdata with the coefficients inside OR
                + a vector of AOs of type cdata with individual coefficients OR
                + a pest object with the coefficients
 
  INPUTS:      ai - a list of analysis objects of the same type
               c  - analysis object OR pest object with coefficient(s)
               pl - input parameter list
 
  OUTPUTS:     b  - output collection of AOs, one per input collection
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class collection
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
lincom
COEFFS [] none A vector of AOs of type cdata with individual coefficients
or a PEST containing a vector of coefficients
or a vector of numeric coefficients.

Example

plist('COEFFS', [[]])

back to top back to top

Some information of the method collection/lincom are listed below:
Class name collection
Method name lincom
Category Signal Processing
Package name ltpda
Can be used as modifier 0
Supported numeric types {'double'}




©LTP Team