How sskeme/eeee346-f26-hw9 works
This small C++ homework program demonstrates templated math functors through a MathUtility workflow: main supplies integer and double arrays, displays their original values, then requests absolute-value and power transformations and displays the results. The header excerpt leaves the functor and transformation implementations as TODOs, so their internal call relationships are supported by the README rather than inspected implementations.
Main entry points: myMath.h MathUtility · main.cpp Demo Entry Point
Components 4
Other components
- Demo Entry Point
main.cpp - MathUtility
myMath.h - Absolute Functor
myMath.h - Power Functor
myMath.h
Connections 3
- Demo Entry Point → MathUtility: constructs and calls
main.cpp - MathUtility → Absolute Functor: applies to elements
README.md - MathUtility → Power Functor: raises elements
README.md