up
nice problems involve minimizing the quadratic form where W is a weight matrix that only matters when the rank of g(⋅) is greater than the dimensions of θ.
g(X; θ)′ W g(X; θ)