My Project  debian-1:4.1.1-p2+ds-4
Data Structures | Functions
GMPrat.h File Reference
#include "coeffs/si_gmp.h"

Go to the source code of this file.

Data Structures

class  Rational
 
struct  Rational::rep
 

Functions

Rational operator+ (const Rational &, const Rational &)
 
Rational operator- (const Rational &, const Rational &)
 
Rational operator* (const Rational &, const Rational &)
 
Rational operator/ (const Rational &, const Rational &)
 

Function Documentation

◆ operator*()

Rational operator* ( const Rational ,
const Rational  
)

Definition at line 406 of file GMPrat.cc.

407 {
408  Rational
409  erg(a);
410 
411  return erg*=b;
412 }

◆ operator+()

Rational operator+ ( const Rational ,
const Rational  
)

Definition at line 388 of file GMPrat.cc.

389 {
390  Rational
391  erg(a);
392 
393  return erg+=b;
394 }

◆ operator-()

Rational operator- ( const Rational ,
const Rational  
)

Definition at line 397 of file GMPrat.cc.

398 {
399  Rational
400  erg(a);
401 
402  return erg-=b;
403 }

◆ operator/()

Rational operator/ ( const Rational ,
const Rational  
)

Definition at line 425 of file GMPrat.cc.

426 {
427  Rational
428  erg(a);
429 
430  return erg/=b;
431 }
b
CanonicalForm b
Definition: cfModGcd.cc:4044
Rational
Definition: GMPrat.h:14