Home > Applications > Horace > @sqw > mtimes.m

iFit/mtimes

PURPOSE ^

Implement w1 * w2 for objects

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Implement w1 * w2 for objects

   >> w = w1 * w2

   if w1, w2 are objects of the same size:
       - the operation is performed element-by-element

   if one of w1 or w2 is numeric:
       - if a scalar, apply to each element of the object numeric array
       - if an array of the same size as the object numeric array, apply
        element by element

   w1, w2 can be arrays:
       - if objects have same array sizes, then add element-by-element
       - if an (n+m)-dimensional array, the inner n dimensions will be
        combined element by element with the object numeric array (where
        n is the dimensionality of the object numeric array), and the
        outer m dimensions must match the array size of the array of objects
%   Overloaded methods:
      sqw/mtimes
      testsigvar/mtimes
      sigvar/mtimes
      IX_dataset_3d/mtimes
      IX_dataset_2d/mtimes
      IX_dataset_1d/mtimes
      sqw/mtimes
      sigvar/mtimes
      d4d/mtimes
      d3d/mtimes
      d2d/mtimes
      d1d/mtimes
      d0d/mtimes
      codistributed/mtimes
      gpuArray/mtimes
      timeseries/mtimes
%   Reference page in Help browser
      doc mtimes

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1