Given a matrix A (possibly singular), a matrix B and a vector $\mathbf{y}$, I need to compute:
the last row of the matrix $$ A^+B $$
the last entry of the vector $$ A^+\mathbf{y} $$
Is my only option that of calculating the pseudo-inverse $A^+$, compute the inner product and then take the last row/entry? Or is there a shortcut?