v0.8.15
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor2_symmetric/Tensor2_symmetric_Expr.hpp>

Collaboration diagram for FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >:
[legend]

Public Member Functions

 Tensor2_symmetric_Expr (Tensor2_symmetric< A, Tensor_Dim > &a)
 
Toperator() (const int N1, const int N2)
 
T operator() (const int N1, const int N2) const
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator= (const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result)
 
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator= (const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > &result)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator+= (const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator-= (const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator &= (const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator= (const Tensor2_symmetric_Expr< B, U, Dim, j, i > &result)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator+= (const Tensor2_symmetric_Expr< B, U, Dim, j, i > &result)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator-= (const Tensor2_symmetric_Expr< B, U, Dim, j, i > &result)
 
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator= (const U &d)
 
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator+= (const U &d)
 
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator-= (const U &d)
 
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator*= (const U &d)
 
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator/= (const U &d)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator<<= (const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result)
 
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator<<= (const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > &result)
 
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator<<= (const Tensor2_symmetric_Expr< B, U, Dim, j, i > &result)
 
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & operator<<= (const U &d)
 

Private Attributes

Tensor2_symmetric< A, Tensor_Dim > & iter
 

Detailed Description

template<class A, class T, int Tensor_Dim, int Dim, char i, char j>
class FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >

Definition at line 45 of file Tensor2_symmetric_Expr.hpp.

Constructor & Destructor Documentation

◆ Tensor2_symmetric_Expr()

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::Tensor2_symmetric_Expr ( Tensor2_symmetric< A, Tensor_Dim > &  a)

Member Function Documentation

◆ operator &=()

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr<Tensor2_symmetric<A, Tensor_Dim>, T, Dim, i, j>& FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator&= ( const Tensor2_symmetric_Expr< B, U, Dim, i, j > &  result)

◆ operator()() [1/2]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
T& FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator() ( const int  N1,
const int  N2 
)

Definition at line 51 of file Tensor2_symmetric_Expr.hpp.

◆ operator()() [2/2]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
T FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator() ( const int  N1,
const int  N2 
) const

Definition at line 52 of file Tensor2_symmetric_Expr.hpp.

◆ operator*=()

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator*= ( const U &  d)

Definition at line 439 of file Tensor2_symmetric_Expr_equals.hpp.

440  {
441  T2s_times_equals_generic(iter, u, Number<Dim>(), Number<Dim>());
442  return *this;
443  }
void T2s_times_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator+=() [1/3]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator+= ( const Tensor2_symmetric_Expr< B, U, Dim, i, j > &  result)

Definition at line 160 of file Tensor2_symmetric_Expr_equals.hpp.

161  {
162  T2s_plus_equals_T2s(iter, result, Number<Dim>(), Number<Dim>());
163  return *this;
164  }
void T2s_plus_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator+=() [2/3]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator+= ( const Tensor2_symmetric_Expr< B, U, Dim, j, i > &  result)

Definition at line 276 of file Tensor2_symmetric_Expr_equals.hpp.

277  {
278  T2s_plus_equals_T2s(iter, result, Number<Dim>(), Number<Dim>());
279  return *this;
280  }
void T2s_plus_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator+=() [3/3]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator+= ( const U &  d)

Definition at line 363 of file Tensor2_symmetric_Expr_equals.hpp.

364  {
365  T2s_plus_equals_generic(iter, u, Number<Dim>(), Number<Dim>());
366  return *this;
367  }
void T2s_plus_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator-=() [1/3]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator-= ( const Tensor2_symmetric_Expr< B, U, Dim, i, j > &  result)

Definition at line 207 of file Tensor2_symmetric_Expr_equals.hpp.

208  {
209  T2s_minus_equals_T2s(iter, result, Number<Dim>(), Number<Dim>());
210  return *this;
211  }
void T2s_minus_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator-=() [2/3]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator-= ( const Tensor2_symmetric_Expr< B, U, Dim, j, i > &  result)

Definition at line 286 of file Tensor2_symmetric_Expr_equals.hpp.

287  {
288  T2s_minus_equals_T2s(iter, result, Number<Dim>(), Number<Dim>());
289  return *this;
290  }
void T2s_minus_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator-=() [3/3]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator-= ( const U &  d)

Definition at line 401 of file Tensor2_symmetric_Expr_equals.hpp.

402  {
403  T2s_minus_equals_generic(iter, u, Number<Dim>(), Number<Dim>());
404  return *this;
405  }
void T2s_minus_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator/=()

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator/= ( const U &  d)

Definition at line 477 of file Tensor2_symmetric_Expr_equals.hpp.

478  {
479  T2s_divide_equals_generic(iter, u, Number<Dim>(), Number<Dim>());
480  return *this;
481  }
void T2s_divide_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator<<=() [1/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator<<= ( const Tensor2_symmetric_Expr< B, U, Dim, i, j > &  result)

Definition at line 101 of file Tensor2_symmetric_Expr_equals.hpp.

102  {
103  T2s_equals_adolc_left_T2s(iter, result, Number<Dim>(), Number<Dim>());
104  return *this;
105  }
void T2s_equals_adolc_left_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator<<=() [2/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator<<= ( const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > &  result)

Definition at line 113 of file Tensor2_symmetric_Expr_equals.hpp.

115  {
116  return operator<<=<Tensor2_symmetric<A, Tensor_Dim>, T>(result);
117  }

◆ operator<<=() [3/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr<Tensor2_symmetric<A, Tensor_Dim>, T, Dim, i, j>& FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator<<= ( const Tensor2_symmetric_Expr< B, U, Dim, j, i > &  result)

◆ operator<<=() [4/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class U >
const Tensor2_symmetric_Expr<Tensor2_symmetric<A, Tensor_Dim>, T, Dim, i, j>& FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator<<= ( const U &  d)

◆ operator=() [1/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator= ( const Tensor2_symmetric_Expr< B, U, Dim, i, j > &  result)

Definition at line 47 of file Tensor2_symmetric_Expr_equals.hpp.

48  {
49  T2s_equals_T2s(iter, result, Number<Dim>(), Number<Dim>());
50  return *this;
51  }
void T2s_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator=() [2/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator= ( const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > &  result)

Definition at line 58 of file Tensor2_symmetric_Expr_equals.hpp.

60  {
61  return operator=<Tensor2_symmetric<A, Tensor_Dim>, T>(result);
62  }

◆ operator=() [3/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class B , class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator= ( const Tensor2_symmetric_Expr< B, U, Dim, j, i > &  result)

Definition at line 266 of file Tensor2_symmetric_Expr_equals.hpp.

267  {
268  T2s_equals_T2s(iter, result, Number<Dim>(), Number<Dim>());
269  return *this;
270  }
void T2s_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

◆ operator=() [4/4]

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
template<class U >
const Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::operator= ( const U &  d)

Definition at line 325 of file Tensor2_symmetric_Expr_equals.hpp.

326  {
327  T2s_equals_generic(iter, u, Number<Dim>(), Number<Dim>());
328  return *this;
329  }
void T2s_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)

Member Data Documentation

◆ iter

template<class A , class T , int Tensor_Dim, int Dim, char i, char j>
Tensor2_symmetric<A, Tensor_Dim>& FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::iter
private

Definition at line 47 of file Tensor2_symmetric_Expr.hpp.


The documentation for this class was generated from the following files: