v0.8.7
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor1/Tensor1_Expr.hpp>

Public Member Functions

 Tensor1_Expr (A &a)
 
T & operator() (const int N1)
 
operator() (const int N1) const
 
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator= (const Tensor1_Expr< B, U, Dim1, i > &result)
 
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator= (const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > &result)
 
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator+= (const Tensor1_Expr< B, U, Dim1, i > &result)
 
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator+= (const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > &result)
 
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator-= (const Tensor1_Expr< B, U, Dim1, i > &result)
 
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator-= (const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator+= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator-= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator*= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator/= (const B &result)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator+= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator-= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator*= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & operator/= (const U &u)
 

Private Attributes

A & iter
 

Detailed Description

template<class A, class T, int Dim1, char i, int N>
class FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >

Definition at line 118 of file Tensor1_Expr.hpp.

Constructor & Destructor Documentation

◆ Tensor1_Expr()

template<class A , class T , int Dim1, char i, int N>
FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::Tensor1_Expr ( A &  a)

Member Function Documentation

◆ operator()() [1/2]

template<class A , class T , int Dim1, char i, int N>
T& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator() ( const int  N1)

Definition at line 124 of file Tensor1_Expr.hpp.

◆ operator()() [2/2]

template<class A , class T , int Dim1, char i, int N>
T FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator() ( const int  N1) const

Definition at line 125 of file Tensor1_Expr.hpp.

◆ operator*=() [1/2]

template<class A , class T , int Dim1, char i, int N>
template<class B >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator*= ( const B &  result)

◆ operator*=() [2/2]

template<class A , class T , int Dim1, char i, int N>
template<class U >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator*= ( const U &  u)

Definition at line 500 of file Tensor1_Expr_equals.hpp.

501  {
502  T2rhs0_times_equals_generic(iter, u, Number<N>(), Number<Dim1>());
503  return *this;
504  }
void T2rhs0_times_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)

◆ operator+=() [1/4]

template<class A , class T , int Dim1, char i, int N>
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator+= ( const Tensor1_Expr< B, U, Dim1, i > &  result)

Definition at line 347 of file Tensor1_Expr_equals.hpp.

348  {
349  T2rhs0_plus_equals_T1(iter, result, Number<N>(), Number<Dim1>());
350  return *this;
351  }
void T2rhs0_plus_equals_T1(A &iter, const Tensor1_Expr< B, U, Dim1, i > &result, const Number< N > &N1, const Number< Current_Dim > &)

◆ operator+=() [2/4]

template<class A , class T , int Dim1, char i, int N>
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator+= ( const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > &  result)

Definition at line 355 of file Tensor1_Expr_equals.hpp.

357  {
358  return operator+=<Tensor2_number_rhs_0<A, T, N>, T>(result);
359  }

◆ operator+=() [3/4]

template<class A , class T , int Dim1, char i, int N>
template<class B >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator+= ( const B &  result)

◆ operator+=() [4/4]

template<class A , class T , int Dim1, char i, int N>
template<class U >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator+= ( const U &  u)

Definition at line 446 of file Tensor1_Expr_equals.hpp.

447  {
448  T2rhs0_plus_equals_generic(iter, u, Number<N>(), Number<Dim1>());
449  return *this;
450  }
void T2rhs0_plus_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)

◆ operator-=() [1/4]

template<class A , class T , int Dim1, char i, int N>
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator-= ( const Tensor1_Expr< B, U, Dim1, i > &  result)

Definition at line 384 of file Tensor1_Expr_equals.hpp.

385  {
386  T2rhs0_minus_equals_T1(iter, result, Number<N>(), Number<Dim1>());
387  return *this;
388  }
void T2rhs0_minus_equals_T1(A &iter, const Tensor1_Expr< B, U, Dim1, i > &result, const Number< N > &N1, const Number< Current_Dim > &)

◆ operator-=() [2/4]

template<class A , class T , int Dim1, char i, int N>
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator-= ( const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > &  result)

Definition at line 392 of file Tensor1_Expr_equals.hpp.

394  {
395  return operator-=<Tensor2_number_rhs_0<A, T, N>, T>(result);
396  }

◆ operator-=() [3/4]

template<class A , class T , int Dim1, char i, int N>
template<class B >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator-= ( const B &  result)

◆ operator-=() [4/4]

template<class A , class T , int Dim1, char i, int N>
template<class U >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator-= ( const U &  u)

Definition at line 473 of file Tensor1_Expr_equals.hpp.

474  {
475  T2rhs0_minus_equals_generic(iter, u, Number<N>(), Number<Dim1>());
476  return *this;
477  }
void T2rhs0_minus_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)

◆ operator/=() [1/2]

template<class A , class T , int Dim1, char i, int N>
template<class B >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator/= ( const B &  result)

◆ operator/=() [2/2]

template<class A , class T , int Dim1, char i, int N>
template<class U >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator/= ( const U &  u)

Definition at line 527 of file Tensor1_Expr_equals.hpp.

528  {
529  T2rhs0_divide_equals_generic(iter, u, Number<N>(), Number<Dim1>());
530  return *this;
531  }
void T2rhs0_divide_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)

◆ operator=() [1/4]

template<class A , class T , int Dim1, char i, int N>
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator= ( const Tensor1_Expr< B, U, Dim1, i > &  result)

Definition at line 310 of file Tensor1_Expr_equals.hpp.

311  {
312  T2rhs0_equals_T1(iter, result, Number<N>(), Number<Dim1>());
313  return *this;
314  }
void T2rhs0_equals_T1(A &iter, const Tensor1_Expr< B, U, Dim1, i > &result, const Number< N > &N1, const Number< Current_Dim > &)

◆ operator=() [2/4]

template<class A , class T , int Dim1, char i, int N>
const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > & FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator= ( const Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i > &  result)

Definition at line 318 of file Tensor1_Expr_equals.hpp.

320  {
321  return operator=<Tensor2_number_rhs_0<A, T, N>, T>(result);
322  }

◆ operator=() [3/4]

template<class A , class T , int Dim1, char i, int N>
template<class B >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator= ( const B &  result)

◆ operator=() [4/4]

template<class A , class T , int Dim1, char i, int N>
template<class U >
const Tensor1_Expr<Tensor2_number_rhs_0<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::operator= ( const U &  u)

Definition at line 419 of file Tensor1_Expr_equals.hpp.

420  {
421  T2rhs0_equals_generic(iter, u, Number<N>(), Number<Dim1>());
422  return *this;
423  }
void T2rhs0_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)

Member Data Documentation

◆ iter

template<class A , class T , int Dim1, char i, int N>
A& FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::iter
private

Definition at line 120 of file Tensor1_Expr.hpp.


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