v0.14.0
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>

Collaboration diagram for FTensor::Tensor1_Expr< Tensor2_number_rhs_0< 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_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

Aiter
 

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

Definition at line 123 of file Tensor1_Expr.hpp.

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

Definition at line 124 of file Tensor1_Expr.hpp.

124 { return iter(N, N1); }

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

Definition at line 125 of file Tensor1_Expr.hpp.

125 { return iter(N, N1); }

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

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

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

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

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

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

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

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

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:
FTensor::T2rhs0_plus_equals_T1
void T2rhs0_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:328
FTensor::T2rhs0_times_equals_generic
void T2rhs0_times_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:482
FTensor::T2rhs0_minus_equals_T1
void T2rhs0_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:365
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Tensor1_Expr< Tensor2_number_rhs_0< A, T, N >, T, Dim1, i >::iter
A & iter
Definition: Tensor1_Expr.hpp:120
N
const int N
Definition: speed_test.cpp:3
FTensor::T2rhs0_plus_equals_generic
void T2rhs0_plus_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:428
FTensor::T2rhs0_equals_T1
void T2rhs0_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:292
FTensor::T2rhs0_minus_equals_generic
void T2rhs0_minus_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:455
FTensor::T2rhs0_divide_equals_generic
void T2rhs0_divide_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:509
FTensor::T2rhs0_equals_generic
void T2rhs0_equals_generic(A &iter, const U &u, const Number< N > &N1, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:401