結果 : define gradient of a vector function