Tensor arithmetics
[Tensorial fields]

() More...

Functions

Tensor Lorene::operator+ (const Tensor &)
 + Tensor
Tensor Lorene::operator- (const Tensor &)
 - Tensor
Tensor Lorene::operator+ (const Tensor &a, const Tensor &b)
 Tensor + Tensor.
Scalar Lorene::operator+ (const Tensor &a, const Scalar &b)
 Tensor + Scalar. The Tensor must be of valence 0.
Scalar Lorene::operator+ (const Scalar &a, const Tensor &b)
 Scalar + Tensor. The Tensor must be of valence 0.
Tensor Lorene::operator- (const Tensor &a, const Tensor &b)
 Tensor - Tensor.
Scalar Lorene::operator- (const Tensor &a, const Scalar &b)
 Tensor - Scalar. The Tensor must be of valence 0.
Scalar Lorene::operator- (const Scalar &a, const Tensor &b)
 Scalar - Tensor. The Tensor must be of valence 0.
Tensor Lorene::operator* (const Scalar &a, const Tensor &b)
 Scalar * Tensor.
Tensor Lorene::operator* (const Tensor &a, const Scalar &b)
 Tensor * Scalar.
Tensor Lorene::operator* (double, const Tensor &)
 double * Tensor
Tensor Lorene::operator* (const Tensor &, double)
 Tensor * double.
Tensor Lorene::operator* (int, const Tensor &)
 int* Tensor
Tensor Lorene::operator* (const Tensor &, int)
 Tensor * int.
Tensor Lorene::operator/ (const Tensor &, const Scalar &)
 Tensor / Scalar.
Tensor Lorene::operator/ (const Tensor &, double)
 Tensor / double.
Tensor Lorene::operator/ (const Tensor &, int)
 Tensor / int.

Detailed Description

()


Function Documentation

Tensor Lorene::operator* ( const Tensor &  t,
int  m 
)

Tensor * int.

Definition at line 240 of file tensor_arithm.C.

Tensor Lorene::operator* ( int  m,
const Tensor &  t 
)

int* Tensor

Definition at line 235 of file tensor_arithm.C.

Tensor Lorene::operator* ( const Tensor &  t,
double  x 
)

Tensor * double.

Definition at line 231 of file tensor_arithm.C.

Tensor Lorene::operator* ( double  x,
const Tensor &  t 
)
Tensor Lorene::operator* ( const Tensor &  a,
const Scalar &  b 
)

Tensor * Scalar.

Definition at line 209 of file tensor_arithm.C.

Tensor Lorene::operator* ( const Scalar &  a,
const Tensor &  b 
)
Scalar Lorene::operator+ ( const Scalar &  a,
const Tensor &  b 
)

Scalar + Tensor. The Tensor must be of valence 0.

Definition at line 132 of file tensor_arithm.C.

References Lorene::Tensor::cmp, Lorene::Tensor::get_mp(), and Lorene::Tensor::get_valence().

Scalar Lorene::operator+ ( const Tensor &  a,
const Scalar &  b 
)

Tensor + Scalar. The Tensor must be of valence 0.

Definition at line 123 of file tensor_arithm.C.

References Lorene::Tensor::cmp, Lorene::Tensor::get_mp(), and Lorene::Tensor::get_valence().

Tensor Lorene::operator+ ( const Tensor &  a,
const Tensor &  b 
)
Tensor Lorene::operator+ ( const Tensor &  t  ) 

+ Tensor

Definition at line 77 of file tensor_arithm.C.

Scalar Lorene::operator- ( const Scalar &  a,
const Tensor &  b 
)

Scalar - Tensor. The Tensor must be of valence 0.

Definition at line 176 of file tensor_arithm.C.

References Lorene::Tensor::cmp, Lorene::Tensor::get_mp(), and Lorene::Tensor::get_valence().

Scalar Lorene::operator- ( const Tensor &  a,
const Scalar &  b 
)

Tensor - Scalar. The Tensor must be of valence 0.

Definition at line 167 of file tensor_arithm.C.

References Lorene::Tensor::cmp, Lorene::Tensor::get_mp(), and Lorene::Tensor::get_valence().

Tensor Lorene::operator- ( const Tensor &  a,
const Tensor &  b 
)
Tensor Lorene::operator- ( const Tensor &  t  ) 
Tensor Lorene::operator/ ( const Tensor &  t,
int  m 
)

Tensor / int.

Definition at line 297 of file tensor_arithm.C.

Tensor Lorene::operator/ ( const Tensor &  t,
double  x 
)
Tensor Lorene::operator/ ( const Tensor &  t1,
const Scalar &  s2 
)

Generated on 7 Dec 2019 for LORENE by  doxygen 1.6.1