This is an old version, view current version.
9.4 Compound division and assignment
void
operator/=
(int x, int y)
x /= y
is equivalent to x = x / y
.
Available since 2.17
void
operator/=
(real x, real y)
x /= y
is equivalent to x = x / y
.
Available since 2.17
void
operator/=
(vector x, real y)
x /= y
is equivalent to x = x / y
.
Available since 2.17
void
operator/=
(row_vector x, real y)
x /= y
is equivalent to x = x / y
.
Available since 2.17
void
operator/=
(matrix x, real y)
x /= y
is equivalent to x = x / y
.
Available since 2.17