75 assert (t.
get_etat() != ETATNONDEF) ;
94 assert (t.
get_etat() != ETATNONDEF) ;
109 assert (t.
get_etat() != ETATNONDEF) ;
124 assert (t.
get_etat() != ETATNONDEF) ;
139 assert (t.
get_etat() != ETATNONDEF) ;
151 cout <<
"pow(Tenseur, double) : ETATZERO^x with x <= 0 !" << endl ;
156 res.
set() =
pow( t(), a ) ;
168 assert (t.
get_etat() != ETATNONDEF) ;
179 cout <<
"pow(Tenseur, int) : ETATZERO^n with n <= 0 !" << endl ;
184 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).
const Map * get_mp() const
Returns pointer on the mapping.
double get_poids() const
Returns the weight.
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).
int get_valence() const
Returns the valence.
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 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.