This is an old version, view current version.
8.3 Compound multiplication and assignment
void
operator*=
(int x, int y)
x *= y
is equivalent to x = x * y
.
void
operator*=
(real x, real y)
x *= y
is equivalent to x = x * y
.
void
operator*=
(vector x, real y)
x *= y
is equivalent to x = x * y
.
void
operator*=
(row_vector x, real y)
x *= y
is equivalent to x = x * y
.
void
operator*=
(matrix x, real y)
x *= y
is equivalent to x = x * y
.
void
operator*=
(row_vector x, matrix y)
x *= y
is equivalent to x = x * y
.
void
operator*=
(matrix x, matrix y)
x *= y
is equivalent to x = x * y
.