Previous Up Next

6.1.10  Euclidean quotient and Euclidean remainder of two integers

The iquorem command finds both the quotient and remainder of two integers (see Section 6.1.8).

Examples

iquorem(148,5)
     
⎡
⎣
29,3⎤
⎦
          
iquorem(25+12*i,5+7*i)
     
⎡
⎣
3−2 i,−4+i⎤
⎦
          

Previous Up Next