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. 27, 2018
 See also iData, iData/full, iData/sparse

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1