2004-02-04 関数の凸性 R ヘッシアン行列をmとすると, 行列式が正 det(m) 全ての固有値が正 eigen(m)$val 任意のベクトルに対して二次形式が正 h%*%m%*%t(h) おまけ 逆行列 solve(m) 固有ベクトル eigen(m)$vec