functor

版本 1.0.0.0 (26.9 KB) 作者: Peter Cotton
Automated composition of function handles
561.0 次下载
更新时间 2010/4/16

查看许可证

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.

引用格式

Peter Cotton (2024). functor (https://www.mathworks.com/matlabcentral/fileexchange/27262-functor), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Biological and Health Sciences 的更多信息
致谢

参考作品: Automated composition of function handles

启发作品: intent.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0