Open lob222 opened 9 months ago
Solving the linear system Qp=b will give the solution to the optimization given by the argmin equation.
b is
The prefactorization will perform the action of Q^-1. ie, you call prefactorization.compute(Q) to get something that performs Q^-1, then call prefactorization.solve(b) to get the result of Q^-1*b.
I am quite confused about how to use prefactorization input and also what b refers to. If this is the case...![image](https://github.com/dilevin/computer-graphics-mass-spring-systems/assets/93289665/48a23438-c67d-4c48-ab7a-e3dfa967a10a)
and
then is the optimisation just
argmin p (1/2) tr(p^Tb) - tr(p^Tb)?