The expression below should solve your problem. Also write questions properly -
would be scalar, so c is a vector. P and x are normal matrices, and q is a vector. This should solve your problem. PS - Also update your question, and attach the image file there
c = x' * P * x / 2 + q' * x
0 件のコメント
サインインしてコメントする。