v0.14.0
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)
 
T & operator() (const int N1, const int N2)
 
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 46 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)
inline

Definition at line 51 of file Tensor2_symmetric_Expr.hpp.

51 : iter(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)

Definition at line 254 of file Tensor2_symmetric_Expr_equals.hpp.

255  {
256  T2s_and_equals_T2s(iter, result, Number<Dim>(), Number<Dim>());
257  return *this;
258  }

◆ 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 
)
inline

Definition at line 52 of file Tensor2_symmetric_Expr.hpp.

52 { return iter(N1, N2); }

◆ 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
inline

Definition at line 53 of file Tensor2_symmetric_Expr.hpp.

53 { return iter(N1, N2); }

◆ 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  }

◆ 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  }

◆ 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  }

◆ 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  }

◆ 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  }

◆ 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  }

◆ 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  }

◆ 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  }

◆ 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)
inline

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  }

◆ operator<<=() [2/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)
inline

◆ operator<<=() [3/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)
inline

Definition at line 113 of file Tensor2_symmetric_Expr_equals.hpp.

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

◆ 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)
inline

◆ 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  }

◆ operator=() [2/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  }

◆ operator=() [3/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=() [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  }

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 48 of file Tensor2_symmetric_Expr.hpp.


The documentation for this class was generated from the following files:
FTensor::T2s_equals_generic
void T2s_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:297
FTensor::T2s_plus_equals_T2s
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 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:124
FTensor::T2s_plus_equals_generic
void T2s_plus_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:335
FTensor::T2s_times_equals_generic
void T2s_times_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:411
FTensor::T2s_equals_T2s
void T2s_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:14
FTensor::T2s_minus_equals_T2s
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 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:171
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::T2s_divide_equals_generic
void T2s_divide_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:449
FTensor::Tensor2_symmetric_Expr< Tensor2_symmetric< A, Tensor_Dim >, T, Dim, i, j >::iter
Tensor2_symmetric< A, Tensor_Dim > & iter
Definition: Tensor2_symmetric_Expr.hpp:48
FTensor::T2s_minus_equals_generic
void T2s_minus_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:373
FTensor::T2s_and_equals_T2s
void T2s_and_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:218
FTensor::T2s_equals_adolc_left_T2s
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 > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:67