ルジャンドル変換
Legendre transformation in more than one dimension.