結果 : define gradient of a vector point function