75 assert (t.
get_etat() != ETATNONDEF) ;
83 res.set() =
exp( t() ) ;
94 assert (t.
get_etat() != ETATNONDEF) ;
99 res.set() =
log(t()) ;
109 assert (t.
get_etat() != ETATNONDEF) ;
114 res.set() =
sqrt(t()) ;
124 assert (t.
get_etat() != ETATNONDEF) ;
129 res.set() =
abs(t()) ;
139 assert (t.
get_etat() != ETATNONDEF) ;
146 res.set_etat_zero() ;
151 cout <<
"pow(Tenseur, double) : ETATZERO^x with x <= 0 !" << endl ;
156 res.set() =
pow( t(), a ) ;
168 assert (t.
get_etat() != ETATNONDEF) ;
175 res.set_etat_zero() ;
179 cout <<
"pow(Tenseur, int) : ETATZERO^n with n <= 0 !" << endl ;
184 res.set() =
pow( t(), n ) ;
double get_poids() const
Returns the weight.
Cmp log(const Cmp &)
Neperian logarithm.
Cmp exp(const Cmp &)
Exponential.
Cmp sqrt(const Cmp &)
Square root.
int get_valence() const
Returns the valence.
const Map * get_mp() const
Returns pointer on the mapping.
const Metrique * get_metric() const
Returns a pointer on the metric defining the conformal factor for tensor densities.
int get_etat() const
Returns the logical state.
Cmp pow(const Cmp &, int)
Power .
Cmp abs(const Cmp &)
Absolute value.
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Tensor handling *** DEPRECATED : use class Tensor instead ***.