


% -*- texinfo -*-
% @deftypefn {Function File} {@var{y} =} spfun (@var{f},@var{x})
% Compute @code{f(@var{x})} for the non-zero values of @var{x}.
% This results in a sparse matrix with the same structure as
% @var{x}. The function @var{f} can be passed as a string, a
% function handle or an inline function.
% @end deftypefn