▸ Const
mmuleq(a
: any, b
: any): any
Multiplies two arrays back into and modifying the first array as if a -= b.
remarks
This implementation loops in reverse order. The mmuleq 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:Name | Type | Description |
---|---|---|
a | any | The minuend, first input array-like to subtract and modify. |
b | any | The subtrahend, second input array-like to subtract. |
Returns: any
typeof a - The modified input.
Defined in: unsafe/matrix/mmuleq.ts:17