functor

Automated composition of function handles

Vous suivez désormais cette soumission

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.

Citation pour cette source

Peter Cotton (2026). functor (https://fr.mathworks.com/matlabcentral/fileexchange/27262-functor), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : Automated composition of function handles

A inspiré : intent.m

Catégories

En savoir plus sur Biological and Health Sciences dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0