-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
complexComplex numbersComplex numbers
Description
It would be nice if div and rem were supported for complex integer types, at least when the divisor is integer (and not complex). (This would be the method div(::Complex{<:Integer}, ::Integer).) In this case, the result is uniquely defined.
In the same way, div and rem could be defined for arrays, similarly to how arrays can be multiplied and divided by scalars via * and /: [1,2,3] % 2.
Metadata
Metadata
Assignees
Labels
complexComplex numbersComplex numbers