Standard notation for rowwise subtraction

95 Views Asked by At

Given a matrix $\mathbf{A} \in \mathbb{R}^{m \times n}$, how do I concisely denote the subtraction of a vector $v \in \mathbb{R}^n$ from each of its rows?

1

There are 1 best solutions below

0
On

With the help of $\mathbb{1} = (1_1, \dots, 1_n)$: $$\mathbf{A}^{'} = \mathbf{A}-\mathbb{1}^{\top}v$$.