LORENE
Itbl Mathematics

() More...

Functions

Itbl Lorene::operator+ (const Itbl &)
 
Itbl Lorene::operator- (const Itbl &)
 
Itbl Lorene::operator+ (const Itbl &, const Itbl &)
 Itbl + Itbl.
 
Itbl Lorene::operator+ (const Itbl &, int)
 Itbl + int.
 
Itbl Lorene::operator+ (int a, const Itbl &b)
 int + Itbl
 
Itbl Lorene::operator- (const Itbl &, const Itbl &)
 Itbl - Itbl.
 
Itbl Lorene::operator- (const Itbl &, int)
 Itbl - int.
 
Itbl Lorene::operator- (int, const Itbl &)
 int - Itbl
 
Itbl Lorene::operator* (const Itbl &, const Itbl &)
 Itbl * Itbl.
 
Itbl Lorene::operator* (const Itbl &, int)
 Itbl * int.
 
Itbl Lorene::operator* (int, const Itbl &)
 int * Itbl
 
Itbl Lorene::abs (const Itbl &)
 Absolute value.
 
int Lorene::max (const Itbl &)
 Maximum value of the Itbl elements.
 
int Lorene::min (const Itbl &)
 Minimum value of the Itbl elements.
 
int Lorene::norme (const Itbl &)
 Sum of the absolute values of all the Itbl elements.
 
double Lorene::diffrel (const Itbl &a, const Itbl &b)
 Relative difference between two Itbl (norme version).
 
double Lorene::diffrelmax (const Itbl &a, const Itbl &b)
 Relative difference between two Itbl (max version).
 

Detailed Description

()

Function Documentation

◆ abs()

◆ diffrel()

double Lorene::diffrel ( const Itbl a,
const Itbl b 
)

Relative difference between two Itbl (norme version).

Returns norme(a-b)/norme(b) unless b=0 , in which case it returns norme(a-b) .

Definition at line 186 of file itbl_math.C.

References Lorene::Itbl::get_etat(), and Lorene::norme().

◆ diffrelmax()

double Lorene::diffrelmax ( const Itbl a,
const Itbl b 
)

Relative difference between two Itbl (max version).

Returns max(abs(a-b))/max(abs(b)) unless b=0 , in which case it returns max(abs(a-b)) .

Definition at line 210 of file itbl_math.C.

References Lorene::abs(), Lorene::Itbl::get_etat(), and Lorene::max().

◆ max()

int Lorene::max ( const Itbl ti)

Maximum value of the Itbl elements.

Definition at line 110 of file itbl_math.C.

References Lorene::Itbl::get_etat(), Lorene::Itbl::get_taille(), and Lorene::Itbl::t.

◆ min()

int Lorene::min ( const Itbl ti)

Minimum value of the Itbl elements.

Definition at line 136 of file itbl_math.C.

References Lorene::Itbl::get_etat(), Lorene::Itbl::get_taille(), and Lorene::Itbl::t.

◆ norme()

int Lorene::norme ( const Itbl ti)

Sum of the absolute values of all the Itbl elements.

Definition at line 162 of file itbl_math.C.

References Lorene::abs(), Lorene::Itbl::get_etat(), Lorene::Itbl::get_taille(), and Lorene::Itbl::t.

◆ operator*() [1/3]

◆ operator*() [2/3]

◆ operator*() [3/3]

Itbl Lorene::operator* ( int  x,
const Itbl t1 
)

int * Itbl

Definition at line 308 of file itbl_arithm.C.

◆ operator+() [1/4]

  • Ibl

Definition at line 61 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator+() [2/4]

◆ operator+() [3/4]

◆ operator+() [4/4]

Itbl Lorene::operator+ ( int  a,
const Itbl b 
)

int + Itbl

Definition at line 151 of file itbl_arithm.C.

◆ operator-() [1/4]

◆ operator-() [2/4]

◆ operator-() [3/4]

◆ operator-() [4/4]