LORENE
Mtbl_cf Mathematics

() More...

Functions

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

Detailed Description

()

Function Documentation

◆ abs()

Mtbl_cf Lorene::abs ( const Mtbl_cf ti)

Absolute value.

Definition at line 73 of file mtbl_cf_math.C.

References Lorene::Mtbl_cf::get_etat().

◆ diffrel()

Tbl Lorene::diffrel ( const Mtbl_cf a,
const Mtbl_cf b 
)

Relative difference between two Mtbl_cf (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 194 of file mtbl_cf_math.C.

References Lorene::Mtbl_cf::get_etat().

◆ diffrelmax()

Tbl Lorene::diffrelmax ( const Mtbl_cf a,
const Mtbl_cf b 
)

Relative difference between two Mtbl_cf (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 229 of file mtbl_cf_math.C.

References Lorene::Mtbl_cf::get_etat().

◆ max()

Tbl Lorene::max ( const Mtbl_cf mti)

Maximum values of the Mtbl_cf elements 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 107 of file mtbl_cf_math.C.

References Lorene::Mtbl_cf::get_etat().

◆ min()

Tbl Lorene::min ( const Mtbl_cf mti)

Minimum values of the Mtbl_cf elements 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 136 of file mtbl_cf_math.C.

References Lorene::Mtbl_cf::get_etat().

◆ norme()

Tbl Lorene::norme ( const Mtbl_cf mti)

Sums of the absolute values of all the Mtbl_cf elements 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 165 of file mtbl_cf_math.C.

References Lorene::Mtbl_cf::get_etat().

◆ operator*() [1/4]

Mtbl_cf Lorene::operator* ( const Mtbl_cf t1,
double  x 
)

Mtbl_cf * double.

Definition at line 207 of file mtbl_cf_arithm.C.

References Lorene::Mtbl_cf::get_etat().

◆ operator*() [2/4]

Mtbl_cf Lorene::operator* ( double  x,
const Mtbl_cf t1 
)

double * Mtbl_cf

Definition at line 238 of file mtbl_cf_arithm.C.

◆ operator*() [3/4]

Mtbl_cf Lorene::operator* ( const Mtbl_cf t1,
int  m 
)

Mtbl_cf * int.

Definition at line 245 of file mtbl_cf_arithm.C.

◆ operator*() [4/4]

Mtbl_cf Lorene::operator* ( int  m,
const Mtbl_cf t1 
)

int * Mtbl_cf

Definition at line 252 of file mtbl_cf_arithm.C.

◆ operator+() [1/2]

Mtbl_cf Lorene::operator+ ( const Mtbl_cf t1)

Definition at line 93 of file mtbl_cf_arithm.C.

References Lorene::Mtbl_cf::get_etat().

◆ operator+() [2/2]

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

Mtbl_cf + Mtbl_cf.

Definition at line 131 of file mtbl_cf_arithm.C.

References Lorene::Mtbl_cf::get_etat().

◆ operator-() [1/2]

Mtbl_cf Lorene::operator- ( const Mtbl_cf t1)

- Mtbl_cf

Definition at line 104 of file mtbl_cf_arithm.C.

References Lorene::Mtbl_cf::get_etat().

◆ operator-() [2/2]

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

Mtbl_cf - Mtbl_cf.

Definition at line 169 of file mtbl_cf_arithm.C.

References Lorene::Mtbl_cf::get_etat().

◆ operator/() [1/2]

Mtbl_cf Lorene::operator/ ( const Mtbl_cf t1,
double  x 
)

Mtbl_cf / double.

Definition at line 265 of file mtbl_cf_arithm.C.

References Lorene::Mtbl_cf::get_etat().

◆ operator/() [2/2]

Mtbl_cf Lorene::operator/ ( const Mtbl_cf t1,
int  n 
)

Mtbl_cf / int.

Definition at line 294 of file mtbl_cf_arithm.C.