Cmp Mathematics
[Old tensorial fields ( Deprecated)]

() More...

Functions

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

Detailed Description

()


Function Documentation

Cmp Lorene::abs ( const Cmp &  ci  ) 

Absolute value.

Definition at line 413 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Cmp::set_etat_qcq(), and Lorene::Cmp::va.

Cmp Lorene::acos ( const Cmp &  ci  ) 
Cmp Lorene::asin ( const Cmp &  ci  ) 
Cmp Lorene::atan ( const Cmp &  ci  ) 

Arctangent.

Definition at line 198 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Cmp::set_etat_qcq(), and Lorene::Cmp::va.

Cmp Lorene::cos ( const Cmp &  ci  ) 
Tbl Lorene::diffrel ( const Cmp &  a,
const Cmp &  b 
)

Relative difference between two Cmp (norme version).

Returns:
1-D Tbl of size the number of domains, the elements of which are norme[a(l)-b(l)]/norme[b(l)] if b(l)!=0 and norme[a(l)-b(l)] if b(l)=0 , where a(l) and b(l) denote symbolically the values of a and b in domain no. l .

Definition at line 507 of file cmp_math.C.

References Lorene::Tbl::get_etat(), Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::norme(), Lorene::Tbl::set(), and Lorene::Tbl::set_etat_qcq().

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

Relative difference between two Cmp (max version).

Returns:
1-D Tbl of size the number of domains, the elements of which are max[abs(a(l)-b(l))]/max[abs(b(l))] if b(l)!=0 and max[abs(a(l)-b(l))] if b(l)=0 , where a(l) and b(l) denote symbolically the values of a and b in domain no. l .

Definition at line 542 of file cmp_math.C.

References Lorene::abs(), Lorene::Tbl::get_etat(), Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::max(), Lorene::Tbl::set(), and Lorene::Tbl::set_etat_qcq().

Cmp Lorene::exp ( const Cmp &  ci  ) 

Exponential.

Definition at line 273 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Cmp::set_etat_qcq(), and Lorene::Cmp::va.

Cmp Lorene::log ( const Cmp &  ci  ) 

Neperian logarithm.

Definition at line 299 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), and Lorene::Cmp::va.

Cmp Lorene::log10 ( const Cmp &  ci  ) 

Basis 10 logarithm.

Definition at line 325 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), and Lorene::Cmp::va.

Tbl Lorene::max ( const Cmp &  ci  ) 

Maximum values of a Cmp in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the maximum values in each domain.

Definition at line 438 of file cmp_math.C.

References Lorene::Tbl::annule_hard(), Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), and Lorene::Cmp::va.

Tbl Lorene::min ( const Cmp &  ci  ) 

Minimum values of a Cmp in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the minimum values in each domain.

Definition at line 461 of file cmp_math.C.

References Lorene::Tbl::annule_hard(), Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), and Lorene::Cmp::va.

Tbl Lorene::norme ( const Cmp &  ci  ) 

Sums of the absolute values of all the values of the Cmp in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the sums of the absolute values in each domain.

Definition at line 484 of file cmp_math.C.

References Lorene::Tbl::annule_hard(), Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), and Lorene::Cmp::va.

Cmp Lorene::operator% ( const Cmp &  c1,
const Cmp &  c2 
)
Cmp Lorene::operator* ( int  m,
const Cmp &  t1 
)

int * Cmp

Definition at line 442 of file cmp_arithm.C.

Cmp Lorene::operator* ( const Cmp &  t1,
int  m 
)

Cmp * int.

Definition at line 435 of file cmp_arithm.C.

Cmp Lorene::operator* ( double  a,
const Cmp &  c1 
)
Cmp Lorene::operator* ( const Cmp &  t1,
double  x 
)

Cmp * double.

Definition at line 428 of file cmp_arithm.C.

Cmp Lorene::operator* ( const Cmp &  c1,
const Cmp &  c2 
)
Cmp Lorene::operator+ ( int  m,
const Cmp &  t1 
)

int + Cmp

Definition at line 221 of file cmp_arithm.C.

Cmp Lorene::operator+ ( const Cmp &  t1,
int  m 
)

Cmp + int.

Definition at line 214 of file cmp_arithm.C.

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

double + Cmp

Definition at line 207 of file cmp_arithm.C.

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

Cmp + double.

Definition at line 178 of file cmp_arithm.C.

References Lorene::Cmp::check_dzpuis(), and Lorene::Cmp::get_etat().

Cmp Lorene::operator+ ( const Cmp &  c1,
const Cmp &  c2 
)
Cmp Lorene::operator+ ( const Cmp &  ci  ) 

+ Cmp

Definition at line 107 of file cmp_arithm.C.

Cmp Lorene::operator- ( int  m,
const Cmp &  t1 
)

int - Cmp

Definition at line 323 of file cmp_arithm.C.

Cmp Lorene::operator- ( const Cmp &  t1,
int  m 
)

Cmp - int.

Definition at line 316 of file cmp_arithm.C.

Cmp Lorene::operator- ( double  x,
const Cmp &  t1 
)

double - Cmp

Definition at line 309 of file cmp_arithm.C.

Cmp Lorene::operator- ( const Cmp &  t1,
double  x 
)

Cmp - double.

Definition at line 280 of file cmp_arithm.C.

References Lorene::Cmp::check_dzpuis(), and Lorene::Cmp::get_etat().

Cmp Lorene::operator- ( const Cmp &  c1,
const Cmp &  c2 
)
Cmp Lorene::operator- ( const Cmp &  ci  ) 
Cmp Lorene::operator/ ( int  m,
const Cmp &  c2 
)

int / Cmp

Definition at line 564 of file cmp_arithm.C.

Cmp Lorene::operator/ ( const Cmp &  c1,
int  m 
)

Cmp / int.

Definition at line 555 of file cmp_arithm.C.

Cmp Lorene::operator/ ( double  x,
const Cmp &  c2 
)
Cmp Lorene::operator/ ( const Cmp &  c1,
double  x 
)
Cmp Lorene::operator/ ( const Cmp &  c1,
const Cmp &  c2 
)
Cmp Lorene::pow ( const Cmp &  ci,
double  x 
)

Power ${\tt Cmp} ^{\tt double}$.

Definition at line 382 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::pow(), and Lorene::Cmp::va.

Cmp Lorene::pow ( const Cmp &  ci,
int  n 
)

Power ${\tt Cmp} ^{\tt int}$.

Definition at line 351 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), and Lorene::Cmp::va.

Cmp Lorene::racine_cubique ( const Cmp &  ci  ) 
Cmp Lorene::sin ( const Cmp &  ci  ) 
Cmp Lorene::sqrt ( const Cmp &  ci  ) 

Square root.

Definition at line 223 of file cmp_math.C.

References Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Cmp::set_etat_qcq(), and Lorene::Cmp::va.

Cmp Lorene::tan ( const Cmp &  ci  ) 

Generated on 7 Dec 2019 for LORENE by  doxygen 1.6.1