How to notate a subtraction of a matrix columns with a vector?

3k Views Asked by At

According to matrix algebra, I cannot subtract a vector from a matrix, because they don't have the same size.

enter image description here

I want to notate that every column of $R_i^t$ is subtracted by vector $R_f^t$, but I don't want to either merge them into 1 matrix, nor change the vector to matrix in order to emphasise the nature of the variables.

1

There are 1 best solutions below

2
On BEST ANSWER

Given matrix $\mathbf A \in \mathbb R^{n \times p}$, we can subtract vector $\mathbf b \in \mathbb R^n$ from all $p$ columns of $\bf A$ via $\color{blue}{\mathbf A - \mathbf b {\bf 1}_p^{\top}}$.