nat2

A 2-dimensional vector for unsigned integers.


A 2-dimensional vector for unsigned integers.

Behaviors

nat2(const nat2&in)

nat2()

nat2(uint x, uint y, uint z)

~nat2()

Methods

nat2 opAdd(const nat2&in) const Operator obj + x

nat2& opAddAssign(const nat2&in) Operator obj += x

nat2 opDiv(const nat2&in) const Operator obj / x

nat2 opDiv(uint) const Operator obj / x

nat2& opDivAssign(const nat2&in) Operator obj /= x

nat2& opDivAssign(uint) Operator obj /= x

uint opIndex() const Operator obj[x]

nat2 opMul(const nat2&in) const Operator obj * x

nat2 opMul(uint) const Operator obj * x

nat2& opMulAssign(const nat2&in) Operator obj *= x

nat2& opMulAssign(uint) Operator obj *= x

nat2 opSub(const nat2&in) const Operator obj - x

nat2& opSubAssign(const nat2&in) Operator obj -= x

Properties

uint x

uint y