File Exchange

image thumbnail

functor

version 1.0 (26.9 KB) by

Automated composition of function handles

1 Download

Updated

View License

Functor is an annotated function (i.e. a function_handle with named input and output arguments). Collections of functors can be automatically composed into new functors, using functor.compose and/or functor.combine
 
I sometimes find this useful for refactoring, debugging and design of larger programs. Trace through functor.unitTests to see what is going on.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.9 (R2009b)
Acknowledgements

Inspired by: Automated composition of function handles

Inspired: intent.m

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video