33 char tenseur_math_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tenseur/tenseur_math.C,v 1.4 2014/10/13 08:53:42 j_novak Exp $" ;
72 assert (t.
get_etat() != ETATNONDEF) ;
91 assert (t.
get_etat() != ETATNONDEF) ;
106 assert (t.
get_etat() != ETATNONDEF) ;
121 assert (t.
get_etat() != ETATNONDEF) ;
136 assert (t.
get_etat() != ETATNONDEF) ;
148 cout <<
"pow(Tenseur, double) : ETATZERO^x with x <= 0 !" << endl ;
153 res.
set() =
pow( t(), a ) ;
165 assert (t.
get_etat() != ETATNONDEF) ;
176 cout <<
"pow(Tenseur, int) : ETATZERO^n with n <= 0 !" << endl ;
181 res.
set() =
pow( t(), n ) ;
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
double get_poids() const
Returns the weight.
const Map * get_mp() const
Returns pointer on the mapping.
void set_std_base()
Set the standard spectal basis of decomposition for each component.
void set_etat_zero()
Sets the logical state to ETATZERO (zero state).
const Metrique * get_metric() const
Returns a pointer on the metric defining the conformal factor for tensor densities.
int get_valence() const
Returns the valence.
int get_etat() const
Returns the logical state.
Cmp sqrt(const Cmp &)
Square root.
Cmp exp(const Cmp &)
Exponential.
Cmp pow(const Cmp &, int)
Power .
Cmp abs(const Cmp &)
Absolute value.
Cmp log(const Cmp &)
Neperian logarithm.