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

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

Collaboration diagram for FTensor::Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i >:
[legend]

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_1< A, T, N >, T, Dim1, i > & operator= (const Tensor1_Expr< B, U, Dim1, i > &result)
 
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator= (const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > &result)
 
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator+= (const Tensor1_Expr< B, U, Dim1, i > &result)
 
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator+= (const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > &result)
 
template<class B , class U >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator-= (const Tensor1_Expr< B, U, Dim1, i > &result)
 
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator-= (const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator+= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator-= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator*= (const B &result)
 
template<class B >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator/= (const B &result)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator+= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator-= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator*= (const U &u)
 
template<class U >
const Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i > & operator/= (const U &u)
 

Private Attributes

Aiter
 

Detailed Description

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

Definition at line 177 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_1< A, T, N >, T, Dim1, i >::Tensor1_Expr ( A a)
inline

Definition at line 182 of file Tensor1_Expr.hpp.

182 : iter(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_1< A, T, N >, T, Dim1, i >::operator() ( const int  N1)
inline

Definition at line 183 of file Tensor1_Expr.hpp.

183 { return iter(N1, N); }

◆ operator()() [2/2]

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

Definition at line 184 of file Tensor1_Expr.hpp.

184 { return iter(N1, N); }

◆ operator*=() [1/2]

template<class A , class T , int Dim1, char i, int N>
template<class B >
const Tensor1_Expr<Tensor2_number_rhs_1<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_1< 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_1<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i >::operator*= ( const U &  u)

Definition at line 746 of file Tensor1_Expr_equals.hpp.

747  {
748  T2rhs1_times_equals_generic(iter, u, Number<N>(), Number<Dim1>());
749  return *this;
750  }

◆ operator+=() [1/4]

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

◆ operator+=() [2/4]

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

Definition at line 593 of file Tensor1_Expr_equals.hpp.

594  {
595  T2rhs1_plus_equals_T1(iter, result, Number<N>(), Number<Dim1>());
596  return *this;
597  }

◆ operator+=() [3/4]

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

Definition at line 601 of file Tensor1_Expr_equals.hpp.

603  {
604  return operator+=<Tensor2_number_rhs_1<A, T, N>, T>(result);
605  }

◆ operator+=() [4/4]

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

Definition at line 692 of file Tensor1_Expr_equals.hpp.

693  {
694  T2rhs1_plus_equals_generic(iter, u, Number<N>(), Number<Dim1>());
695  return *this;
696  }

◆ operator-=() [1/4]

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

◆ operator-=() [2/4]

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

Definition at line 630 of file Tensor1_Expr_equals.hpp.

631  {
632  T2rhs1_minus_equals_T1(iter, result, Number<N>(), Number<Dim1>());
633  return *this;
634  }

◆ operator-=() [3/4]

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

Definition at line 638 of file Tensor1_Expr_equals.hpp.

640  {
641  return operator-=<Tensor2_number_rhs_1<A, T, N>, T>(result);
642  }

◆ operator-=() [4/4]

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

Definition at line 719 of file Tensor1_Expr_equals.hpp.

720  {
721  T2rhs1_minus_equals_generic(iter, u, Number<N>(), Number<Dim1>());
722  return *this;
723  }

◆ operator/=() [1/2]

template<class A , class T , int Dim1, char i, int N>
template<class B >
const Tensor1_Expr<Tensor2_number_rhs_1<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_1< 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_1<A, T, N>, T, Dim1, i>& FTensor::Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i >::operator/= ( const U &  u)

Definition at line 773 of file Tensor1_Expr_equals.hpp.

774  {
775  T2rhs1_divide_equals_generic(iter, u, Number<N>(), Number<Dim1>());
776  return *this;
777  }

◆ operator=() [1/4]

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

◆ operator=() [2/4]

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

Definition at line 556 of file Tensor1_Expr_equals.hpp.

557  {
558  T2rhs1_equals_T1(iter, result, Number<N>(), Number<Dim1>());
559  return *this;
560  }

◆ operator=() [3/4]

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

Definition at line 564 of file Tensor1_Expr_equals.hpp.

566  {
567  return operator=<Tensor2_number_rhs_1<A, T, N>, T>(result);
568  }

◆ operator=() [4/4]

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

Definition at line 665 of file Tensor1_Expr_equals.hpp.

666  {
667  T2rhs1_equals_generic(iter, u, Number<N>(), Number<Dim1>());
668  return *this;
669  }

Member Data Documentation

◆ iter

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

Definition at line 179 of file Tensor1_Expr.hpp.


The documentation for this class was generated from the following files:
FTensor::T2rhs1_times_equals_generic
void T2rhs1_times_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:728
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::T2rhs1_plus_equals_T1
void T2rhs1_plus_equals_T1(A &iter, const Tensor1_Expr< B, U, Dim1, i > &result, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:574
FTensor::T2rhs1_equals_generic
void T2rhs1_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:647
FTensor::T2rhs1_equals_T1
void T2rhs1_equals_T1(A &iter, const Tensor1_Expr< B, U, Dim1, i > &result, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:538
N
const int N
Definition: speed_test.cpp:3
FTensor::T2rhs1_minus_equals_generic
void T2rhs1_minus_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:701
FTensor::Tensor1_Expr< Tensor2_number_rhs_1< A, T, N >, T, Dim1, i >::iter
A & iter
Definition: Tensor1_Expr.hpp:179
FTensor::T2rhs1_plus_equals_generic
void T2rhs1_plus_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:674
FTensor::T2rhs1_divide_equals_generic
void T2rhs1_divide_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:755
FTensor::T2rhs1_minus_equals_T1
void T2rhs1_minus_equals_T1(A &iter, const Tensor1_Expr< B, U, Dim1, i > &result, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:611