I don't know if "binary function" is the correct name for the following?
I have the functions $f$, $g$, and their domains are only $1$ or $0$.
What is the correct notation for this?
I have the following (? are $1$ or $0$): \begin{align} f:?\rightarrow \mathbb R \tag 1 \end{align}
And for the vector-valued function $g$: \begin{align} g:?\rightarrow \mathbb R^n \tag 2 \end{align} where $g(?)=(g_1(?), \dots, g_n(?))$.
Thanks!
I do not think that the term "binary function" would be appropriate. Indeed, since a binary sequence is a function from $\mathbb{N}$ to $\{0, 1\}$, I would rather see a binary function as a function with range $\{0, 1\}$.
I have no good suggestion for a better name, but you could represent such a function as a pair of reals $(r_0, r_1)$ (where $f(0) = r_0$ and $f(1) = r_1$).