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 Center 및 MATLAB Answers에서 Biological and Health Sciences에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!functor/
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |