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.
Zitieren als
Peter Cotton (2025). functor (https://www.mathworks.com/matlabcentral/fileexchange/27262-functor), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Biological and Health Sciences finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
functor/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |