Home > Objects > @iData > sparse.m

iFit/sparse

PURPOSE ^

b = sparse(s) : Convert iData object storage to sparse

SYNOPSIS ^

function a = sparse(a)

DESCRIPTION ^

 b = sparse(s) : Convert iData object storage to sparse

   @iData/sparse function to use sparse storage, which only stores
   non zeros elements in Signal, Error and Monitor. This may be usefull
   for event based storage where most events are zeros.

 input:  s: object or array (iData)
 output: b: object or array (iData)
 ex:     b=sparse(a);

 Version: Nov. 26, 2018
 See also iData, iData/full, iData/sparse

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