結果 : define scalar and vector product of two vectors