melaELekana
Checks whether vector components are equal.
melaELekana(mola, oMongwe)Returns nnete or maaka without mutation. The second input can be a vector, an array or separate coordinates. Components compare exactly, without a floating-point tolerance; omitted coordinates compare as zero.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
mola | mola | The first vector. |
oMongwe | mola / lenaane / palo | A vector, array or separate coordinates. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(320, 220);
bokamorago(235);
diri a = bopaMola(3, 4);
diri b = bopaMola(5, 1);
diri sephetho = melaELekana(a, b);
bogoloJwaMokwalo(28);
thalaMokwalo(mokwalo(sephetho), 40, 120);
emisaPoapoeletso();
}