Mercurial > repos > public > sbplib
view diffSymfun.m @ 608:c923fe6197ff feature/interpolation
Add inerpolation operator classes and implementations for MC and AWW.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sat, 14 Oct 2017 22:32:25 -0700 |
parents | 489bea7fc33f |
children |
line wrap: on
line source
% Differentiates a symbolic function like diff does, but keeps the function as a symfun function g = diffSymfun(f, varargin) assertType(f, 'symfun'); args = argnames(f); g = symfun(diff(f,varargin{:}), args); end