v0.8.13
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor2_symmetric/Tensor2_symmetric_times_Tensor1.hpp>

Collaboration diagram for FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >:
[legend]

Public Member Functions

 Tensor2_symmetric_times_Tensor1_0 (const Tensor2_symmetric_Expr< A, T, Dim, j, i > &a, const Tensor1_Expr< B, U, Dim, j > &b)
 
promote< T, U >::V operator() (const int N1) const
 

Private Member Functions

template<int Current_Dim>
promote< T, U >::V eval (const int N1, const Number< Current_Dim > &) const
 
promote< T, U >::V eval (const int N1, const Number< 1 > &) const
 

Private Attributes

Tensor2_symmetric_Expr< A, T, Dim, j, i > iterA
 
Tensor1_Expr< B, U, Dim, j > iterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim, char i, char j>
class FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >

Definition at line 56 of file Tensor2_symmetric_times_Tensor1.hpp.

Constructor & Destructor Documentation

◆ Tensor2_symmetric_times_Tensor1_0()

template<class A , class B , class T , class U , int Dim, char i, char j>
FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >::Tensor2_symmetric_times_Tensor1_0 ( const Tensor2_symmetric_Expr< A, T, Dim, j, i > &  a,
const Tensor1_Expr< B, U, Dim, j > &  b 
)

Definition at line 74 of file Tensor2_symmetric_times_Tensor1.hpp.

77  : iterA(a), iterB(b)
78  {}
Tensor2_symmetric_Expr< A, T, Dim, j, i > iterA

Member Function Documentation

◆ eval() [1/2]

template<class A , class B , class T , class U , int Dim, char i, char j>
template<int Current_Dim>
promote<T, U>::V FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >::eval ( const int  N1,
const Number< Current_Dim > &   
) const
private

Definition at line 63 of file Tensor2_symmetric_times_Tensor1.hpp.

64  {
65  return iterA(Current_Dim - 1, N1) * iterB(Current_Dim - 1)
66  + eval(N1, Number<Current_Dim - 1>());
67  }
Tensor2_symmetric_Expr< A, T, Dim, j, i > iterA
promote< T, U >::V eval(const int N1, const Number< Current_Dim > &) const

◆ eval() [2/2]

template<class A , class B , class T , class U , int Dim, char i, char j>
promote<T, U>::V FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >::eval ( const int  N1,
const Number< 1 > &   
) const
private

Definition at line 68 of file Tensor2_symmetric_times_Tensor1.hpp.

69  {
70  return iterA(0, N1) * iterB(0);
71  }
Tensor2_symmetric_Expr< A, T, Dim, j, i > iterA

◆ operator()()

template<class A , class B , class T , class U , int Dim, char i, char j>
promote<T, U>::V FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >::operator() ( const int  N1) const

Definition at line 79 of file Tensor2_symmetric_times_Tensor1.hpp.

80  {
81  return eval(N1, Number<Dim>());
82  }
promote< T, U >::V eval(const int N1, const Number< Current_Dim > &) const

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim, char i, char j>
Tensor2_symmetric_Expr<A, T, Dim, j, i> FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >::iterA
private

Definition at line 58 of file Tensor2_symmetric_times_Tensor1.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim, char i, char j>
Tensor1_Expr<B, U, Dim, j> FTensor::Tensor2_symmetric_times_Tensor1_0< A, B, T, U, Dim, i, j >::iterB
private

Definition at line 59 of file Tensor2_symmetric_times_Tensor1.hpp.


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