LORENE
Itbl Mathematics

() More...

Functions

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

Detailed Description

()

Function Documentation

◆ abs()

Itbl Lorene::abs ( const Itbl ti)

Absolute value.

Definition at line 82 of file itbl_math.C.

References Lorene::Itbl::get_etat().

◆ 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 189 of file itbl_math.C.

References Lorene::Itbl::get_etat().

◆ 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 213 of file itbl_math.C.

References Lorene::Itbl::get_etat().

◆ max()

int Lorene::max ( const Itbl ti)

Maximum value of the Itbl elements.

Definition at line 113 of file itbl_math.C.

References Lorene::Itbl::get_etat().

◆ min()

int Lorene::min ( const Itbl ti)

Minimum value of the Itbl elements.

Definition at line 139 of file itbl_math.C.

References Lorene::Itbl::get_etat().

◆ norme()

int Lorene::norme ( const Itbl ti)

Sum of the absolute values of all the Itbl elements.

Definition at line 165 of file itbl_math.C.

References Lorene::Itbl::get_etat().

◆ operator*() [1/3]

Itbl Lorene::operator* ( const Itbl t1,
const Itbl t2 
)

Itbl * Itbl.

Definition at line 248 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator*() [2/3]

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

Itbl * int.

Definition at line 281 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator*() [3/3]

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

int * Itbl

Definition at line 311 of file itbl_arithm.C.

◆ operator+() [1/4]

Itbl Lorene::operator+ ( const Itbl t1)
  • Ibl

Definition at line 64 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator+() [2/4]

Itbl Lorene::operator+ ( const Itbl t1,
const Itbl t2 
)

Itbl + Itbl.

Definition at line 99 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator+() [3/4]

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

Itbl + int.

Definition at line 133 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator+() [4/4]

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

int + Itbl

Definition at line 154 of file itbl_arithm.C.

◆ operator-() [1/4]

Itbl Lorene::operator- ( const Itbl t1)

Definition at line 74 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator-() [2/4]

Itbl Lorene::operator- ( const Itbl t1,
const Itbl t2 
)

Itbl - Itbl.

Definition at line 166 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator-() [3/4]

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

Itbl - int.

Definition at line 201 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

◆ operator-() [4/4]

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

int - Itbl

Definition at line 223 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().