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: Mar. 22, 2017
 See also iData, iData/full, iData/sparse

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1