v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i > Class Template Reference

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

Collaboration diagram for FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >:
[legend]

Public Member Functions

 Tensor1_Expr (A &a)
 
T & operator() (const int N)
 
operator() (const int N) const
 
template<class B , class U >
const Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i > & operator= (const Tensor1_Expr< B, U, Dim, i > &result)
 
const Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i > & operator= (const Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i > &result)
 

Private Attributes

Aiter
 

Detailed Description

template<class A, class T, int Dim, char i, int N1, int N2>
class FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >

Definition at line 236 of file Tensor1_Expr.hpp.

Constructor & Destructor Documentation

◆ Tensor1_Expr()

template<class A , class T , int Dim, char i, int N1, int N2>
FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >::Tensor1_Expr ( A a)
inline

Definition at line 241 of file Tensor1_Expr.hpp.

241 : iter(a) {}

Member Function Documentation

◆ operator()() [1/2]

template<class A , class T , int Dim, char i, int N1, int N2>
T& FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >::operator() ( const int  N)
inline

Definition at line 242 of file Tensor1_Expr.hpp.

242 { return iter(N, N1, N2); }

◆ operator()() [2/2]

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

Definition at line 243 of file Tensor1_Expr.hpp.

243 { return iter(N, N1, N2); }

◆ operator=() [1/2]

template<class A , class T , int Dim, char i, int N1, int N2>
template<class B , class U >
const Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i > & FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >::operator= ( const Tensor1_Expr< B, U, Dim, i > &  result)

Definition at line 803 of file Tensor1_Expr_equals.hpp.

804  {
805  T3dgrhs12_equals_T1(iter, result, Number<N1>(), Number<N2>(),
806  Number<Dim>());
807  return *this;
808  }

◆ operator=() [2/2]

template<class A , class T , int Dim, char i, int N1, int N2>
const Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i > & FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >::operator= ( const Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i > &  result)

Definition at line 812 of file Tensor1_Expr_equals.hpp.

814  {
815  return operator=<Dg_number_rhs_12<A, T, N1, N2>, T>(result);
816  }

Member Data Documentation

◆ iter

template<class A , class T , int Dim, char i, int N1, int N2>
A& FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >::iter
private

Definition at line 238 of file Tensor1_Expr.hpp.


The documentation for this class was generated from the following files:
FTensor::Tensor1_Expr< Dg_number_rhs_12< A, T, N1, N2 >, T, Dim, i >::iter
A & iter
Definition: Tensor1_Expr.hpp:238
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::T3dgrhs12_equals_T1
void T3dgrhs12_equals_T1(A &iter, const Tensor1_Expr< B, U, Dim, i > &result, const Number< N1 > &NN1, const Number< N2 > &NN2, const Number< Current_Dim > &)
Definition: Tensor1_Expr_equals.hpp:783
N
const int N
Definition: speed_test.cpp:3