operator*#

inline Matrix22 operator*(const Matrix22 &a, float s)#

Matrix-scalar multiplication operator (scalar on right).

Parameters:
  • a – [in] Matrix to multiply

  • s – [in] Scalar value

Returns:

Matrix with all elements multiplied by scalar