This is possibly a dumb question, but I'm trying to solve a linear system, say
Ax=b
A is a negative semi-definite matrix. I am using a math library, and want to use a method that only works for positive semi-definitive matrices. Could I simply just multiply -1 to both sides and then solve:
Dx=f
where
D=-A
f=-b
D now becomes positive semi definite.