Tbl Mathematics
[Utilities.]

() More...

Functions

Tbl Lorene::operator+ (const Tbl &)
 + Tbl
Tbl Lorene::operator- (const Tbl &)
 - Tbl
Tbl Lorene::operator+ (const Tbl &, const Tbl &)
 Tbl + Tbl.
Tbl Lorene::operator+ (const Tbl &, double)
 Tbl + double.
Tbl Lorene::operator+ (double, const Tbl &)
 double + Tbl
Tbl Lorene::operator+ (const Tbl &, int)
 Tbl + int.
Tbl Lorene::operator+ (int, const Tbl &)
 int + Tbl
Tbl Lorene::operator- (const Tbl &, const Tbl &)
 Tbl - Tbl.
Tbl Lorene::operator- (const Tbl &, double)
 Tbl - double.
Tbl Lorene::operator- (double, const Tbl &)
 double - Tbl
Tbl Lorene::operator- (const Tbl &, int)
 Tbl - int.
Tbl Lorene::operator- (int, const Tbl &)
 int - Tbl
Tbl Lorene::operator* (const Tbl &, const Tbl &)
 Tbl * Tbl.
Tbl Lorene::operator* (const Tbl &, double)
 Tbl * double.
Tbl Lorene::operator* (double, const Tbl &)
 double * Tbl
Tbl Lorene::operator* (const Tbl &, int)
 Tbl * int.
Tbl Lorene::operator* (int, const Tbl &)
 int * Tbl
Tbl Lorene::operator/ (const Tbl &, const Tbl &)
 Tbl / Tbl.
Tbl Lorene::operator/ (const Tbl &, double)
 Tbl / double.
Tbl Lorene::operator/ (double, const Tbl &)
 double / Tbl
Tbl Lorene::operator/ (const Tbl &, int)
 Tbl / int.
Tbl Lorene::operator/ (int, const Tbl &)
 int / Tbl
Tbl Lorene::sin (const Tbl &)
 Sine.
Tbl Lorene::cos (const Tbl &)
 Cosine.
Tbl Lorene::tan (const Tbl &)
 Tangent.
Tbl Lorene::asin (const Tbl &)
 Arcsine.
Tbl Lorene::acos (const Tbl &)
 Arccosine.
Tbl Lorene::atan (const Tbl &)
 Arctangent.
Tbl Lorene::exp (const Tbl &)
 Exponential.
Tbl Lorene::Heaviside (const Tbl &)
 Heaviside function.
Tbl Lorene::log (const Tbl &)
 Neperian logarithm.
Tbl Lorene::log10 (const Tbl &)
 Basis 10 logarithm.
Tbl Lorene::sqrt (const Tbl &)
 Square root.
Tbl Lorene::racine_cubique (const Tbl &)
 cube root
Tbl Lorene::pow (const Tbl &, int)
 Power ${\tt Tbl}^{\tt int}$.
Tbl Lorene::pow (const Tbl &, double)
 Power ${\tt Tbl}^{\tt double}$.
Tbl Lorene::abs (const Tbl &)
 Absolute value.
double Lorene::max (const Tbl &)
 Maximum value of the Tbl elements.
double Lorene::min (const Tbl &)
 Minimum value of the Tbl elements.
double Lorene::norme (const Tbl &)
 Sum of the absolute values of all the Tbl elements.
double Lorene::diffrel (const Tbl &a, const Tbl &b)
 Relative difference between two Tbl (norme version).
double Lorene::diffrelmax (const Tbl &a, const Tbl &b)
 Relative difference between two Tbl (max version).

Detailed Description

()


Function Documentation

Tbl Lorene::abs ( const Tbl &  ti  ) 

Absolute value.

Definition at line 444 of file tbl_math.C.

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

Tbl Lorene::acos ( const Tbl &  ti  ) 
Tbl Lorene::asin ( const Tbl &  ti  ) 
Tbl Lorene::atan ( const Tbl &  ti  ) 
Tbl Lorene::cos ( const Tbl &  ti  ) 
double Lorene::diffrel ( const Tbl &  a,
const Tbl &  b 
)

Relative difference between two Tbl (norme version).

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

Definition at line 577 of file tbl_math.C.

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

double Lorene::diffrelmax ( const Tbl &  a,
const Tbl &  b 
)

Relative difference between two Tbl (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 601 of file tbl_math.C.

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

Tbl Lorene::exp ( const Tbl &  ti  ) 
Tbl Lorene::Heaviside ( const Tbl &  ti  ) 

Heaviside function.

Definition at line 296 of file tbl_math.C.

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

Tbl Lorene::log ( const Tbl &  ti  ) 

Neperian logarithm.

Definition at line 329 of file tbl_math.C.

References Lorene::Tbl::dim, Lorene::Tbl::get_etat(), Lorene::Tbl::get_taille(), Lorene::log(), and Lorene::Tbl::t.

Tbl Lorene::log10 ( const Tbl &  ti  ) 

Basis 10 logarithm.

Definition at line 355 of file tbl_math.C.

References Lorene::Tbl::dim, Lorene::Tbl::get_etat(), Lorene::Tbl::get_taille(), Lorene::log10(), and Lorene::Tbl::t.

double Lorene::max ( const Tbl &  ti  ) 

Maximum value of the Tbl elements.

Definition at line 501 of file tbl_math.C.

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

double Lorene::min ( const Tbl &  ti  ) 

Minimum value of the Tbl elements.

Definition at line 527 of file tbl_math.C.

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

double Lorene::norme ( const Tbl &  ti  ) 

Sum of the absolute values of all the Tbl elements.

Definition at line 553 of file tbl_math.C.

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

Tbl Lorene::operator* ( int  n,
const Tbl &  t1 
)

int * Tbl

Definition at line 368 of file tbl_arithm.C.

Tbl Lorene::operator* ( const Tbl &  t1,
int  n 
)

Tbl * int.

Definition at line 361 of file tbl_arithm.C.

Tbl Lorene::operator* ( double  x,
const Tbl &  t1 
)

double * Tbl

Definition at line 354 of file tbl_arithm.C.

Tbl Lorene::operator* ( const Tbl &  t1,
double  x 
)

Tbl * double.

Definition at line 324 of file tbl_arithm.C.

References Lorene::Tbl::get_etat().

Tbl Lorene::operator* ( const Tbl &  t1,
const Tbl &  t2 
)
Tbl Lorene::operator+ ( int  n,
const Tbl &  t1 
)

int + Tbl

Definition at line 184 of file tbl_arithm.C.

Tbl Lorene::operator+ ( const Tbl &  t1,
int  n 
)

Tbl + int.

Definition at line 177 of file tbl_arithm.C.

Tbl Lorene::operator+ ( double  x,
const Tbl &  t1 
)

double + Tbl

Definition at line 170 of file tbl_arithm.C.

Tbl Lorene::operator+ ( const Tbl &  t1,
double  x 
)
Tbl Lorene::operator+ ( const Tbl &  t1,
const Tbl &  t2 
)
Tbl Lorene::operator+ ( const Tbl &  t1  ) 

+ Tbl

Definition at line 80 of file tbl_arithm.C.

References Lorene::Tbl::get_etat().

Tbl Lorene::operator- ( int  n,
const Tbl &  t1 
)

int - Tbl

Definition at line 280 of file tbl_arithm.C.

Tbl Lorene::operator- ( const Tbl &  t1,
int  n 
)

Tbl - int.

Definition at line 252 of file tbl_arithm.C.

Tbl Lorene::operator- ( double  x,
const Tbl &  t1 
)
Tbl Lorene::operator- ( const Tbl &  t1,
double  x 
)
Tbl Lorene::operator- ( const Tbl &  t1,
const Tbl &  t2 
)
Tbl Lorene::operator- ( const Tbl &  t1  ) 
Tbl Lorene::operator/ ( int  n,
const Tbl &  t1 
)

int / Tbl

Definition at line 478 of file tbl_arithm.C.

Tbl Lorene::operator/ ( const Tbl &  t1,
int  n 
)

Tbl / int.

Definition at line 439 of file tbl_arithm.C.

Tbl Lorene::operator/ ( double  x,
const Tbl &  t1 
)

double / Tbl

Definition at line 446 of file tbl_arithm.C.

References Lorene::Tbl::dim, Lorene::Tbl::get_etat(), and Lorene::Tbl::t.

Tbl Lorene::operator/ ( const Tbl &  t1,
double  x 
)

Tbl / double.

Definition at line 413 of file tbl_arithm.C.

References Lorene::Tbl::get_etat().

Tbl Lorene::operator/ ( const Tbl &  t1,
const Tbl &  t2 
)
Tbl Lorene::pow ( const Tbl &  ti,
double  x 
)
Tbl Lorene::pow ( const Tbl &  ti,
int  n 
)
Tbl Lorene::racine_cubique ( const Tbl &  ti  ) 
Tbl Lorene::sin ( const Tbl &  ti  ) 
Tbl Lorene::sqrt ( const Tbl &  ti  ) 
Tbl Lorene::tan ( const Tbl &  ti  ) 

Generated on 7 Dec 2019 for LORENE by  doxygen 1.6.1