spfun
F = spfun (fun, S) -- apply an elementwise function to the nonzero elements of S only. fun is called once, with the column of nonzeros.
spfunF = spfun (fun, S) -- apply an elementwise function to the nonzero elements of S only. fun is called once, with the column of nonzeros.