operator * method

Scalar operator *(
  1. Scalar other
)

Implementation

Scalar operator *(Scalar other) {
  return Scalar(val1 * other.val1, val2 * other.val2, val3 * other.val3, val4 * other.val4);
}