Itbl Mathematics
[Utilities.]

() More...

Functions

Itbl Lorene::operator+ (const Itbl &)
 + Ibl
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

Itbl Lorene::abs ( const Itbl &  ti  ) 

Absolute value.

Definition at line 82 of file itbl_math.C.

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

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(), and Lorene::norme().

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::abs(), Lorene::Itbl::get_etat(), and Lorene::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(), Lorene::Itbl::get_taille(), and Lorene::Itbl::t.

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(), Lorene::Itbl::get_taille(), and Lorene::Itbl::t.

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::abs(), Lorene::Itbl::get_etat(), Lorene::Itbl::get_taille(), and Lorene::Itbl::t.

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

int * Itbl

Definition at line 311 of file itbl_arithm.C.

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

Itbl * int.

Definition at line 281 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

Itbl Lorene::operator* ( const Itbl &  t1,
const Itbl &  t2 
)
Itbl Lorene::operator+ ( int  a,
const Itbl &  b 
)

int + Itbl

Definition at line 154 of file itbl_arithm.C.

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

+ Ibl

Definition at line 64 of file itbl_arithm.C.

References Lorene::Itbl::get_etat().

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

Generated on 7 Dec 2019 for LORENE by  doxygen 1.6.1