Skip to main content

Constmdiveq(a: any, b: any): any

Divides two arrays back into and modifying the first array as if a /= b.

remarks

This implementation loops in reverse order. The mdiveq function should be used with caution due to its destructive nature. We implicitly assume that the second array contains at least as many elements as the first.

Parameters:#

NameTypeDescription
aanyThe dividend, first input array-like to divide and modify.
banyThe divisor, second input array-like to divide.

Returns: any

typeof a - The modified input.

Defined in: unsafe/matrix/mdiveq.ts:17