And the other option is only one namespace ("waveforms") that has a pair of functions with different names, e.g. "sine" and "sine-normalized" for the functions ranged [-1, 1] and [0, 1] respectively.
And the other option is only one namespace ("waveforms") that has a pair of functions with different names, e.g. "sine" and "sine-normalized" for the functions ranged [-1, 1] and [0, 1] respectively.
3/ 4
One option is to have two distinct namespaces, one for the [-1, 1] flavor (e.g. "waveforms") and one for the [0, 1] flavor (e.g. "waveforms-normalized") with the same function names in each
3/ 4
One option is to have two distinct namespaces, one for the [-1, 1] flavor (e.g. "waveforms") and one for the [0, 1] flavor (e.g. "waveforms-normalized") with the same function names in each
I also want a flavor of all these functions that returns values from [-1, 1] because often I find myself needing both variations.
I also want a flavor of all these functions that returns values from [-1, 1] because often I find myself needing both variations.