I would want to create the vectors $(\pm x_1, \pm x_2, \ldots,\pm x_n), \; \{x_1,x_2,x_3 \in \mathbb R\}, \{n\in \mathbb N \}$.
For small $n$, this can be done manually (here $n=2, \, x_1 = 1, \, x_2 = 2$),
$(\pm 1, \pm 2) = \{(-1, -2), \;(1,-2), \; (-1,2), \;(1,2) \}$
but the number of vectors increases exponentially. Is there a neat built-in syntax for this kind of list manipulation?
Tuples
? $\endgroup$x={1,2,3,4}
and thenTuples[{-#, #}&/@x]
orTuples[Transpose[{-x, x}]]
$\endgroup$