This is an old version, view current version.

8.4 Compound division 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.